Bug#518476: please build llvm with --with-pic --enable-pic

Matthias Klose doko at cs.tu-berlin.de
Fri Mar 6 13:21:16 UTC 2009


Package: llvm
Tags: patch

please build llvm with --with-pic --enable-pic, this is needed to
build the Shark JVM. The JVM's within OpenJDK are built as .so objects
which are dlopened at runtime.

  * Configure --with-pic --enable-pic.

diff -u llvm-2.4/debian/rules llvm-2.4/debian/rules
--- llvm-2.4/debian/rules
+++ llvm-2.4/debian/rules
@@ -42,6 +42,7 @@
 confargs_gcc    := $(confargs)
 
 confargs_llvm += \
+       --with-pic --enable-pic \
        --prefix=$(PF)
 
 confargs_gcc  += \





More information about the Pkg-llvm-team mailing list