guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No such file: LLVMgold.so while packaging ponyc


From: Ricardo Wurmus
Subject: Re: No such file: LLVMgold.so while packaging ponyc
Date: Sun, 19 Feb 2017 12:56:25 +0100
User-agent: mu4e 0.9.18; emacs 25.1.1

ng0 <address@hidden> writes:

> A while ago I started packaging ponylang's compiler "ponyc", which can
> be found here (https://pagure.io/guix-dev/branch/package/langs/ponyc).
> For your convinience this is also attached as a .patch file.
>
> It seems as if it requires the LLVMgold.so file, at least [0]
> and my own errors are telling me this.
>
> We do not provide the LLVMgold.so file. This could be similar to the
> package definition rust has.
>
>   Linking libponyc
>   ar: 
> /gnu/store/cdi08kw7r6r684w8mk0xq0dkgpjhfpmd-gcc-4.9.4-lib/lib/LLVMgold.so: 
> cannot open shared object file: No such file or directory
>   ... (lots of similar errors)

It’s not clear to me why it wants to use the LLVM linker, but looking at
the patch you override a lot of variables that might lead to behaviour
like this.

It looks for LLVMgold in GCC’s lib directory, which is clearly wrong.
Maybe you can convince it to use the GCC toolchain’s linker.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]