Re: __buggy_fxsr_alignment() not found.

From: Michael Frank
Date: Sun Feb 29 2004 - 12:56:23 EST


On Sun, 29 Feb 2004 20:02:12 +0300 (MSK), Igor Yu. Zhbanov <bsg@xxxxxxxxxxxx> wrote:

Hello!
My system is:
AMD K6-II 450
Linux-2.4.24
glibc-2.2.5

I cannot compile 2.4.24 kernel because linker says:
init/main.o: In function `check_fpu':
init/main.o(.text.init+0x53): undefined reference to `__buggy_fxsr_alignment'

It's prototype is in inculude/asm-i386/bugs.h:
-----
/* Enable FXSR and company _before_ testing for FP problems. */
/*
* Verify that the FXSAVE/FXRSTOR data will be 16-byte aligned.
*/
if (offsetof(struct task_struct, thread.i387.fxsave) & 15) {
extern void __buggy_fxsr_alignment(void);
__buggy_fxsr_alignment();
-----
But there is no realisation of this function in source files.
When I comment the lines above, everything works.

Please CC to Reply-to.


Please post your .config

Regards
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/