Skip to contentSkip to conversation

PROBLEM: __buggy_fxsr_alignment error 2.4.1 and 2.4.2

DISCUSSION Kurt V. Hindenburg 3 participants 3 messages Feb 23, 2001

lore
Share & tools
lore
#0 lore raw

asm-i386:
init/main.o(.text.init+0x63): undefined reference to `__buggy_fxsr_alignment'

I don't recall this error in 2.4.0, but it is present in 2.4.1 and was not fixed in 2.4.2.

Quoted 1 line

sh scripts/ver_linux

-- Versions installed: (if some fields are empty or look -- unusual then possibly you have very old versions) Linux amdk7 2.4.1 #3 Sat Feb 3 18:50:44 EST 2001 i686 unknown

Kernel modules         2.4.1
Gnu C                  pgcc-2.95.2.1
Gnu Make               3.79.1
Binutils               2.10.1
Linux C Library        2.1.3
Dynamic linker         ldd: version 1.9.9
Procps                 2.0.7
Mount                  2.10q
Net-tools              1.57
Console-tools          0.2.3
Sh-utils               2.0
Modules Loaded         ppp_deflate bsd_comp ppp_async

Fix: Comment out line 217 in include/asm-i386/bugs.h
/* __buggy_fxsr_alignment(); */

It compiles after this change.

#1 lore raw
Quoted 24 lines · Kurt V. Hindenburg

asm-i386:
init/main.o(.text.init+0x63): undefined reference to `__buggy_fxsr_alignment'

I don't recall this error in 2.4.0, but it is present in 2.4.1 and was not fixed in 2.4.2.

Quoted 1 line

sh scripts/ver_linux

-- Versions installed: (if some fields are empty or look -- unusual then possibly you have very old versions) Linux amdk7 2.4.1 #3 Sat Feb 3 18:50:44 EST 2001 i686 unknown

Kernel modules         2.4.1
Gnu C                  pgcc-2.95.2.1
Gnu Make               3.79.1
Binutils               2.10.1
Linux C Library        2.1.3
Dynamic linker         ldd: version 1.9.9
Procps                 2.0.7
Mount                  2.10q
Net-tools              1.57
Console-tools          0.2.3
Sh-utils               2.0
Modules Loaded         ppp_deflate bsd_comp ppp_async
Quoted 4 lines

Fix: Comment out line 217 in include/asm-i386/bugs.h
/* __buggy_fxsr_alignment(); */

It compiles after this change.

That "bug" is there for a reason. Get a real compiler, then it will work OK. Compile that kernel with your compiler, your fix in place, and then try to run it on a PIII or later CPU and it will Oops all over the place. Run it on any CPU that supports FXSAVE and it will likely blow chunks (all the Intel CPUs will, but I don't know for sure about the AMD CPUs that support FXSAVE).

Signature · 3 lines
 Doug Ledford <[email protected]>  http://people.redhat.com/dledford
      Please check my web site for aic7xxx updates/answers before
                      e-mailing me about problems
#2 lore raw
In reply to Kurt V. Hindenburg
Quoted 6 lines · On 02.23 Kurt V. Hindenburg wrote:

asm-i386:
init/main.o(.text.init+0x63): undefined reference to `__buggy_fxsr_alignment'

I don't recall this error in 2.4.0, but it is present in 2.4.1 and was not fixed in 2.4.2.

Quoted 6 lines
Quoted 1 line

sh scripts/ver_linux

-- Versions installed: (if some fields are empty or look -- unusual then possibly you have very old versions) Linux amdk7 2.4.1 #3 Sat Feb 3 18:50:44 EST 2001 i686 unknown
Kernel modules 2.4.1
Gnu C pgcc-2.95.2.1

That is not a bug. That is there intentionally to catch broken compilers like yours.

Signature · 4 lines
J.A. Magallon                                                      $> cd pub
mailto:[email protected]                                          $> more beer

Linux werewolf 2.4.2-ac1 #2 SMP Fri Feb 23 02:34:42 CET 2001 i686