[Top][All Lists]

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

Re: Multilib support: running 32-bit binaries on 64-bit systems

From: Pierre Neidhardt
Subject: Re: Multilib support: running 32-bit binaries on 64-bit systems
Date: Sat, 23 Jun 2018 20:05:02 +0200
User-agent: mu4e 1.0; emacs 26.1

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 <address@hidden> 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/
to the container so that I don't need to `patchelf` the executable:

--8<---------------cut here---------------start------------->8---
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

address@hidden ~ [env]# file /lib64/
/lib64/ broken symbolic link to 
--8<---------------cut here---------------end--------------->8---

The strange thing is that the file
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: signature.asc
Description: PGP signature

reply via email to

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