[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41038: gcc creates binaries that don't find their shared libraries
From: |
Ludovic Courtès |
Subject: |
bug#41038: gcc creates binaries that don't find their shared libraries |
Date: |
Sun, 03 May 2020 23:07:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Bruno Haible <address@hidden> skribis:
> $ guix install make gcc-toolchain binutils glibc gdb gettext m4 autoconf
> automake
It’s a mistake to explicitly binutils and glibc: they are provided by
‘gcc-toolchain’ along with an ‘ld’ wrapper that takes care of adding
entries to the RUNPATH of binaries:
https://guix.gnu.org/manual/en/html_node/Application-Setup.html#The-GCC-toolchain
‘binutils’ shadowed that wrapper. I admit what you did looks perfectly
legit at first sight and the failure mode isn’t great.
The fix is to run:
guix remove glibc binutils
Another way to do software development is with ‘guix environment’:
https://guix.gnu.org/manual/en/html_node/Development.html
For example, if you want to hack on Gettext, run:
guix environment gettext
That spawns a shell containing all the development tools and environment
variables to hack on gettext.
HTH!
Ludo’.
- bug#41038: gcc creates binaries that don't find their shared libraries, Bruno Haible, 2020/05/02
- bug#41038: gcc creates binaries that don't find their shared libraries,
Ludovic Courtès <=
- bug#41038: gcc creates binaries that don't find their shared libraries, Bruno Haible, 2020/05/03
- bug#41038: gcc creates binaries that don't find their shared libraries, zimoun, 2020/05/04
- bug#41038: gcc creates binaries that don't find their shared libraries, zimoun, 2020/05/04
- bug#41038: gcc creates binaries that don't find their shared libraries, Ludovic Courtès, 2020/05/04
- bug#41038: gcc creates binaries that don't find their shared libraries, zimoun, 2020/05/04
- bug#41038: gcc creates binaries that don't find their shared libraries, Ludovic Courtès, 2020/05/04
- bug#41038: [PATCH] doc: Reword "The GCC toolchain"., zimoun, 2020/05/06
- bug#41038: [PATCH] doc: Reword "The GCC toolchain"., zimoun, 2020/05/15
- bug#41038: [PATCH] doc: Reword "The GCC toolchain"., Nicolas Goaziou, 2020/05/15
- bug#41038: [PATCH] doc: Reword "The GCC toolchain"., zimoun, 2020/05/16