This is the mail archive of the gcc-bugs@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]

Binaries compiled with gcc-2.95.2 won't execute.




This bug seems really weird.

I did compile cfengine 1.5.3 using :

Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
gcc version 2.95.2 19991024 (release)

This gcc was compiled on a Sparc 20 running Solaris 2.6 (latest
recommended patches).

The compilation of cfengine took place on the same machine.

The configure options are:
./configure --prefix=/usr/local/packages/cfengine
--sysconfdir=/usr/local/etc/cfengine --localstatedir=/var/adm/cfengine

When I tried to execute the binaries resulting from the compilation,
this is what I obtain:

>./cfengine 
./cfengine: Exec format error. Binary file not executable.

I obtain this error on every machine running either 2.6 or 2.7 and which
are Sparc 20 or lower.

The same binary will work however of a Sparc Ultra-1 and higher...

Thanks in advance for your help.

Best regards, Didier CONTIS.


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