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 #22 from Carlos O'Donell <carlos at redhat dot com> 2013-04-06 15:38:42 UTC ---
The final solution I'm going with is as follows:

- If configuring for i386-* then build for i686, since that's what the
distributions all want. Everyone is using i386-* to mean "generic 32-bit
support" instead of actually building for an i386. We issue a warning in the
configure phase to indicate we are building for i686.

- If the set of flags and options the user specified would cause __sync_*
builtins to become out-of-line function calls then fail the configure. This
would be the case of the user actually passed --march=i386 or --mtune=i386 *or*
the compiler defaults to i386 code generation. We can't support this
configuration, and the user asked for it, so we error out.

I did not implement Joseph's suggestion to add --march=i?86 if configuring for
i?86-*.

Either way this bug is now fixed since you will get either a configure error
(for a compiler that defaults to i386 code-gen and/or a set of flags that
request i386 code-gen), or a correct build (for a configured target of i386-*
you get i686 code being used).

-- 
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]