From mboxrd@z Thu Jan 1 00:00:00 1970 From: Svante Signell Subject: Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next? Date: Tue, 03 Sep 2019 23:46:43 +0200 Message-ID: References: <8736hjh7c7.fsf@elephly.net> <5c5233873e372138e82f5d52225e287ee1b86a38.camel@gmail.com> <53512769-C494-42BC-91C2-83B3F1586512@lepiller.eu> <9888a399c79968627aeeebe05419304eca155fd2.camel@gmail.com> <87k1aufiie.fsf@elephly.net> <18bb81c74e24323fb974bc5126a1b94094b3be71.camel@gmail.com> <87ftlifgcm.fsf@elephly.net> <32d67ecf3f8e43cd8d4607287d4c4b57380f47ef.camel@gmail.com> <87ef11fs9i.fsf@elephly.net> <30bdaa745f0a41617e0e81fc6bc63b1228dab729.camel@gmail.com> <60498ff6153c81ffa586c9088e35f2e403270827.camel@gmail.com> <45800d03ca1fab9f80bae932a9354f60f6c12a2d.camel@gmail.com> <5f5d2b063290517ff9619cf59398b700998b5a2b.camel@gmail.com> <875zm9h6yx.fsf@elephly.net> <62954aca574f56f1cb980b147fb4f3d8a492632c.camel@gmail.com> <22f1e536522d303a01dbdaac3dcd54360f09730a.camel@gmail.com> <87y2z5f4vs.fsf@elephly.net> Reply-To: svante.signell@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35912) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5GdX-0003SN-IQ for guix-devel@gnu.org; Tue, 03 Sep 2019 17:46:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5GdT-0007NQ-Nh for guix-devel@gnu.org; Tue, 03 Sep 2019 17:46:49 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:38128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i5GdR-0007BN-QU for guix-devel@gnu.org; Tue, 03 Sep 2019 17:46:47 -0400 Received: by mail-lf1-x12d.google.com with SMTP id c12so14139984lfh.5 for ; Tue, 03 Sep 2019 14:46:45 -0700 (PDT) In-Reply-To: <87y2z5f4vs.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel On Tue, 2019-09-03 at 23:26 +0200, Ricardo Wurmus wrote: > > What are the contents of /gnu/store/alzim8hg6zqvs9s33frh7m9z211lryk3- > bootstrap-binaries-0/bin/tar? Something strange: # ls -l /gnu/store/alzim8hg6zqvs9s33frh7m9z211lryk3-bootstrap-binaries- 0/bin/tar -r-xr-xr-x 2 root root 445560 Jan 1 1970 /gnu/store/alzim8hg6zqvs9s33frh7m9z211lryk3-bootstrap-binaries-0/bin/tar # file /gnu/store/alzim8hg6zqvs9s33frh7m9z211lryk3-bootstrap-binaries-0/bin/tar /gnu/store/alzim8hg6zqvs9s33frh7m9z211lryk3-bootstrap-binaries-0/bin/tar: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=6664753ff93e3b42aa8681d7fe0f7f9e5259c54f, stripped # ldd /gnu/store/alzim8hg6zqvs9s33frh7m9z211lryk3-bootstrap-binaries-0/bin/tar not a dynamic executable # /gnu/store/alzim8hg6zqvs9s33frh7m9z211lryk3-bootstrap-binaries-0/bin/tar -bash: /gnu/store/alzim8hg6zqvs9s33frh7m9z211lryk3-bootstrap-binaries-0/bin/tar: cannot execute binary file: Exec format error > > The main problem seem to be the cross-built binaries. Would it be possible > > to build these static binaries natively, maybe even using guix or in som > > other way?? > > We should figure out what’s wrong with them and then adjust the way > these binaries are built. It would not be useful to take binaries from > elsewhere because we want to be able to reproduce the build automatically. Again, can we build them natively on Hurd for testing purposes, either using native guix or not or cross-compiling from Linux with or without guix?