------- 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

Reply via email to