bug-hurd
[Top][All Lists]
Advanced

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

Re: Circular dependency with glibc libpthread libihash


From: Ludovic Courtès
Subject: Re: Circular dependency with glibc libpthread libihash
Date: Fri, 11 Apr 2014 20:33:34 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Manolis Ragkousis <manolis837@gmail.com> skribis:

> 0:00 Ludovic Courtès <ludo@gnu.org>:
>>
>> Could you show what test tries to compile a program?  (Send config.log.)
>>
>
> Here it is

Thanks.

> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by GNU Hurd configure 0.5, which was
> generated by GNU Autoconf 2.69.  Invocation command line was

[...]

> configure:2937: checking whether the C compiler works
> configure:2959: i686-pc-gnu-gcc    conftest.c  >&5
> /gnu/store/kavylb2khfqq9rj42diyciinv3i8inj4-gcc-cross-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  cannot find crt1.o: No such file or directory
> /gnu/store/kavylb2khfqq9rj42diyciinv3i8inj4-gcc-cross-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  cannot find crti.o: No such file or directory
> /gnu/store/kavylb2khfqq9rj42diyciinv3i8inj4-gcc-cross-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  cannot find -lc
> /gnu/store/kavylb2khfqq9rj42diyciinv3i8inj4-gcc-cross-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  cannot find crtn.o: No such file or directory
> collect2: error: ld returned 1 exit status

Could you try this patch for the Hurd’s configure.in?

diff --git a/configure.ac b/configure.ac
index ecabfdf..7ede6db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,6 +83,13 @@ AC_PROG_INSTALL
 AC_PROG_AWK
 AC_PROG_SED
 
+if test "x$cross_compiling" = "xyes"; then
+   # It may be that we don't have a working libc yet, for instance
+   # because we're bootstrapping the cross-compilation tool chain.
+   # Thus, use this undocumented Autoconf macro designed for this.
+   AC_NO_EXECUTABLES
+fi
+
 AC_PROG_CC
 # Require GCC.
 if test x$GCC != xyes; then
Thanks,
Ludo’.

reply via email to

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