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: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2009 18:42:47 -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 #42 from dave at hiauly1 dot hia dot nrc dot ca 2009-01-22 18:42 -------
Subject: Re: link/execute fails for cross gcc from linux to target
hppa64-hp-hpux11.00
> 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.
I'm thinking configure should disable symvers on hppa*-*-hpux* by default.
I had a patch to do this at one time.
> So, configuring with --enable-shared does not work.
> The build shared libraries can't be handled by the HP-UX loader.
Shared libraries did work at one time, although GNU ld has never worked
very well on this target.
I haven't done anything on this since PR 20939.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38384