bug#70979: test suite failures on Solaris 11

Bruno Haible <[email protected]> Thu, 16 May 2024 15:12:50 +0200
Newsgroups gmane.comp.gnu.libtool.bugs
Message-ID <3832371.07ICAnoMbH@nimes>
Hi,

An automated test of the current libtool HEAD [1] exhibits
test failures on both Solaris 11.4 from Oracle and Solaris 11 OmniOS.
The failure and log is the same in both cases:

testsuite: 170 failed

170: Use -no-canonical-prefixes flag                 FAILED (bug_62343.at:38)

Find attached the file testsuite.dir/170/testsuite.log. Note in particular the
error message:

  ld: fatal: file libgcc-unwind.map: stat failed: No such file or directory

Bruno

[1] https://github.com/gnu-libtool/ci-check/actions
testsuite.log (text/x-log, 1.3 KB)
#                             -*- compilation -*-
170. bug_62343.at:26: testing Use -no-canonical-prefixes flag ...
../../tests/bug_62343.at:28: $LIBTOOL --config | $EGREP '^build_libtool_libs=no' && (exit 77)
../../tests/bug_62343.at:36: $LIBTOOL --mode=compile --tag=CXX g++ -c x.cpp
stderr:
stdout:
libtool: compile:  g++ -c x.cpp  -fPIC -DPIC -o .libs/x.o
libtool: compile:  g++ -c x.cpp -o x.o >/dev/null 2>&1
../../tests/bug_62343.at:38: $LIBTOOL --mode=link --tag=CXX g++ -o libx.la -no-canonical-prefixes -rpath /usr/lib64/ x.lo
stderr:
ld: fatal: file libgcc-unwind.map: stat failed: No such file or directory
stdout:
libtool: link: g++ -m64 -shared  -fPIC -DPIC -nostdlib /usr/lib/amd64/crti.o /usr/lib/amd64/values-Xa.o /usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3.0/crtbeginS.o  .libs/x.o   -L/usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3.0 -L/usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3.0/../../../amd64 -L/lib/amd64 -L/usr/lib/amd64 -L/usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3.0/../../.. -lstdc++ -lm -lrt -lgcc_s -lc -lgcc_s /usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3.0/crtendS.o /usr/lib/amd64/crtn.o  -no-canonical-prefixes   -Wl,-h -Wl,libx.so.0 -o .libs/libx.so.0.0.0
../../tests/bug_62343.at:38: exit code was 1, expected 0
170. bug_62343.at:26: 170. Use -no-canonical-prefixes flag (bug_62343.at:26): FAILED (bug_62343.at:38)