during build a large c++ appliction based on stlport/boost linker reports:

/local/devel/toolchain43/x86_64-gnu-linux/bin/x86_64-gnu-linux-g++ \
-Wl,-rpath-link,/local/devel/toolchain43/x86_64-gnu-linux/x86_64-gnu-linux/lib64
 
\
-Wl,--hash-style=both -Wl,--gc-sections -z defs \
-Wl,-rpath-link,../../buildenv/linux/gcc-4.3/64/X11/lib64 \
-o ../../build-stlport-debug-x86_64-gnu-linux/dvm \
obj-stlport-debug-x86_64-gnu-linux/BDMFramework.o \
obj-stlport-debug-x86_64-gnu-linux/DVMFramework.o \
obj-stlport-debug-x86_64-gnu-linux/Framework.o \
obj-stlport-debug-x86_64-gnu-linux/MainApp.o \
obj-stlport-debug-x86_64-gnu-linux/main.o \
obj-stlport-debug-x86_64-gnu-linux/FrameworkApplicationMode.o \
-L../../build-stlport-debug-x86_64-gnu-linux -nodefaultlibs \
-Wl,-rpath,. -Wl,-rpath-link,../../build-stlport-debug-x86_64-gnu-linux \
-ldebugtools -Wl,--as-needed -Wl,--start-group \
-ldef -lTclAccess -lCreator -lControl -lDvmLicense -lLM2S -lThreadEngine -leh 
-lau 
\
-L../../buildenv/linux/gcc-4.3/64/boost-stlport-1.37.0/lib64 \
-Wl,-Bstatic -lboost_filesystem-stlg -lboost_system-stlg \
-Wl,-Bdynamic -lci -L../../buildenv/linux/gcc-4.3/64/boost-stlport-1.37.0/lib64 
\
-Wl,-Bstatic -lboost_filesystem-stlg -lboost_system-stlg -lboost_date_time-stlg 
\
-lboost_program_options-stlg -lboost_regex-stlg -lboost_serialization-stlg \
-lboost_thread-stlg -Wl,-Bdynamic  -lbacktracexx -lVCM \
../../buildenv/linux/gcc-4.3/64/tcltk-8.4.19/lib64/libtcl8.4.a \
-lLogLibrary 
../../buildenv/linux/gcc-4.3/64/STLport-5.2.1/lib64/libstlportstlg.a 
\
-lpthread \
/local/devel/toolchain43/x86_64-gnu-linux.host64/lib64/gcc/x86_64-gnu-linux/4.3.1/libgcc_eh.a
 
\
/local/devel/toolchain43/x86_64-gnu-linux.host64/lib64/gcc/x86_64-gnu-linux/4.3.1/libgcc.a
 
\
/local/devel/toolchain43/x86_64-gnu-linux.host64/lib64/gcc/x86_64-gnu-linux/4.3.1/../../../../x86_64-gnu-linux/lib/../lib64/libsupc++.a
 
\
-ldl -lm -Wl,--end-group -Wl,--no-as-needed -lc
../../build-stlport-debug-x86_64-gnu-linux/libControl.a: could not read 
symbols: Bad value
collect2: ld returned 1 exit status

these debug binaries were built with -O0 -gdwarf-2 -g2 -D_STLP_DEBUG=1
release binaries (-O2 -g0) link fine.

-- 
           Summary: link-failure: could not read symbols: Bad value
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: pluto at agmk dot net
                CC: bug-binutils at gnu dot org
GCC target triplet: x86_64-gnu-linux


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

------- 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
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to