Created attachment 728934 [details] build.log (ppc64) [...] make[3]: Entering directory '/var/tmp/portage/sci-libs/gsl-2.7/work/gsl-2.7/complex' PASS: test ../test-driver: line 109: 1357919 Segmentation fault (core dumped) "$@" > $log_file 2>&1 FAIL: test_c11 ============================================================================ Testsuite summary for gsl 2.7 ============================================================================ # TOTAL: 2 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0
Created attachment 728937 [details] emerge --info
Created attachment 728940 [details] test-suite.log Reading symbols from /var/tmp/portage/sci-libs/gsl-2.7/work/gsl-2.7/complex/test_c11... [New LWP 1357919] warning: Could not find DWO CU arch/powerpc/kernel/vdso64/vgettimeofday.dwo(0x44164492a23824d9) referenced by CU at offset 0xe6 [in module system-supplied DSO at 0x3fff85fd2000] Core was generated by `./test_c11 '. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000000011b0a1980 in gsl_complex_polar ()
Same on sparc.
Same in 2.7.1-r1
I checked out upstream 2.8 release but 'test_c11' fails there too. Got the following trace with gdb out of the build directory: # gdb ./complex/test_c11 GNU gdb (Gentoo 15.2 vanilla) 15.2 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "powerpc-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./complex/test_c11... (gdb) run Starting program: /root/builddir/gsl-2.8/complex/test_c11 [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00420cf4 in gsl_complex_polar (r=r@entry=-1.5, theta=theta@entry=0) at math.c:59 59 return z; (gdb) backtrace #0 0x00420cf4 in gsl_complex_polar (r=r@entry=-1.5, theta=theta@entry=0) at math.c:59 #1 0x004206e0 in test_all () at test_source.c:151 #2 main () at test.c:44