This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trouble building cross compiler: host x86_64-unknown-linux-gnu -> target hppa64-hp-hpux11.00


Rainer Emrich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Andrew, thanks for your quick reply.
> 
> Andrew Haley schrieb:
>> 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 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.
>> I'm guessing that you have missing target libraries, headers, or somesuch.
> Yes, that's the cause. My setup is ok, but there was a link to
> /usr/ccs/lib/pa20_64/crt0.o missing in the HP-UX sysroot/usr/lib/pa20_64. That
> solved by manually setting the link, I run into the next issue.

All those "ignoring nonexistent directory" messages are bad.  There must be a
reason why they are missing.

> /usr/lib/pa20_64/milli.a is tried to be linked directly instead be searched in
> the sysroot.

> 
> How to fix that?

I can't tell; you sent no command line.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]