[Bug build/10062] 'make' for glibc-2.9 fails even though 'configure' is OK

joseph at codesourcery dot com sourceware-bugzilla@sourceware.org
Wed Feb 22 21:13:00 GMT 2012


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.



More information about the Glibc-bugs mailing list