[LLVMbugs] [Bug 13996] New: Debug info causes linker error -- reloc against `.debug_str': error 2
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Oct 2 11:02:10 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13996
Bug #: 13996
Summary: Debug info causes linker error -- reloc against
`.debug_str': error 2
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chandlerc at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I was linking today with a bootstrap from last night and hit this:
FAILED: : && /home/chandlerc/bin/clang++ -fcolor-diagnostics -fPIC
-fvisibility-inlines-hidden -fno-rtti -g
tools/llc/CMakeFiles/llc.dir/llc.cpp.o -o bin/llc -rdynamic
lib/libLLVMARMCodeGen.a lib/lib
LLVMARMAsmParser.a lib/libLLVMARMDisassembler.a lib/libLLVMCellSPUCodeGen.a
lib/libLLVMCppBackendCodeGen.a lib/libLLVMHexagonCodeGen.a
lib/libLLVMMipsCodeGen.a lib/libLLVMMipsAsmParser.a lib/libLLVMMipsDi
sassembler.a lib/libLLVMMBlazeCodeGen.a lib/libLLVMMBlazeAsmParser.a
lib/libLLVMMBlazeDisassembler.a lib/libLLVMMSP430CodeGen.a
lib/libLLVMNVPTXCodeGen.a lib/libLLVMPowerPCCodeGen.a lib/libLLVMSparcCodeGe
n.a lib/libLLVMX86CodeGen.a lib/libLLVMX86AsmParser.a
lib/libLLVMX86Disassembler.a lib/libLLVMXCoreCodeGen.a lib/libLLVMBitReader.a
lib/libLLVMAsmParser.a lib/libLLVMARMDesc.a lib/libLLVMCellSPUDesc.a lib
/libLLVMCppBackendInfo.a lib/libLLVMHexagonAsmPrinter.a
lib/libLLVMHexagonDesc.a lib/libLLVMMipsDesc.a lib/libLLVMMBlazeDesc.a
lib/libLLVMMSP430Desc.a lib/libLLVMNVPTXDesc.a lib/libLLVMPowerPCDesc.a lib/l
ibLLVMSparcDesc.a lib/libLLVMX86Desc.a lib/libLLVMAsmPrinter.a
lib/libLLVMSelectionDAG.a lib/libLLVMXCoreDesc.a lib/libLLVMARMAsmPrinter.a
lib/libLLVMARMInfo.a lib/libLLVMCellSPUInfo.a lib/libLLVMHexagonI
nfo.a lib/libLLVMMipsAsmPrinter.a lib/libLLVMMipsInfo.a
lib/libLLVMMBlazeAsmPrinter.a lib/libLLVMMBlazeInfo.a
lib/libLLVMMSP430AsmPrinter.a lib/libLLVMMSP430Info.a
lib/libLLVMNVPTXAsmPrinter.a lib/libLLVM
NVPTXInfo.a lib/libLLVMPowerPCAsmPrinter.a lib/libLLVMPowerPCInfo.a
lib/libLLVMSparcInfo.a lib/libLLVMX86AsmPrinter.a lib/libLLVMX86Info.a
lib/libLLVMMCParser.a lib/libLLVMCodeGen.a lib/libLLVMXCoreInfo.a
lib/libLLVMX86Utils.a lib/libLLVMScalarOpts.a lib/libLLVMInstCombine.a
lib/libLLVMTransformUtils.a lib/libLLVMipa.a lib/libLLVMAnalysis.a
lib/libLLVMTarget.a lib/libLLVMCore.a lib/libLLVMMC.a lib/libLLVM
Object.a lib/libLLVMSupport.a -ldl -lpthread && :
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld:
lib/libLLVMMipsCodeGen.a(MipsDelaySlotFiller.cpp.o)(.debug_info+0x2000000002d1d5):
reloc against `.debug_str': error 2
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Nonrepresentable section on output
I'll attach the .o file in question as well as the .ii file, but a word of
caution: rebuilding, without syncing or anything, made this go away.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list