This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: trouble building cross compiler: host x86_64-unknown-linux-gnu -> target hppa64-hp-hpux11.00
- From: Andrew Haley <aph at redhat dot com>
- To: Rainer Emrich <r dot emrich at de dot tecosim dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Tue, 02 Dec 2008 10:24:29 +0000
- Subject: Re: trouble building cross compiler: host x86_64-unknown-linux-gnu -> target hppa64-hp-hpux11.00
- References: <493508B1.80007@de.tecosim.com>
Rainer Emrich wrote:
> I try to build a cross compiler host x86_64-unknown-linux-gnu -> target
> hppa64-hp-hpux11.00 using gcc trunk.
>
> Everything wents fine until building of the libraries.
> libssp is build, but libiberty fails in the configure step:
>
> checking for sys/types.h... yes
> checking for sys/stat.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for memory.h... yes
> checking for strings.h... (cached) yes
> checking for inttypes.h... yes
> checking for stdint.h... (cached) no
> checking for unistd.h... (cached) yes
> checking for int... yes
> checking size of int... 4
> checking for uintptr_t... yes
> checking for a 64-bit type... unsigned long
> checking for pid_t... yes
> checking for library containing strerror... configure: error: Link tests are not
> allowed after GCC_NO_EXECUTABLES.
> gmake[1]: *** [configure-target-libiberty] Error 1
>
> The configure.log in hppa64-hp-hpux11.00/libiberty says:
>
> configure:6631: checking for library containing strerror
> configure:6639: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
>
> Any idea?
>
> Should I file a bug report?
I'm guessing that you have missing target libraries, headers, or somesuch.
There will have been a previous error that caused CC_NO_EXECUTABLES
to be set, and it's a matter of looking for it.
Andrew.