Package: libllvm-3.0-ocaml-dev
Version: 3.0-9
Severity: normal

--- Please enter the report below this line. ---

When running
#use "topfind"
#require "llvm-3_0"

the toplevel complain about not available functions:

Error: The external function `llvm_global_succ' is not available

This is due to problems with linking informations in the cma:

$ ocamlobjinfo /usr/lib/ocaml/llvm-3.0/llvm.cma
File llvm.cma
Force custom: YES
Extra C object files: -lllvm -lpthread -lffi -ldl -lm -lLLVMCore
-lLLVMSupport
-L/build/buildd-llvm-3.0_3.0-9-amd64-KImibc/llvm-3.0-3.0/build-llvm/Release/lib
Extra C options:
Extra dynamically-loaded libraries:

There are missing link informations:
 -lstdc++ in "Extra C object files:"
 and for -lllvm in "Extra dynamically-loaded libraries:"

Moreover, there is no reason for having:
-L/build/buildd-llvm-3.0_3.0-9-amd64-KImibc/llvm-3.0-3.0/build-llvm/Release/lib

--- System information. ---
Architecture: amd64
Kernel: Linux 3.2.0-2-amd64

Debian Release: wheezy/sid
500 unstable ftp.crans.org
500 testing ftp.crans.org
500 stable ftp.crans.org
1 experimental ftp.crans.org

--- Package information. ---
Depends (Version) | Installed
===============================-+-===========
ocaml-nox-3.12.1 |
llvm-3.0-dev (= 3.0-9) | 3.0-9


Package's Recommends field is empty.

Suggests (Version) | Installed
===========================-+-===========
llvm-3.0-doc |

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to