bug-guix
[Top][All Lists]
Advanced

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

Re: Linker error on installing gcc


From: Ludovic Courtès
Subject: Re: Linker error on installing gcc
Date: Mon, 22 Apr 2013 13:30:03 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux)

Chris Dale <address@hidden> 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’s no actual error message here.  Could you look for the full log
under /nix/var/log/nix/drvs, and check if there’s an error message
somewhere above?  (It may have been built with ‘make -jX’, 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’s what Guile ‘master’ calls itself,
but you’d rather use 2.0.9 or 2.0.7 for now.

That said it doesn’t explain the build problem above.

Thanks for your report!

Ludo’.



reply via email to

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