Bug#501704: Linking with llvm 2.3 fails with undefined reference to llvm::verifyFunction

Patrick Boettcher patrick.boettcher at desy.de
Thu Oct 9 17:40:37 UTC 2008


Package: llvm
Version: 2.3-1~exp0
Severity: important

Linking my binary which is using LLVM as follows:

g++ `llvm-config --ldflags` `llvm-config --libs` -o compile $^

fails like that:

undefined reference to `llvm::verifyFunction(llvm::Function const&,
llvm::VerifierFailureAction)'

greping for verifyFunction in /usr/lib/llvm find nothing in the .a or .o
files.

When building an AST I think it is common to use verifyFunction (though
not 100% sure) that's why I marked this one as important.

Patrick.

-- System Information:
Debian Release: lenny/sid
   APT prefers testing
   APT policy: (900, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages llvm depends on:
ii  binfmt-support                1.2.11     Support for extra binary formats
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.2-1  GCC support library
ii  libstdc++6                    4.3.2-1    The GNU Standard C++ Library v3

Versions of packages llvm recommends:
ii  llvm-dev                      2.3-1~exp0 common libraries and headers for L

Versions of packages llvm suggests:
pn  llvm-doc                      <none>     (no description available)

-- no debconf information






More information about the Pkg-llvm-team mailing list