delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2001/05/06/14:35:49

Date: Sun, 6 May 2001 20:35:26 +0200
From: Marc Lehmann <pcg AT goof DOT com>
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
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

On Sun, May 06, 2001 at 06:40:06PM +0200, Dirk Aust <dirk_aust AT gmx DOT de> 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                       |
                                                         |

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019