https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
--- Comment #75 from The Written Word <bugzilla-gcc at thewrittenword dot com> --- (In reply to The Written Word from comment #74) > (In reply to C. Heide from comment #73) > > With that change, and some other cajoling (the previously mentioned > > duplicate symbols and operand64 problem, and -O1 to work around the ICE), I > > can now get gcc-8.3 to do a full bootstrap on HP-UX 11.23 ia64. > > > > I haven't run the GCC testsuite yet, but it was able to build an internal > > C++ app and pass its unit tests, though it did still need the duplicate > > symbol workaround when linking (added -Wl,+allowdups). > > I'm getting further in the build on HP-UX 11.31/IA but when linking > libstdc++.la, I get lots of: > ld: Duplicate symbol "typeinfo for __gnu_cxx::__concurrence_unlock_error" in > files .libs/libstdc++.lax/libsupc++convenience.a/eh_alloc.o and > .libs/libstdc++.lax/libsupc++convenience.a/guard.o > ld: Duplicate symbol "typeinfo for __gnu_cxx::__concurrence_lock_error" in > files .libs/libstdc++.lax/libsupc++convenience.a/eh_alloc.o and > .libs/libstdc++.lax/libsupc++convenience.a/guard.o > ld: Duplicate symbol "typeinfo name for __gnu_cxx::__concurrence_lock_error" > in files .libs/libstdc++.lax/libsupc++convenience.a/eh_alloc.o and > .libs/libstdc++.lax/libsupc++convenience.a/guard.o > ... I think a local patch might be doing this. Rebuild without it.