From: Pierre Neidhardt <ambrevar@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Mark H Weaver <mhw@netris.org>, help-guix <help-guix@gnu.org>
Subject: Re: Multilib support: running 32-bit binaries on 64-bit systems
Date: Sat, 23 Jun 2018 20:05:02 +0200 [thread overview]
Message-ID: <874lhtbcq9.fsf@gmail.com> (raw)
In-Reply-To: <877eox2dta.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]
Hi again, sorry for the long silence :p
I've been tinkering around this issue today but I face two problems:
1. With `guix environment`:
Ludovic Courtès <ludo@gnu.org> writes:
> In the meantime one can use ‘guix environment -C --expose=…’ to expose
> directories as /bin and the likes.
I've been trying to do that, say, to expose /lib64/ld-linux-x86-64.so.2
to the container so that I don't need to `patchelf` the executable:
--8<---------------cut here---------------start------------->8---
PROFILE=foo
guix package -p "$PROFILE" -i libstdc++ gcc:lib glibc
guix environment -C \
--expose=$PROFILE/lib=/lib64 \
--expose=/gnu/store/y7siq9fr3dyccyaig94rpkqfimbiw35f-glibc-2.27 \
libstdc++ gcc:lib glibc \
--ad-hoc bash\
-- bash
ambrevar@hostname ~ [env]# file /lib64/ld-linux-x86-64.so.2
/lib64/ld-linux-x86-64.so.2: broken symbolic link to /gnu/store/y7siq9fr3dyccyaig94rpkqfimbiw35f-glibc-2.27/lib/ld-linux-x86-64.so.2
--8<---------------cut here---------------end--------------->8---
The strange thing is that the file
/gnu/store/y7siq9fr3dyccyaig94rpkqfimbiw35f-glibc-2.27/lib/ld-linux-x86-64.so.2
exists in the container.
Am I missing something?
2. 32-bit profile
Marius mentioned the possibility to create a 32-bit profile. How does
one do that?
`guix package --install` does not support the --system or --target options.
Is it possible possible to install and arbitrary store item?
--
Pierre Neidhardt
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2018-06-23 18:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-19 6:51 Multilib support: running 32-bit binaries on 64-bit systems Pierre Neidhardt
2018-04-19 7:36 ` 宋文武
2018-04-19 13:07 ` Mark H Weaver
2018-04-19 13:40 ` Pierre Neidhardt
2018-04-19 15:34 ` Marius Bakke
2018-04-24 8:45 ` Ludovic Courtès
2018-06-23 18:05 ` Pierre Neidhardt [this message]
2018-04-24 8:46 ` Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lhtbcq9.fsf@gmail.com \
--to=ambrevar@gmail.com \
--cc=help-guix@gnu.org \
--cc=ludo@gnu.org \
--cc=mhw@netris.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.