> Now, the interesting part. I also built gcc 4.0.2 on > sparc-sun-solaris2.6. If I compile the "hello world" program on it > (obviously it will be 32-bit), it runs just fine (prints hello world in > endless loop). If I copy the executable to Solaris 2.9 system and run > it, it exits immediately.
Please make sure every bit of the hacked GMP has been wiped out on Solaris 9. > Hmph... Interesting... Looks like the problem is in libgfortran? I don't know of any such problem with libgfortran on SPARC/Solaris. > Should I file bug on bugzilla? Sure, if you can reproduce it after cleaning up the Solaris 9 machine. -- Eric Botcazou