------- Additional Comments From ianw at gelato dot unsw dot edu dot au  
2005-12-11 23:16 -------
As you identified, the root cause does appear to be a slightly older strip. 
Using the CVS version doesn't create an object that makes ld segfault.

$ ld-cvs -shared -o test.so moc_qassistantclient-unstripped.o ./mainwindow.o

$ cp moc_qassistantclient-unstripped.o moc_qassistantclient.o

$ strip-cvs --version
GNU strip 2.16.91 20051208
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

$ strip-cvs -g ./moc_qassistantclient.o

$ ld-cvs -shared -o test.so moc_qassistantclient.o ./mainwindow.o

$ cp moc_qassistantclient-unstripped.o moc_qassistantclient.o

$ strip --version
GNU strip 2.16.91 20051206 Debian GNU/Linux
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

$ strip -g ./moc_qassistantclient.o

$ ld-cvs -shared -o test.so moc_qassistantclient.o ./mainwindow.o
Segmentation fault


-- 


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

------- 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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to