Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 85500 Details for
Bug 131108
glibc fails to compile .S files due to gcc defining __i686
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1130_all_glibc-2.4-undefine-__i686.patch
1130_all_glibc-2.4-undefine-__i686.patch (text/plain), 1.31 KB, created by
SpanKY
on 2006-04-25 16:22:58 UTC
(
hide
)
Description:
1130_all_glibc-2.4-undefine-__i686.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2006-04-25 16:22:58 UTC
Size:
1.31 KB
patch
obsolete
>If gcc is configured to generate i686 code or better by default (like >when using the --with-arch=pentium3 configure option), then the __i686 >macro will always be defined automatically and thus screw up the >compilation of some .S files. >http://bugs.gentoo.org/131108 > >2006-04-25 Mike Frysinger <vapier@gentoo.org> > > * sysdeps/i386/sysdep.h (__i686): Undefine. > >--- sysdeps/i386/sysdep.h >+++ sysdeps/i386/sysdep.h >@@ -17,6 +17,14 @@ > Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA > 02111-1307 USA. */ > >+/* >+ * When building for i686 targets or better, gcc automatically defines >+ * '__i686' to '1' for us which causes trouble when using section names >+ * like '__i686.get_pc_thunk.reg'. Since we check for __i686__ in the >+ * code, killing '__i686' shouldn't be a problem. >+ */ >+#undef __i686 >+ > #include <sysdeps/generic/sysdep.h> > > #ifdef __ASSEMBLER__ > >2006-04-25 Mike Frysinger <vapier@gentoo.org> > > * sysdeps/pthread/pt-initfini.c: Include sysdep.h. > >--- nptl/sysdeps/pthread/pt-initfini.c >+++ nptl/sysdeps/pthread/pt-initfini.c >@@ -45,6 +45,9 @@ > /* Embed an #include to pull in the alignment and .end directives. */ > asm ("\n#include \"defs.h\""); > >+/* Embed an #include to pull in asm settings. */ >+asm ("\n#include <sysdep.h>"); >+ > /* The initial common code ends here. */ > asm ("\n/*@HEADER_ENDS*/"); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131108
:
85386
| 85500