Re: gold and shared objects with gcc 4.1.2

2009-01-16 Thread Roland Baumann
Hi Ian, this patch indeed fixes my problem. Thanks a lot. Actually, I am wondering whether it makes sense to use "-s" and "-shared" together. What information stays in the shared object that I am still able to link it? Roland Ian Lance Taylor wrote: Roland Baumann

Re: gold and shared objects with gcc 4.1.2

2009-01-15 Thread Roland Baumann
I compile this with: g++-4.1.2 -c test_shared.cc -o test_shared.o g++-4.1.2 -B -shared -s test_shared.o -o test_shared.so I'm not able to recreate this problem with either binutils 2.19 or with the development version. Can you post the output of your -shared command line with the -v option?

gold and shared objects with gcc 4.1.2

2009-01-14 Thread Roland Baumann
Hi, I have a problem with gcc 4.1.2 and the gold linker (from binutils 2.19). We build shared objects with options "-s" and "-shared" together. This leads to assertions in the gold linker. In most cases I see .../gold/real-ld: internal error in get_output_view, at ...src/binutils-2.19/gold/ou

gold: Missing options -u

2008-04-07 Thread Roland Baumann
-- Dr. Roland Baumann Staff Software Engineer CoWare, Inc.Tel: +49(0)241-943788137 Grüner Weg 1Fax: +49(0)241-943788131 52070 Aachen

Link error when building gold with gcc-3.4.4

2008-04-07 Thread Roland Baumann
oland -- Dr. Roland Baumann Staff Software Engineer CoWare, Inc.Tel: +49(0)241-943788137 Grüner Weg 1Fax: +49(0)241-943788131