discarded sections problems with g++-3.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils |
New
|
Undecided
|
Unassigned |
Bug Description
I have a linking problems with the current binutils in dapper (binutils 2.16.1cvs200601
After much head scratching I found that downgrading binutils to 2.15-5ubuntu2.2 fixes this issue, so it must have been introduced in newer versions.
[1] The project I am trying to compile doesn't work yet with g++ 4
Here is the output:
Making all in socmon
make[3]: Entering directory `/home/
/bin/sh ../../libtool --tag=CXX --mode=link g++-3.4 -g -O2 -L/usr/
g++-3.4 -shared -nostdlib /usr/lib/
`.L11493' referenced in section `.rodata' of .libs/viewSrv.o: defined in discarded section `.gnu.linkonce.
`.L11496' referenced in section `.rodata' of .libs/viewSrv.o: defined in discarded section `.gnu.linkonce.
`.L11498' referenced in section `.rodata' of .libs/viewSrv.o: defined in discarded section `.gnu.linkonce.
`.L11500' referenced in section `.rodata' of .libs/viewSrv.o: defined in discarded section `.gnu.linkonce.
`.L11502' referenced in section `.rodata' of .libs/viewSrv.o: defined in discarded section `.gnu.linkonce.
`.L11504' referenced in section `.rodata' of .libs/viewSrv.o: defined in discarded section `.gnu.linkonce.
`.L11506' referenced in section `.rodata' of .libs/viewSrv.o: defined in discarded section `.gnu.linkonce.
collect2: ld returned 1 exit status
make[3]: *** [libsocmon.la] Error 1
make[3]: Leaving directory `/home/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [all-recursive] Error 1