Bug#579685: llvm-2.7: FTBFS on kfreebsd-*: undefined references

Cyril Brulebois kibi at debian.org
Thu Apr 29 20:04:28 UTC 2010


Source: llvm-2.7
Version: 2.7-1
Severity: important
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

Hi,

your package doesn't build on kfreebsd-*, for example:
| llvm[3]: Linking Release-Asserts executable opt (without symbols)
| i486-kfreebsd-gnu-g++ -I/build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/include -I/build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/tools/opt -I/build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/include -I/build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/tools/opt  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEBIAN_INFO='" (Debian 2.7-1)"' -O2  -fno-exceptions -fPIC -Woverloaded-virtual     -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings  -O2 -Wl,-R -Wl,'$ORIGIN/../lib' -Wl,-R -Wl,/build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/Release-Asserts/bin -Wl,-export-dynamic -L/build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/Release-Asserts/lib -L/build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/Release-Asserts/lib  -o /build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2
 .7/build-llvm/Release-Asserts/bin/opt  /build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/tools/opt/Release-Asserts/AnalysisWrappers.o /build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/tools/opt/Release-Asserts/GraphPrinters.o /build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/tools/opt/Release-Asserts/PrintSCC.o /build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/tools/opt/Release-Asserts/opt.o  \
| 	-lLLVM-2.7   -lpthread -lffi -ldl -lm 
| /build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/tools/opt/Release-Asserts/AnalysisWrappers.o: In function `(anonymous namespace)::ExternalFunctionsPassedConstants::~ExternalFunctionsPassedConstants()':
| AnalysisWrappers.cpp:(.text+0xd1): undefined reference to `llvm::ModulePass::~ModulePass()'
| /build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/tools/opt/Release-Asserts/AnalysisWrappers.o: In function `(anonymous namespace)::CallGraphPrinter::~CallGraphPrinter()':
| AnalysisWrappers.cpp:(.text+0x101): undefined reference to `llvm::ModulePass::~ModulePass()'
| /build/buildd-llvm-2.7_2.7-1-kfreebsd-i386-FsCXC7/llvm-2.7-2.7/build-llvm/tools/opt/Release-Asserts/AnalysisWrappers.o: In function `(anonymous namespace)::ExternalFunctionsPassedConstants::~ExternalFunctionsPassedConstants()':
| AnalysisWrappers.cpp:(.text+0x136): undefined reference to `llvm::ModulePass::~ModulePass()'

There are many more issues:
  https://buildd.debian.org/status/package.php?p=llvm-2.7

Mraw,
KiBi.




More information about the Pkg-llvm-team mailing list