https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
--- Comment #76 from The Written Word <bugzilla-gcc at thewrittenword dot com> --- (In reply to The Written Word from comment #75) > (In reply to The Written Word from comment #74) > > > > 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. Getting further. Now erroring out with: /opt/build/china/gcc-8.3.0/.obj/./prev-gcc/xg++ -B/opt/build/china/gcc-8.3.0/.obj/./prev-gcc/ -B/opt/build/gcc8/ia64-hp-hpux11.31/bin/ -nostdinc++ -B/opt/build/china/gcc-8.3.0/.obj/prev-ia64-hp-hpux11.31/libstdc++-v3/src/.libs -B/opt/build/china/gcc-8.3.0/.obj/prev-ia64-hp-hpux11.31/libstdc++-v3/libsupc++/.libs -I/opt/build/china/gcc-8.3.0/.obj/prev-ia64-hp-hpux11.31/libstdc++-v3/include/ia64-hp-hpux11.31 -I/opt/build/china/gcc-8.3.0/.obj/prev-ia64-hp-hpux11.31/libstdc++-v3/include -I/opt/build/china/gcc-8.3.0/libstdc++-v3/libsupc++ -L/opt/build/china/gcc-8.3.0/.obj/prev-ia64-hp-hpux11.31/libstdc++-v3/src/.libs -L/opt/build/china/gcc-8.3.0/.obj/prev-ia64-hp-hpux11.31/libstdc++-v3/libsupc++/.libs -fno-PIE -c -DUSE_LIBUNWIND_EXCEPTIONS -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/opt/build/china/gcc-8.3.0/gcc -I/opt/build/china/gcc-8.3.0/gcc/. -I/opt/build/china/gcc-8.3.0/gcc/../include -I./../intl -I/opt/build/china/gcc-8.3.0/gcc/../libcpp/include -I/opt/TWWfsw/libgmp61/include -I/opt/TWWfsw/libmpfr31/include -I/opt/TWWfsw/libmpc10/include -I/opt/build/china/gcc-8.3.0/gcc/../libdecnumber -I/opt/build/china/gcc-8.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/opt/build/china/gcc-8.3.0/gcc/../libbacktrace -I/opt/TWWfsw/libisl016/include -o gcov-tool.o -MT gcov-tool.o -MMD -MP -MF ./.deps/gcov-tool.TPo /opt/build/china/gcc-8.3.0/gcc/gcov-tool.c /opt/build/china/gcc-8.3.0/gcc/gcov-tool.c: In function 'int unlink_profile_dir(const char*)': /opt/build/china/gcc-8.3.0/gcc/gcov-tool.c:85:23: error: invalid conversion from 'int (*)(const char*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)' [-fpermissive] return nftw(path, unlink_gcda_file, 64, FTW_DEPTH | FTW_PHYS); ^~~~~~~~~~~~~~~~ In file included from /opt/build/china/gcc-8.3.0/gcc/gcov-tool.c:39: /usr/include/ftw.h:273:38: note: initializing argument 2 of 'int nftw(const char*, int (*)(const char*, const stat*, int, FTW), int, int)' inline int nftw(const char *a,int (*b)(const char *, const struct ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat *, int, struct FTW), int c, int d) ~~~~~~~~~~~~~~~~~~~~~~~~ gmake[3]: *** [gcov-tool.o] Error 1