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