I meant, just apply
<http://gcc.gnu.org/ml/gcc-patches/2008-08/msg02037.html> and
<http://gcc.gnu.org/ml/gcc-patches/2008-08/msg02044.html>
(the latter with the lines including and after the last @@
removed) to trunk.
It looks like there is still a problem. I hit this error linking
libstdc++.sl.6.11:
/usr/ccs/bin/ld: Invalid symbol type for plabel (.libs/strstream.o, std::basic_i
ostream<char, std::char_traits<char> >::~basic_iostream()).
This is most likely caused by a missing .IMPORT directive. The target
is hppa2.0w-hp-hpux11.11. The revision is 139713. I'll generate a
.ii tonight.