Date: Sun, 6 May 2001 20:35:26 +0200 From: Marc Lehmann To: pgcc AT delorie DOT com Subject: Re: file asm/bugs.h in kernel 2.4.4 Message-ID: <20010506203526.B25150@cerebro.laendle> Mail-Followup-To: pgcc AT delorie DOT com References: <3AF57A45 DOT 1548B9D4 AT gmx DOT de> <3AF57B98 DOT 3C49CEA7 AT valinux DOT com> <3AF57E66 DOT 42E93EC2 AT gmx DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3AF57E66.42E93EC2@gmx.de>; from dirk_aust@gmx.de on Sun, May 06, 2001 at 06:40:06PM +0200 X-Operating-System: Linux version 2.2.19 (root AT cerebro) (gcc version 2.95.2.1 19991024 (release)) Reply-To: pgcc AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, May 06, 2001 at 06:40:06PM +0200, Dirk Aust wrote: > While making the kernel 2.4.4 I encountered the problem that the > function __buggy_fxsr_alignment() should be provided by the compiler No, this symbol is undefined because it should never be referenced in actual code. Since pgcc does not honour the alignment attribute in structs the same way gcc does this symbol gets referenced. It means that the fxsr struct is misaligned (becauzse of compiler bugs ;). Instead of crashing at runtime the kernel checks for this. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |