This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/411] gcc defines __i686 macro, causing problems in sysdeps/i386/elf/setjmp.S


------- Additional Comments From jsberg04+computing dot glibc at ftml dot net  2005-04-15 20:29 -------
Created an attachment (id=458)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=458&action=view)
Patch to make it work on NPTL build

I upgraded to kernel 2.6.11.7 and built a nptl glibc (2.3.5 release).  Turns
out the old patch didn't fix things with NPTL.	Things seem to work with this
patch.	Note that I removed the #define from sysdep.h and instead made the
#define's more narrowly targeted.  Also, unstead of #undef'ing __i686, I
defined it to itself as suggested by a message I found on a mailing list
somewhere.

I realized that I'm getting __i686 defined because I configured my gcc-3.4.3
build with --with-cpu=pentium3 --with-arch=pentium3 --with-tune=pentium3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #219 is|0                           |1
           obsolete|                            |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=411

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]