bug-guix
[Top][All Lists]
Advanced

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

Linker error on installing gcc


From: Chris Dale
Subject: Linker error on installing gcc
Date: Sun, 21 Apr 2013 15:27:37 -0500

/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
make[3]: Leaving directory `/tmp/nix-build-gcc-4.7.2.drv-0/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/tmp/nix-build-gcc-4.7.2.drv-0/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/tmp/nix-build-gcc-4.7.2.drv-0/build'
make: *** [all] Error 2
phase `build' failed after 977 seconds
builder for `/nix/store/law6yjqidyqb7qy1vd3n3vqhd9413gay-gcc-4.7.2.drv' failed with exit code 1
@ build-failed /nix/store/law6yjqidyqb7qy1vd3n3vqhd9413gay-gcc-4.7.2.drv /nix/store/lwc6sygaglzfk17v3w15cc2xv97fjgci-gcc-4.7.2 1 builder for `/nix/store/law6yjqidyqb7qy1vd3n3vqhd9413gay-gcc-4.7.2.drv' failed with exit code 1
cannot build derivation `/nix/store/7b51j955338q2kxj3ssvly0i2pw20z7q-hello-2.8.drv': 1 dependencies couldn't be built
error: build failed: build of `/nix/store/7b51j955338q2kxj3ssvly0i2pw20z7q-hello-2.8.drv' failed
1442 operations
--------
x86_64 architecture

installing gcc as a dependency

guix package -i hello

GUILE v2.1.0

GUIX branch master, v.2

Thanks!
[Chris] Dale

reply via email to

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