This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Binaries compiled with gcc-2.95.2 won't execute.
- To: bug-cfengine at gnu dot org
- Subject: Binaries compiled with gcc-2.95.2 won't execute.
- From: Didier CONTIS <didier at ece dot gatech dot edu>
- Date: Wed, 29 Dec 1999 16:27:08 -0500
- CC: bug-gcc at gnu dot org
- Organization: Georgia Tech / School of ECE
- Reply-To: didier at ece dot gatech dot edu
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.