This is the mail archive of the glibc-bugs@sourceware.org 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 build/10062] 'make' for glibc-2.9 fails even though 'configure' is OK


http://sourceware.org/bugzilla/show_bug.cgi?id=10062

--- Comment #20 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-02-22 21:12:32 UTC ---
FWIW, my inclination would be to refine that solution: if the compiler 
generates out-of-line __sync_* calls, but we are building for an i486-* 
triplet, add -march=i486 automatically (likewise i586-*, i686-*; use 
-march=i686 also for i786-* which glibc accepts as well), and only give 
the error if the configuration is i386-* *and* the compiler generates 
out-of-line calls for __sync_* operations.

The sysdeps directories for i486 etc. have assembly sources that use i486 
etc.-specific instructions, so adding -march like that (if glibc would 
otherwise fail to build) is safe.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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