From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: Initial cross-compilation support Date: Wed, 22 May 2013 00:54:43 +0400 Message-ID: <877gis3vfw.fsf@karetnikov.org> References: <87txoxv7x9.fsf@gnu.org> <201303031726.08488.andreas@enge.fr> <8738wcyxs7.fsf@gnu.org> <87wqsrrho3.fsf@karetnikov.org> <878v57r6f4.fsf@gnu.org> <87boa38cj8.fsf@karetnikov.org> <87y5d7w3j5.fsf@gnu.org> <8738vf6kll.fsf@karetnikov.org> <877gkqo7w7.fsf@gnu.org> <87hajtq4xe.fsf@karetnikov.org> <87a9plc2cu.fsf@gnu.org> <874nftzwr0.fsf@karetnikov.org> <87ehd1qw2z.fsf@gnu.org> <87wqqsdvd9.fsf@karetnikov.org> <874ndwhzfy.fsf@gnu.org> <874ndwm69t.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UetXB-0000MN-0U for bug-guix@gnu.org; Tue, 21 May 2013 16:51:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UetX3-0001La-3v for bug-guix@gnu.org; Tue, 21 May 2013 16:51:48 -0400 In-Reply-To: <874ndwm69t.fsf@karetnikov.org> (Nikita Karetnikov's message of "Wed, 22 May 2013 00:23:26 +0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org --=-=-= Content-Transfer-Encoding: quoted-printable >> I was expecting a patch that uses the right triplet and any other tricks >> we discussed so that glibc & co. get built for N64. Do you have >> anything like that? > Well, I'm trying the diff from this message [1] now. > [1] https://lists.gnu.org/archive/html/bug-guix/2013-03/msg00154.html Here is the error (the same as before [1]): # ./pre-inst-env guix build -K gcc-cross-mips64el-linux-gnuabi64 cd /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv-0/build && a= r cruv libc_pic.a `cat csu/stamp.os iconv/stamp.os locale/stamp.os localeda= ta/stamp.os=20 [...] a - elf/dl-iteratephdr.os a - elf/dl-addr.os a - elf/dl-profstub.os a - elf/dl-libc.os a - elf/dl-sym.os a - elf/dl-tsd.os a - elf/unwind-dw2-fde-glibc.os a - elf/framestate.os a - elf/unwind-pe.os mips64el-linux-gnuabi64-gcc -mabi=3D64 -nostdlib -nostartfiles -r -o /tmp= /nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv-0/build/libc_pic.os= \ -Wl,-d -Wl,--whole-archive /tmp/nix-build-glibc-cross-mips64el-linux-gnuab= i64-2.17.drv-0/build/libc_pic.a -o /tmp/nix-build-glibc-cross-mips64el-linu= x-gnuabi64-2.17.drv-0/build/libc_pic.os mips64el-linux-gnuabi64-gcc -mabi=3D64 -nostdlib -nostartfiles -r -o /tmp= /nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv-0/build/elf/librtld= .map.o '-Wl,-(' /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv= -0/build/elf/dl-allobjs.os /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi= 64-2.17.drv-0/build/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/tmp/nix-build-glibc= -cross-mips64el-linux-gnuabi64-2.17.drv-0/build/elf/librtld.mapT /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv-0/build/libc_pi= c.a: could not read symbols: Archive has no index; run ranlib to add one collect2: error: ld returned 1 exit status make[2]: *** [/tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv-0= /build/elf/librtld.map] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/tmp/nix-build-glibc-cross-mips64el-linux-gnuab= i64-2.17.drv-0/glibc-2.17/elf' make[1]: *** [elf/subdir_lib] Error 2 make[1]: Leaving directory `/tmp/nix-build-glibc-cross-mips64el-linux-gnuab= i64-2.17.drv-0/glibc-2.17' make: *** [all] Error 2 phase `build' failed after 242 seconds note: keeping build directory `/tmp/nix-build-glibc-cross-mips64el-linux-gn= uabi64-2.17.drv-0' builder for `/nix/store/ihz2xz813l8y8a8325312r59ad6k7h60-glibc-cross-mips64= el-linux-gnuabi64-2.17.drv' failed with exit code 1 @ build-failed /nix/store/ihz2xz813l8y8a8325312r59ad6k7h60-glibc-cross-mips= 64el-linux-gnuabi64-2.17.drv - 1 builder for `/nix/store/ihz2xz813l8y8a8325= 312r59ad6k7h60-glibc-cross-mips64el-linux-gnuabi64-2.17.drv' failed with ex= it code 1 cannot build derivation `/nix/store/zc7kxmvc8ij4rcga5hvv69mk9z6pbq51-gcc-cr= oss-mips64el-linux-gnuabi64-4.7.3.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/nix/store/zc7kxmvc8ij4rcga5hvv6= 9mk9z6pbq51-gcc-cross-mips64el-linux-gnuabi64-4.7.3.drv' failed # objdump -a /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv-0/= build/libc_pic.a | grep 'file format' | head init-first.os: file format elf64-little libc-start.os: file format elf64-little sysdep.os: file format elf64-little version.os: file format elf64-little check_fds.os: file format elf64-little dso_handle.os: file format elf64-little unwind-resume.os: file format elf64-little errno.os: file format elf64-little errno-loc.os: file format elf64-little iconv_open.os: file format elf64-little [1] https://lists.gnu.org/archive/html/bug-guix/2013-03/msg00155.html --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRm98WAAoJEM+IQzI9IQ38liQQAJ5HQkKl/oKQp/ep0iNNEJs9 0oMcOywKKLpDdEg78d88cG5omfgAyeDYR8e3sCJnRT0133euhDkT5UuEELPM/mag MdNkUqjILnCDZ+xbqqe7FNQQ0lKJPRbwNJB+9JBWqxUsTUUHk3sBRmASL8RyFpZI iQflfjtrWdnXAeZNJ2GxKkeV4oBPlTqi4oJlVJYHMHPxA3dErRDygwBnRgjAKM2Y LGDdKPUK95KZH/eTSs8LcVstzgOlBm0ZMIGGV2F+wv9jgXGm2h3KKZvA/U7InlrV PYWLWWxJYIQ/iAq39Xwb5Nl1zI1GlriiTh/ktSSsMKoBAxLaT8zRzMq2JiXWoGok ow/A3x3ZdQey6AS3vzjjUPHN5eQSkwyQeI6H2Wqt7PNsvUbJifWseEWiWQIzcO59 N+aRcrTDLPhFCmuaNRcXOQlGy5bOyxosuBTgWzAwygZl8z66idrecGWKt8sc6bOP +kPOvwFBtUFZyRwdVac2vnH6WrxsLGgN8/9ojc+MlPnK5TaQqRmifL8QyPX4Bnch WeO+YEm74VWUR9Vj2ZkuUlr0DEEpYy9USXkMisQ2ySGja1dJAWlfFOBcKSJVMhiN RIBSolCORybxuaCXqUsuqn5U0AEnJsEtPcdT65Xvzngc9tESQWYzoW08PLnJqjw6 vWFN1LbZb+K6CLVxoyyT =kFIp -----END PGP SIGNATURE----- --=-=-=--