unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Hilton Chain via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Jonas <jonas@moesys.no>
Cc: 65461@debbugs.gnu.org
Subject: bug#65461: Cannot compile any Rust projects
Date: Wed, 23 Aug 2023 11:36:32 +0800	[thread overview]
Message-ID: <877cpm4egv.wl-hako@ultrarare.space> (raw)
In-Reply-To: <e06e1c13-b9c3-490b-9193-0f55e2164004@moesys.no>

Hi Jonas,

On Wed, 23 Aug 2023 06:59:14 +0800,
Jonas via Bug reports for GNU Guix wrote:
>
[...]
>    = note: ld: cannot find -lrt: No such file or directory
>            collect2: error: ld returned 1 exit status

librt has been integrated into libc since glibc 2.34.

gcc-toolchain:static should provide an empty library to satisfy the
linker:
--8<---------------cut here---------------start------------->8---
$ guix shell gcc-toolchain:static -- sh -c 'ls $GUIX_ENVIRONMENT/lib/librt*'
/gnu/store/8fv6xh7nyyb4hsi7b7p2s2ihpsj0lvs9-profile/lib/librt.a
--8<---------------cut here---------------end--------------->8---

Thanks




  reply	other threads:[~2023-08-23  3:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-22 22:59 bug#65461: Cannot compile any Rust projects Jonas via Bug reports for GNU Guix
2023-08-23  3:36 ` Hilton Chain via Bug reports for GNU Guix [this message]
2023-08-23 18:22   ` brian via Bug reports for GNU Guix
2023-08-24  2:08     ` Hilton Chain via Bug reports for GNU Guix
2023-08-25 11:03       ` Josselin Poiret via Bug reports for GNU Guix
2023-08-25 16:37         ` Josselin Poiret via Bug reports for GNU Guix
2023-08-25 12:58 ` Josselin Poiret via Bug reports for GNU Guix
2023-08-25 13:30   ` Jonas Møller via Bug reports for GNU Guix
2023-08-29 21:03     ` Maxim Cournoyer

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=877cpm4egv.wl-hako@ultrarare.space \
    --to=bug-guix@gnu.org \
    --cc=65461@debbugs.gnu.org \
    --cc=hako@ultrarare.space \
    --cc=jonas@moesys.no \
    /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).