PROBLEM: __buggy_fxsr_alignment error 2.4.1 and 2.4.2
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · you
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 7 lines
Gnu C pgcc-2.95.2.1
Fix: Comment out line 217 in
include/asm-i386/bugs.h
/*__buggy_fxsr_alignment(); */It compiles after this change.
[I'm not on the mailing list but do read it via usenet, can't post though]
As pointed out by Doug Ledford your kernel will surely oops when you reboot. I have an Athlon and use AthlonGCC (pgcc-2.95.3 with patches). I didn't want to go back to regular gcc but I fixed my problem anyway and so far kernels from 2.4.1 to 2.4.2 run just fine.
The first fix was uncommenting in bugs.h as you did. Not sure if it was proper but I did the whole section. :-) I may retry it with just the last part commented out.
/* if (offsetof(struct task_struct, thread.i387.fxsave) & 15) {
extern void __buggy_fxsr_alignment(void);
__buggy_fxsr_alignment();
} */The problem is this fxsr thing. I found the following in arch/i386/kernel/setup.c (line 150):
static int disable_x86_fxsr __initdata = 0;
I changed the 0 to 1 (to disable x86_fxsr) and so far the kernels have given me no problems.
Since apparently we're using buggy compilers no doubt this workaround may be frowned upon. At least for me it works.
Quoted 1 line
Quoted 1 line
ANIME SENSHI<<
Marc D. Williams
[email protected]
http://www.oldskool.org/~tvdog/ -- DOS Internet & Tandy 1000
http://www.geocities.com/SiliconValley/Platform/8269/ -- Win3.x Makeover