This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[2.95.3] Bad i586 code ?


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

-- 
 Rodrigo Barbosa (morcego)         - rodrigob at conectiva.com.br
 Conectiva R&D Team                - http://distro.conectiva.com.br
 "Quis custodiet ipsos custodiet?" - http://www.conectiva.com

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]