From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Multilib support: running 32-bit binaries on 64-bit systems Date: Sat, 23 Jun 2018 20:05:02 +0200 Message-ID: <874lhtbcq9.fsf@gmail.com> References: <87o9ifit8x.fsf@gmail.com> <877ep3ibu3.fsf@netris.org> <87fu3riaad.fsf@gmail.com> <87vacn9pn5.fsf@fastmail.com> <877eox2dta.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWmuI-0000ux-Qv for help-guix@gnu.org; Sat, 23 Jun 2018 14:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWmuH-0008T2-VO for help-guix@gnu.org; Sat, 23 Jun 2018 14:05:06 -0400 In-reply-to: <877eox2dta.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Mark H Weaver , help-guix --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=C3=A8s writes: > In the meantime one can use =E2=80=98guix environment -C --expose=3D=E2= =80=A6=E2=80=99 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: =2D-8<---------------cut here---------------start------------->8--- PROFILE=3Dfoo guix package -p "$PROFILE" -i libstdc++ gcc:lib glibc guix environment -C \ --expose=3D$PROFILE/lib=3D/lib64 \ --expose=3D/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/y7siq9fr3dy= ccyaig94rpkqfimbiw35f-glibc-2.27/lib/ld-linux-x86-64.so.2 =2D-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? =2D-=20 Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlsui84ACgkQm9z0l6S7 zH8R0wf/Q5CmosgvU3ReZAFFEYgfE9vR7VHUm+cM5m3js2usJXjTo3rCj/e/L5v8 1OknR+jgNa7GJeURYv6N1fDHDqscWDYesEQLHdxoKe3t2yM0MfBkURUf3tJ5fGN2 /hDzIrWLZyuYkbzK4feIHo1NjHdfp1Vt4QVbBpN46qLOhz7+aBvHIPIvO7QyfA88 6dWh/cAUyr0giH8yIM4xBEU/tpK2N7YHb+vAkh4mDxn41Vg8eCOufEhBkznAYvoj +H9AzTzoI7qtrjmJJAQdxQQ2mOT/b5CDzdPiESKQEyYcdgGVHskh8V/VDLdvgSYy DR3iYZ4PKCtcLo8hr4WnDhpxGAoFIw== =mAQ5 -----END PGP SIGNATURE----- --=-=-=--