[LLVMbugs] [Bug 16305] New: llvm-config --libs dumps core

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 12 06:04:09 PDT 2013


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

            Bug ID: 16305
           Summary: llvm-config --libs dumps core
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-config
          Assignee: unassignedbugs at nondot.org
          Reporter: devel at fresse.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

SD=/var/scratch/freundt/src/devel/llvm/tools/opt; \
  DD=opt; \
  if [ ! -f $SD/Makefile ]; then \
    SD=opt; \
    DD=opt; \
  fi; \
  if ([ ! -f $DD/Makefile ] || \
            command test $DD/Makefile -ot \
                      $SD/Makefile ); then \
  /var/scratch/freundt/src/devel/llvm/autoconf/mkinstalldirs $DD; \
  /bin/cp $SD/Makefile $DD/Makefile; \
fi; \
make -C $DD all
llvm-config:
/var/scratch/freundt/src/devel/llvm/include/llvm/ADT/StringRef.h:78:
llvm::StringRef::StringRef(const char*): Assertion `Str && "StringRef cannot be
built from a NULL argument"' failed.
/bin/sh: line 1: 14669 Aborted                 (core dumped)
/var/scratch/freundt/src/devel/llvm/build/Debug+Asserts/bin/llvm-config --libs
bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts
ipo vectorize all-targets
make[2]: Entering directory
`/var/scratch/freundt/src/devel/llvm/build/tools/opt'
/var/scratch/freundt/src/devel/llvm/Makefile.rules:1057: *** llvm-config --libs
failed.  Stop.

$ gdb /var/scratch/freundt/src/devel/llvm/build/Debug+Asserts/bin/llvm-config
core
$ bt
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7fff36bfe000
Core was generated by
`/var/scratch/freundt/src/devel/llvm/build/Debug+Asserts/bin/llvm-config
--libs'.
Program terminated with signal 6, Aborted.
#0  0x00002b7f275b1ab5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00002b7f275b1ab5 in raise () from /lib64/libc.so.6
#1  0x00002b7f275b2fb6 in abort () from /lib64/libc.so.6
#2  0x00002b7f275aa385 in __assert_fail () from /lib64/libc.so.6
#3  0x000000000040643f in llvm::StringRef::StringRef(char const*) () at
/var/scratch/freundt/src/devel/llvm/include/llvm/ADT/StringRef.h:78
#4  0x0000000000404a35 in ComputeLibsForComponents(std::vector<llvm::StringRef,
std::allocator<llvm::StringRef> > const&, std::vector<llvm::StringRef,
std::allocator<llvm::StringRef> >&, bool) ()
    at
/var/scratch/freundt/src/devel/llvm/tools/llvm-config/llvm-config.cpp:103
#5  0x000000000040604a in main () at
/var/scratch/freundt/src/devel/llvm/tools/llvm-config/llvm-config.cpp:328

-- 
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/20130612/e2af4f3d/attachment.html>


More information about the llvm-bugs mailing list