This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/10062] 'make' for glibc-2.9 fails even though 'configure' is OK
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 22 Feb 2012 21:12:32 +0000
- Subject: [Bug build/10062] 'make' for glibc-2.9 fails even though 'configure' is OK
- Auto-submitted: auto-generated
- References: <bug-10062-131@http.sourceware.org/bugzilla/>
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.