unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: ng0 <contact.ng0@cryptolab.net>
Cc: guix-devel@gnu.org
Subject: Re: No such file: LLVMgold.so while packaging ponyc
Date: Sun, 19 Feb 2017 12:56:25 +0100	[thread overview]
Message-ID: <871suu1jiu.fsf@elephly.net> (raw)
In-Reply-To: <20170217144413.steyscurxqm5zmms@wasp>


ng0 <contact.ng0@cryptolab.net> 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	other threads:[~2017-02-19 11:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 14:44 No such file: LLVMgold.so while packaging ponyc ng0
2017-02-19 11:56 ` Ricardo Wurmus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871suu1jiu.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).