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

2009-06-02 Thread Patrick Boettcher

Hi Giridhar,

On Fri, 29 May 2009, Y Giridhar Appaji Nag wrote:


Hi Patrick,

On 08/10/09 19:40 +0200, Patrick Boettcher said ...

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)'


Unfortunately, you raised this bug on 2.3-1~exp0 which is no longer in the
archive.  I noticed that 2.5 does have llvm::verifyFunction.  Would you be
able to re-test this and report back?


Actually it would quite an effort, because we are no longer using any 
packaged llvm. :(


This is because (at least for the time being) on the frontend-part can be 
used as a library. If you writing a backend and if you're adding 
intrinsics you need to handle llvm yourself to keep binary compatibility 
on the IR level and this is what we're doing now...


Sorry,
Patrick.

--
  Mail: patrick.boettc...@desy.de
  WWW:  http://www.wi-bw.tfh-wildau.de/~pboettch/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2009-05-28 Thread Y Giridhar Appaji Nag
Hi Patrick,

On 08/10/09 19:40 +0200, Patrick Boettcher said ...
 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)'

Unfortunately, you raised this bug on 2.3-1~exp0 which is no longer in the
archive.  I noticed that 2.5 does have llvm::verifyFunction.  Would you be
able to re-test this and report back?

Thanks

Giridhar

-- 
Y Giridhar Appaji Nag | http://appaji.net/


signature.asc
Description: Digital signature


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

2008-10-09 Thread Patrick Boettcher

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-support1.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++64.3.2-1The 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




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]