------- Additional Comments From tiamat at komi dot mts dot ru  2007-02-19 
12:35 -------
I have the same problem:
binutils 2.17 build on sparc-sun-solaris2.9 with gcc 4.1.2
Host: SunOS samba 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V210

GNU strip corrupts any binaies builded with Sun Studio 11 cc/CC:

$ cat a.c
int main(){}

Solaris strip work fine:
$ /opt/SUNWspro/bin/cc a.c
$ ls -la a.out
-rwxr-xr-x   1 devel    devel       6516 Feb 19 15:29 a.out
$ /usr/ccs/bin/strip a.out
$ ls -la a.out
-rwxr-xr-x   1 devel    devel       4380 Feb 19 15:31 a.out
$ ./a.out

But GNU strip corrupt this binary:
$ /opt/SUNWspro/bin/cc a.c
$ ls -la a.out
-rwxr-xr-x   1 devel    devel       6516 Feb 19 15:31 a.out
$ /usr/local/bin/strip a.out
$ ls -la a.out
-rwxr-xr-x   1 devel    devel     203932 Feb 19 15:32 a.out
$ ./a.out
Killed

Thanks a lot!

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3535

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to