Binaries compiled with gcc-2.95.2 won't execute.

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu Dec 30 02:04:00 GMT 1999


> This is a "feature" of solaris/sparc. Compilation and portability do
> not commute. You should compile on the oldest architecture you have
> if you want the result to run on every host. Not all solaris/sparc
> chips are architecturally compatible. The same applies with any program,
> but you can't always tell which programs are going to fail. It has to
> do with library calls, and changes in OS etc etc...

But why does it say "exec format error" then? I'd expect a bus error,
for illegal instructions, but not that...

Regards,
Martin


More information about the Gcc-bugs mailing list