From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Linker error on installing gcc Date: Mon, 22 Apr 2013 13:30:03 +0200 Message-ID: <87obd6vm4k.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUEww-0003x4-UM for bug-guix@gnu.org; Mon, 22 Apr 2013 07:30:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUEwn-0001cw-2p for bug-guix@gnu.org; Mon, 22 Apr 2013 07:30:22 -0400 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=47124 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUEwm-0001Us-Rj for bug-guix@gnu.org; Mon, 22 Apr 2013 07:30:12 -0400 In-Reply-To: (Chris Dale's message of "Sun, 21 Apr 2013 15:27:37 -0500") 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: Chris Dale Cc: bug-guix@gnu.org Chris Dale skribis: > /nix/store/9fnjjsbarscbmakr44ixfv9yhg6z12mw-glibc-2.17/include/bits/fcntl= -linux.h:305:17: > warning: ISO C forbids zero-size array 'f_handle' [-pedantic] > gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wno-narrowing > -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros > -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common > -DHAVE_CONFIG_H -o lto1 \ > lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o main.o tree-browser.o > libbackend.a libcommon-target.a libcommon.a ../libcpp/libcpp.a > ../libdecnumber/libdecnumber.a > -L/tmp/nix-build-gcc-4.7.2.drv-0/build/./gmp/.libs > -L/tmp/nix-build-gcc-4.7.2.drv-0/build/./mpfr/src/.libs > -L/tmp/nix-build-gcc-4.7.2.drv-0/build/./mpc/src/.libs -lmpc -lmpfr -lgmp > -rdynamic -ldl -L../zlib -lz libcommon.a ../libcpp/libcpp.a > ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a > collect2: error: ld returned 1 exit status > make[3]: *** [lto1] Error 1 There=E2=80=99s no actual error message here. Could you look for the full = log under /nix/var/log/nix/drvs, and check if there=E2=80=99s an error message somewhere above? (It may have been built with =E2=80=98make -jX=E2=80=99, = so the output is intermingled.) > x86_64 architecture Normally it should be using pre-compiled binaries from hydra.gnu.org by default. What do you have in /nix/var/nix/substitute-binary/cache? > GUILE v2.1.0 That version does not exist; that=E2=80=99s what Guile =E2=80=98master=E2= =80=99 calls itself, but you=E2=80=99d rather use 2.0.9 or 2.0.7 for now. That said it doesn=E2=80=99t explain the build problem above. Thanks for your report! Ludo=E2=80=99.