Bug#794563: iwyu: FTBFS[kfreebsd-*]: undefined reference to `dladdr'

Steven Chamberlain steven at pyro.eu.org
Tue Aug 4 12:57:00 UTC 2015


Package: iwyu
Version: 3.5-1
Severity: important

Hi

iwyu 3.5-1 FTBFS on kfreebsd-*:

https://buildd.debian.org/status/fetch.php?pkg=iwyu&arch=kfreebsd-amd64&ver=3.5-1&stamp=1434455305
| /usr/bin/c++    -fno-rtti -std=c++11   CMakeFiles/include-what-you-use.dir/iwyu.cc.o CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o  -o include-what-you-use  -L/usr/lib/llvm-3.5/lib  -lclangFrontend -lclangSerialization -lclangDriver -lclangParse -lclangSema -lclangAnalysis -lclangAST -lclangBasic -lclangEdit -lclangLex -lLLVMX86AsmParser -lLLVMX86Desc -lLLVMX86AsmPrinter -lLLVMX86Info -lLLVMX86Utils -lLLVMipo -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMOption -lLLVMMCParser -lLLVMMC -lLLVMObject -lLLVMBitReader -lLLVMCore -lLLVMSupport -lpthread -lz -lcurses -lform -Wl,-rpath,/usr/lib/llvm-3.5/lib: 
| /usr/lib/llvm-3.5/lib/libLLVMSupport.a(Signals.o): In function `llvm::sys::PrintStackTrace(_IO_FILE*)':
| (.text._ZN4llvm3sys15PrintStackTraceEP8_IO_FILE+0x84): undefined reference to `dladdr'
| /usr/lib/llvm-3.5/lib/libLLVMSupport.a(Signals.o): In function `llvm::sys::PrintStackTrace(_IO_FILE*)':
| (.text._ZN4llvm3sys15PrintStackTraceEP8_IO_FILE+0x1a5): undefined reference to `dladdr'

I'll take a look into it sometime;  seems it is probably missing -ldl
or similar.

Thanks.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Pkg-llvm-team mailing list