unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: core-updates frozen
Date: Wed, 18 Jun 2014 22:23:58 +0200	[thread overview]
Message-ID: <878uouuftt.fsf@gnu.org> (raw)
In-Reply-To: <87sin2yxxx.fsf@yeeloong.lan> (Mark H. Weaver's message of "Wed, 18 Jun 2014 12:39:06 -0400")

Hi, Mark,

Thanks for testing!

Mark H Weaver <mhw@netris.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>> Unfortunately, the MIPS box for Hydra is currently off-line, so I don’t
>> have any feedback.  It would be great if you could start building the
>> branch.
>
> I tried building 'hello' with v0.6-389-g1319cfe and got as far as gawk,
> which failed its test suite with the following log tail:
>
> ======== Done with tests that can vary based on character set or locale support ========
> ======== Starting shared library tests ========
> make[2]: Entering directory '/tmp/nix-build-gawk-4.1.1.drv-0/gawk-4.1.1/test'
> fnmatch
> ./fnmatch.ok _fnmatch differ: char 1, line 1
> Makefile:3631: recipe for target 'fnmatch' failed
> make[2]: [fnmatch] Error 1 (ignored)

‘configure’ says:

--8<---------------cut here---------------start------------->8---
checking whether the gcc linker (/gnu/store/ipphmvaf5f4r34wz4jnwhn4pif7x1x5p-ld-wrapper-boot3-0/bin/ld -m elf) supports shared libraries... ld: unrecognised emulation mode: elf
Supported emulations: elf32ltsmipn32 elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
--8<---------------cut here---------------end--------------->8---

And on x86_64:

--8<---------------cut here---------------start------------->8---
checking whether the gcc linker (/gnu/store/w0y0axy55gqpk52vf07vrz92g8ib7ssx-ld-wrapper-boot3-0/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
--8<---------------cut here---------------end--------------->8---

This check comes from libtool.m4.  It has specific cases for other
platforms, but not mips*-*gnu:

--8<---------------cut here---------------start------------->8---
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
case $host in
[...]
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  # Find out which ABI we are using.
  echo 'int i;' > conftest.$ac_ext
  if AC_TRY_EVAL(ac_compile); then
    case `/usr/bin/file conftest.o` in
      *32-bit*)
	case $host in
	  x86_64-*kfreebsd*-gnu)
	    LD="${LD-ld} -m elf_i386_fbsd"
	    ;;
	  x86_64-*linux*)
	    LD="${LD-ld} -m elf_i386"
	    ;;
	  ppc64-*linux*|powerpc64-*linux*)
	    LD="${LD-ld} -m elf32ppclinux"
	    ;;
[...]
--8<---------------cut here---------------end--------------->8---

However I don’t see exactly where ‘-m elf’ comes from.

Are you doing a chroot build?  (In which case /usr/bin/file is
unavailable.)

Thanks,
Ludo’.

  parent reply	other threads:[~2014-06-18 20:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14  6:51 core-updates is back Ludovic Courtès
2014-04-15  7:45 ` gmp-6.0.0a Andreas Enge
2014-04-15  9:37   ` gmp-6.0.0a Ludovic Courtès
2014-04-15  9:46     ` gmp-6.0.0a Andreas Enge
2014-04-15 15:36       ` gmp-6.0.0a Ludovic Courtès
2014-04-16  6:15         ` gmp-6.0.0a Andreas Enge
2014-06-06 13:33 ` core-updates is back Ludovic Courtès
2014-06-15 10:08 ` core-updates frozen Ludovic Courtès
2014-06-15 20:25   ` Ludovic Courtès
2014-06-16  0:47   ` Mark H Weaver
2014-06-16  7:43     ` Ludovic Courtès
2014-06-16 15:19       ` Mark H Weaver
2014-06-18 16:39       ` Mark H Weaver
2014-06-18 17:03         ` Mark H Weaver
2014-06-18 20:23         ` Ludovic Courtès [this message]
2014-06-18 20:42           ` Ludovic Courtès
2014-06-20 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=878uouuftt.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.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).