[Bug libstdc++/38384] fails to build cross gcc for target hppa64-hp-hpux11.00 in libstdc++/libmath
r dot emrich at de dot tecosim dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 16 18:33:00 GMT 2009
------- Comment #32 from r dot emrich at de dot tecosim dot com 2009-01-16 18:33 -------
(In reply to comment #31)
>
> Probably, the warning needs to be suppressed. The warning is correct
> in that the encoding currently used contains dynamic relocations
> preventing the creation of a .eh_frame_hdr table. This only applies
> to GNU ld. HP ld doesn't support this. Functionally, this is
> only a performance issue.
>
> Still it would be good if the relocations could be eliminated. However,
> the standard technique using pc-relative encoding doesn't work because
> the dynamic linker doesn't maintain a consistent relationship between
> text and data for dynamically loaded objects. It's not possible to
> reference text locations from the data segment using pc-relative
> offsets.
>
> It may be possible to use segment relative encodings. I added
> some support to gas to do this last summer. There's still an
> issue with the functions to compute the base for these encodings.
>
> There are lots of issues with using GNU ld on HP-UX. It hasn't
> been maintained at more than a basic level for some time.
>
> Dave
>
Dave, thank you for the explanation.
Next week I will try to build some functional C++ application.
Then we will see if there are remaining issues.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38384
More information about the Gcc-bugs
mailing list