This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Do not report build errors in bugzilla
On Tue, Aug 17, 2004 at 04:35:32PM -0400, Paul Jarc wrote:
> >> There's also the __i686 macro defined by gcc
> ...
> > In fact, I don't know what you are talking about.
>
> Passing -march=i686 makes gcc implicitly define __i686 to 1, but some
> of glibc's assembly code uses __i686 without expecting it to be a
> macro. I think this is the least disruptive change to handle it:
>
> http://sources.redhat.com/ml/libc-alpha/2002-10/msg00157.html
>
> More threads:
> http://sources.redhat.com/ml/libc-alpha/2003-05/msg00125.html
> http://sources.redhat.com/ml/libc-alpha/2003-01/msg00119.html
No, those reports were bogus. I know this because one of them was from me.
It turned out to be broken tools at my end (I'd hacked my GCC). Building
with -march=i686 indeed works fine when using non-broken tools. If ever in
doubt, just see how the pros do it eg: study the RH or FC spec files. Or
come and help us over at http://www.diy-linux.org/ where we'll attempt to
document correct technique and best practice.
Regards
Greg