[gold] "entry in mergeable string section not null terminated"

Peter Baumann waste.manager@gmx.de
Wed Mar 18 13:20:00 GMT 2009


Hallo,

I'm getting the following error using gold as linker:


g++  -rdynamic -Wl,-rpath,/opt/private/lib -Wl,-rpath,/home/peter/g/trunk/host/source/src -shared -Wl,-soname,libapplicationcomponents-debug.so.1 -o libapplicationcomponents-debug.so.1.0.0    -L/opt/private/lib -lShiny -L/opt/private/lib -Wl,--whole-archive -L/home/peter/g/trunk/host/source/src/ApplicationComponents/AnatomicProgram -lApplicationComponents_AnatomicProgram-debug -L/home/peter/g/trunk/host/source/src/ApplicationComponents/Database -lApplicationComponents_Database-debug -L/home/peter/g/trunk/host/source/src/ApplicationComponents/Dicom -lApplicationComponents_Dicom-debug -L/home/peter/g/trunk/host/source/src/ApplicationComponents/ImagingSystem -lApplicationComponents_ImagingSystem-debug -L/home/peter/g/trunk/host/source/src/ApplicationComponents/OperationMode -lApplicationComponents_OperationMode-debug -L/home/peter/g/trunk/host/source/src/ApplicationComponents/Other -lApplicationComponents_Other-debug -L/home/peter/g/trunk/host/source/src/ApplicationComponents/Subtraction -lApplicationComponents_Subtraction-debug -Wl,--no-whole-archive -lACE -lasound -lboost_filesystem-mt -lboost_program_options-mt -lboost_serialization-mt -lboost_system-mt -lcom_err -lext2fs -lGraphicsMagick++ -llog4cplus -ldcmdata -ldcmdsig -ldcmimgle -ldcmnet -ldcmpstat -ldcmqrdb -ldcmsr -ldcmtls -lofstd -lxml2 -lpthread -lsigc-2.0 -lz -lQtDBus -lQtScript -lQtSql -lQtXml -lQtGui -lQtCore -lQtDesigner -lpthread
/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: error: /home/peter/g/trunk/host/source/src/ApplicationComponents/AnatomicProgram/libApplicationComponents_AnatomicProgram-debug.a(APr.o): entry in mergeable string section not null terminated
[... a lot more of those errors in other object files]


This is with gold as /usr/bin/ld. If I use regualar ld, the link proceeds as intented.
What is it supposed to tell me?

Greetings,
Peter Baumann

PS: I'm not subscribed, so pls. Cc me!



More information about the Binutils mailing list