[LLVMbugs] [Bug 15175] New: llvm/Debug+Asserts/lib/libLLVMNVPTXAsmPrinter.a: could not read symbols: Archive has no index; run ranlib to add one

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 6 01:20:06 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=15175

            Bug ID: 15175
           Summary: llvm/Debug+Asserts/lib/libLLVMNVPTXAsmPrinter.a: could
                    not read symbols: Archive has no index; run ranlib to
                    add one
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: devel at fresse.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

tools/opt in r174496 won't build:

make[2]: Entering directory `/var/scratch/freundt/src/devel/llvm/tools/opt'
llvm[2]: Linking Debug+Asserts executable opt
/usr/bin/g++ -I/var/scratch/freundt/src/devel/llvm/include
-I/var/scratch/freundt/src/devel/llvm/tools/opt  -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g
-fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fPIC
-Woverloaded-virtual -Wcast-qual  -g -Wl,-R -Wl,'$ORIGIN/../lib' -Wl,-R
-Wl,/var/scratch/freundt/src/devel/llvm/Debug+Asserts/bin -Wl,-export-dynamic
-L/var/scratch/freundt/src/devel/llvm/Debug+Asserts/lib
-L/var/scratch/freundt/src/devel/llvm/Debug+Asserts/lib    -pedantic
-Wno-long-long -Wno-nested-anon-types -Wall -W -Wno-unused-parameter
-Wwrite-strings   -Wno-uninitialized  -Wno-missing-field-initializers  -o
/var/scratch/freundt/src/devel/llvm/Debug+Asserts/bin/opt 
/var/scratch/freundt/src/devel/llvm/tools/opt/Debug+Asserts/AnalysisWrappers.o
/var/scratch/freundt/src/devel/llvm/tools/opt/Debug+Asserts/GraphPrinters.o
/var/scratch/freundt/src/devel/llvm/tools/opt/Debug+Asserts/PrintSCC.o
/var/scratch/freundt/src/devel/llvm/tools/opt/Debug+Asserts/opt.o  \
-lLLVMHexagonCodeGen -lLLVMHexagonDesc -lLLVMHexagonInfo
-lLLVMHexagonAsmPrinter -lLLVMNVPTXCodeGen -lLLVMNVPTXDesc -lLLVMNVPTXInfo
-lLLVMNVPTXAsmPrinter -lLLVMMBlazeDisassembler -lLLVMMBlazeCodeGen
-lLLVMMBlazeDesc -lLLVMMBlazeAsmPrinter -lLLVMMBlazeAsmParser -lLLVMMBlazeInfo
-lLLVMCppBackendCodeGen -lLLVMCppBackendInfo -lLLVMMSP430CodeGen
-lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMSP430AsmPrinter
-lLLVMXCoreDisassembler -lLLVMXCoreCodeGen -lLLVMXCoreDesc -lLLVMXCoreInfo
-lLLVMXCoreAsmPrinter -lLLVMMipsDisassembler -lLLVMMipsCodeGen
-lLLVMMipsAsmParser -lLLVMMipsDesc -lLLVMMipsInfo -lLLVMMipsAsmPrinter
-lLLVMARMDisassembler -lLLVMARMCodeGen -lLLVMARMAsmParser -lLLVMARMDesc
-lLLVMARMInfo -lLLVMARMAsmPrinter -lLLVMAArch64Disassembler
-lLLVMAArch64CodeGen -lLLVMAArch64AsmParser -lLLVMAArch64Desc -lLLVMAArch64Info
-lLLVMAArch64AsmPrinter -lLLVMAArch64Utils -lLLVMPowerPCCodeGen
-lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMPowerPCAsmPrinter -lLLVMSparcCodeGen
-lLLVMSparcDesc -lLLVMSparcInfo -lLLVMX86Disassembler -lLLVMX86AsmParser
-lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser
-lLLVMCodeGen -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils
-lLLVMipo -lLLVMVectorize -lLLVMObjCARCOpts -lLLVMScalarOpts -lLLVMInstCombine
-lLLVMInstrumentation -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis
-lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMAsmParser -lLLVMBitWriter
-lLLVMBitReader -lLLVMCore -lLLVMSupport   -lpthread -lrt -ldl -lm 
/var/scratch/freundt/src/devel/llvm/Debug+Asserts/lib/libLLVMNVPTXAsmPrinter.a:
could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[2]: *** [/var/scratch/freundt/src/devel/llvm/Debug+Asserts/bin/opt] Error
1
make[2]: Leaving directory `/var/scratch/freundt/src/devel/llvm/tools/opt'

shell> ar t
/var/scratch/freundt/src/devel/llvm/Debug+Asserts/lib/libLLVMNVPTXAsmPrinter.a
NVPTXInstPrinter.o

shell> file NVPTXInstPrinter.o 
NVPTXInstPrinter.o: setuid ELF 64-bit LSB relocatable, x86-64, version 1
(SYSV), not stripped

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130206/932567a1/attachment.html>


More information about the llvm-bugs mailing list