* Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment'
@ 2001-01-31 22:12 Matt Yourst
2001-01-31 22:16 ` Brian Gerst
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Matt Yourst @ 2001-01-31 22:12 UTC (permalink / raw)
To: linux-kernel
Hi,
I just tried to compile 2.4.1 and I'm getting the error "undefined
reference to `__buggy_fxsr_alignment'" when trying to do the final
link. It looks like this check was something 2.4.1 added to
include/asm-i386/bugs.h to fail the kernel build if part of the thread
structure wasn't aligned on a 16-byte boundary (which seems to make
sense given FXSR's alignment requirements.) When was this check added?
I assumed it was a bug in 2.4.0 that was just recently discovered, but
I didn't see anything in the ChangeLog to that effect.
The problem is that I don't know how to fix it (at least not reliably
and cleanly.) I tried rearranging the fields in the task structure,
but the alignment still wasn't right. I did apply a few non-standard
patches that expanded the task structure, but the additional fields
came well after the task's struct thread (which was causing the
alignment problem.) FYI, I'm compiling with pgcc 2.95.2 and linking
with binutils/ld 2.10 (I've used both of these successfully for
countless kernel compiles before this.)
Anyone else had this problem?
- Matt Yourst
-------------------------------------------------------------
Matt T. Yourst Massachusetts Institute of Technology
yourst@mit.edu 617.225.7690
513 French House - 476 Memorial Drive - Cambridge, MA 02139
-------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment'
2001-01-31 22:12 Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment' Matt Yourst
@ 2001-01-31 22:16 ` Brian Gerst
2001-01-31 22:18 ` Alan Cox
2001-01-31 23:06 ` Shawn Starr
2 siblings, 0 replies; 6+ messages in thread
From: Brian Gerst @ 2001-01-31 22:16 UTC (permalink / raw)
To: Matt Yourst; +Cc: linux-kernel
Matt Yourst wrote:
>
> Hi,
>
> I just tried to compile 2.4.1 and I'm getting the error "undefined
> reference to `__buggy_fxsr_alignment'" when trying to do the final
> link. It looks like this check was something 2.4.1 added to
> include/asm-i386/bugs.h to fail the kernel build if part of the thread
> structure wasn't aligned on a 16-byte boundary (which seems to make
> sense given FXSR's alignment requirements.) When was this check added?
> I assumed it was a bug in 2.4.0 that was just recently discovered, but
> I didn't see anything in the ChangeLog to that effect.
>
> The problem is that I don't know how to fix it (at least not reliably
> and cleanly.) I tried rearranging the fields in the task structure,
> but the alignment still wasn't right. I did apply a few non-standard
> patches that expanded the task structure, but the additional fields
> came well after the task's struct thread (which was causing the
> alignment problem.) FYI, I'm compiling with pgcc 2.95.2 and linking
> with binutils/ld 2.10 (I've used both of these successfully for
> countless kernel compiles before this.)
>
> Anyone else had this problem?
>
> - Matt Yourst
>
What GCC version did you compile with?
--
Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment'
2001-01-31 22:12 Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment' Matt Yourst
2001-01-31 22:16 ` Brian Gerst
@ 2001-01-31 22:18 ` Alan Cox
2001-01-31 23:06 ` Shawn Starr
2 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2001-01-31 22:18 UTC (permalink / raw)
To: Matt Yourst; +Cc: linux-kernel
> reference to `__buggy_fxsr_alignment'" when trying to do the final
Dont use pgcc 2.95, at least until they fix that 8)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment'
@ 2001-01-31 23:04 Gian Piero Sala
0 siblings, 0 replies; 6+ messages in thread
From: Gian Piero Sala @ 2001-01-31 23:04 UTC (permalink / raw)
To: linux-kernel
Matt Yourst wrote:
>
> Hi,
>
> I just tried to compile 2.4.1 and I'm getting the error "undefined
> reference to `__buggy_fxsr_alignment'" when trying to do the final
> link. It looks like this check was something 2.4.1 added to
> include/asm-i386/bugs.h to fail the kernel build if part of the thread
> structure wasn't aligned on a 16-byte boundary (which seems to make
> sense given FXSR's alignment requirements.) When was this check added?
> I assumed it was a bug in 2.4.0 that was just recently discovered, but
> I didn't see anything in the ChangeLog to that effect.
>
> The problem is that I don't know how to fix it (at least not reliably
> and cleanly.) I tried rearranging the fields in the task structure,
> but the alignment still wasn't right. I did apply a few non-standard
> patches that expanded the task structure, but the additional fields
> came well after the task's struct thread (which was causing the
> alignment problem.) FYI, I'm compiling with pgcc 2.95.2 and linking
> with binutils/ld 2.10 (I've used both of these successfully for
> countless kernel compiles before this.)
>
> Anyone else had this problem?
I have the *same* problem.
I'm using pgcc-2.95.2.1 & binutils 2.10.1 with glibc-2.2.1.
Previous kernels compiled pretty well.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment'
2001-01-31 22:12 Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment' Matt Yourst
2001-01-31 22:16 ` Brian Gerst
2001-01-31 22:18 ` Alan Cox
@ 2001-01-31 23:06 ` Shawn Starr
2001-02-01 6:52 ` Matt Yourst
2 siblings, 1 reply; 6+ messages in thread
From: Shawn Starr @ 2001-01-31 23:06 UTC (permalink / raw)
To: Matt Yourst; +Cc: linux-kernel
pgcc borks 2.4.1 kernel and prereleases (sadly I found this out the same
way).
Shawn.
Matt Yourst wrote:
> Hi,
>
> I just tried to compile 2.4.1 and I'm getting the error "undefined
> reference to `__buggy_fxsr_alignment'" when trying to do the final
> link. It looks like this check was something 2.4.1 added to
> include/asm-i386/bugs.h to fail the kernel build if part of the thread
> structure wasn't aligned on a 16-byte boundary (which seems to make
> sense given FXSR's alignment requirements.) When was this check added?
> I assumed it was a bug in 2.4.0 that was just recently discovered, but
> I didn't see anything in the ChangeLog to that effect.
>
> The problem is that I don't know how to fix it (at least not reliably
> and cleanly.) I tried rearranging the fields in the task structure,
> but the alignment still wasn't right. I did apply a few non-standard
> patches that expanded the task structure, but the additional fields
> came well after the task's struct thread (which was causing the
> alignment problem.) FYI, I'm compiling with pgcc 2.95.2 and linking
> with binutils/ld 2.10 (I've used both of these successfully for
> countless kernel compiles before this.)
>
> Anyone else had this problem?
>
> - Matt Yourst
>
> -------------------------------------------------------------
> Matt T. Yourst Massachusetts Institute of Technology
> yourst@mit.edu 617.225.7690
> 513 French House - 476 Memorial Drive - Cambridge, MA 02139
> -------------------------------------------------------------
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment'
2001-01-31 23:06 ` Shawn Starr
@ 2001-02-01 6:52 ` Matt Yourst
0 siblings, 0 replies; 6+ messages in thread
From: Matt Yourst @ 2001-02-01 6:52 UTC (permalink / raw)
Cc: linux-kernel
I used regular gcc 2.95.2 and it compiled and linked without problems.
Thanks.
Shawn Starr wrote:
>
> pgcc borks 2.4.1 kernel and prereleases (sadly I found this out the same
> way).
>
> Shawn.
> Matt Yourst wrote:
>
> > Hi,
> >
> > I just tried to compile 2.4.1 and I'm getting the error "undefined
> > reference to `__buggy_fxsr_alignment'" when trying to do the final
> > link. It looks like this check was something 2.4.1 added to
> > include/asm-i386/bugs.h to fail the kernel build if part of the thread
> > structure wasn't aligned on a 16-byte boundary (which seems to make
> > sense given FXSR's alignment requirements.) When was this check added?
> > I assumed it was a bug in 2.4.0 that was just recently discovered, but
> > I didn't see anything in the ChangeLog to that effect.
>...
-------------------------------------------------------------
Matt T. Yourst Massachusetts Institute of Technology
yourst@mit.edu 617.225.7690
513 French House - 476 Memorial Drive - Cambridge, MA 02139
-------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-02-01 6:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-31 22:12 Compiling 2.4.1: undefined reference to `__buggy_fxsr_alignment' Matt Yourst
2001-01-31 22:16 ` Brian Gerst
2001-01-31 22:18 ` Alan Cox
2001-01-31 23:06 ` Shawn Starr
2001-02-01 6:52 ` Matt Yourst
-- strict thread matches above, loose matches on Subject: below --
2001-01-31 23:04 Gian Piero Sala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox