bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/3535] GNU strip 2.17 corrupts Sun CC/cc binaries (ld issue


From: tiamat at komi dot mts dot ru
Subject: [Bug binutils/3535] GNU strip 2.17 corrupts Sun CC/cc binaries (ld issue?)
Date: 19 Feb 2007 12:35:23 -0000

------- 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]