unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Chris Dale <adventureonthehighseas@gmail.com>
Cc: bug-guix@gnu.org
Subject: Re: Linker error on installing gcc
Date: Mon, 22 Apr 2013 13:30:03 +0200	[thread overview]
Message-ID: <87obd6vm4k.fsf@gnu.org> (raw)
In-Reply-To: <CANV_ih-RP4sQAzyDZizbF+6M+QYKpMqx=-Ly0jn36bTvOKE+Ag@mail.gmail.com> (Chris Dale's message of "Sun, 21 Apr 2013 15:27:37 -0500")

Chris Dale <adventureonthehighseas@gmail.com> 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	other threads:[~2013-04-22 11:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-21 20:27 Linker error on installing gcc Chris Dale
2013-04-22 11:30 ` Ludovic Courtès [this message]
2013-04-22 11:43   ` Chris Dale
2013-04-22 11:53     ` Ludovic Courtès
2013-04-22 12:27       ` Chris Dale
2013-04-22 16:21         ` Ludovic Courtès
     [not found]           ` <CANV_ih9jw=ua2eh5+g9D8WR=9WEF233b6TnAcBBFuFRZymcwzA@mail.gmail.com>
2013-04-22 21:50             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87obd6vm4k.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=adventureonthehighseas@gmail.com \
    --cc=bug-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).