This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38384] link/execute fails for cross gcc from linux to target hppa64-hp-hpux11.00
- From: "r dot emrich at de dot tecosim dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2009 18:15:10 -0000
- Subject: [Bug target/38384] link/execute fails for cross gcc from linux to target hppa64-hp-hpux11.00
- References: <bug-38384-11564@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #41 from r dot emrich at de dot tecosim dot com 2009-01-22 18:15 -------
(In reply to comment #40)
> Subject: Re: link/execute fails for cross gcc from linux to target
> hppa64-hp-hpux11.00
> > configuring with
> >
> > --disable-symvers
>
> GNU symbol versioning is not supported by the HP-UX dynamic linker, so
> this should be off as suggested.
>
> Dave
>
configuring with --disable-symvers --disable-shared solves the problem for now.
So in fact --disable-shared should be sufficient because there's no symbol
versioning in archives right?
I think for native builds using the gnu ld it's the same issue. Some hints in
the documentation would be useful.
So, configuring with --enable-shared does not work.
The build shared libraries can't be handled by the HP-UX loader.
Thanks to Dave and Benjamin.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38384