This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: [Craig Metz <cmetz@inner.net>] libc/1184: Latest glibc + toolchain can't really build 386 lib
- To: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Subject: Re: [Craig Metz <cmetz@inner.net>] libc/1184: Latest glibc + toolchain can't really build 386 lib
- From: Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
- Date: Thu, 01 Jul 1999 19:35:48 -0400
- cc: libc-alpha Mailinglist <libc-alpha@sourceware.cygnus.com>, Craig Metz <cmetz@inner.net>
Andreas Jaeger <aj@arthur.rhein-neckar.de> said:
> We've received the append bug report. Any ideas what's broken here?
[CFLAGS -m386 on an i686 gives programs that SIGILL on i386]
The problem is that -m386 schedules for a i386, but generates native code
(i686 in the case discussed here); you need -march=i386 (generate code for
i386, and schedule for it too). BTW, -m386 is deprecated.
That's what the info on gcc-2.95 pre (19990629) says, at least. I don't
know that this has changed in quite some time.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile +56 32 672616