[2.95.3] Bad i586 code ?

Rodrigo Barbosa (aka morcego) rodrigob@conectiva.com.br
Tue Apr 10 15:12:00 GMT 2001


Something wierd is happening here, and I would like to know if anyone
else can duplicate it.

Kernel 2.4, gcc 2.95.3, glibc 2.2.3pre2

In this environment, when I compile glibc with -march=i586, the resulting
library gives me "Illegal instruction" when installed on a i586 machine
(tested on Pentium and AMD K6-2). When I use it on a i686 machine, it
works correctly. The library genarated with -march=i386 and -march=i686
works as expected.

The only testcase I have is glibc.

Just want to know if anyone else has had any experience like this.

Tkx

-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE604VQn5NdOMMM/nERAjgDAJ0XL71794tamV62BHHAX13GuPWovQCgpv0S
JKlfwq7Q/wgaiOPWv9Z1l/w=
=FW9b
-----END PGP SIGNATURE-----


More information about the Gcc mailing list