Summary: | glibc fails to compile .S files due to gcc defining __i686 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas <tg42> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | Augury, cedric.godin, slim, wbrana |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://sourceware.org/ml/libc-alpha/2006-04/msg00090.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Output of emerge --info
1130_all_glibc-2.4-undefine-__i686.patch |
Description
Thomas
2006-04-24 08:35:43 UTC
you forgot to post `emerge info` Created attachment 85386 [details]
Output of emerge --info
As you might see from the versions of the packages, this box is largely unfinished and yet to be set up completely. It is in fact a dual P-3 machine.
the question is, why doesnt this bug show up for a lot more people ... it's because .S files are not compiled with optimization flags (like -march=i686) so why is yours being optimized ? post the output of `emerge -v --info` please I have compiled gcc --with-arch=pentium3, so pentium3 is its default architecture and __i686 is always set, also when compiling .S files. I suppose, most people don't compile glibc with processor specific optimizations. > I suppose, most people don't compile glibc with processor specific
> optimizations.
no ... the glibc build system ignores optimizations for .S files since they dont really make any sense
Created attachment 85500 [details, diff]
1130_all_glibc-2.4-undefine-__i686.patch
try this instead ... seems to work for me
patch added to 2.4-r2 *** Bug 213077 has been marked as a duplicate of this bug. *** *** Bug 85450 has been marked as a duplicate of this bug. *** *** Bug 234381 has been marked as a duplicate of this bug. *** *** Bug 213077 has been marked as a duplicate of this bug. *** |