default target architecture not set

Mike Frysinger vapier@gentoo.org
Wed Mar 11 14:03:00 GMT 2009


On Wednesday 11 March 2009 10:06:48 JohnT wrote:
> Using tarballs from http://ftp.gnu.org/gnu/glibc/ on system: Mandriva
> 2006 Powerpack, i686, installed kernel 2.6.12, glibc 2.3.5, gcc 4.2.4,
> gettext 0.17, binutils 2.18, gmp 4.2.4, mpfr 2.31.
>
> I had problems building versions of glibc >= 2.6 and learned from someone
> that these versions don't seem to set the target architecture with a
> reasonable default such as the target system that is detected by the
> configure script. I haven't checked to see if the --with-cpu=CPU
> configuration setting works, but in versions prior to 2.6 the architecture
> defaulted to the target system's architecture. This isn't exactly a bug,
> but it certainly seems undocumented and puts people at a disadvantage in
> not knowing they must add either the --with-cpu=CPU setting or a compiler
> flag such as -march=i586.

you're going to have to be a little more specific (like actual commands run 
and actual errors seen).  people are building glibc-2.9 for i[456]86 targets 
seemingly without a problem.  i dont recall seeing any myself.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-help/attachments/20090311/79352c7e/attachment.sig>


More information about the Libc-help mailing list