https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118621

--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
I tried to reproduce on Gentoo with our dev-perl/PDL package (which is a bit
outdated as we need to package the new split bits, I think) but couldn't.

I also tried to clone PDL and run the testsuite and that passed too, with:

```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc64le-unknown-linux-gnu/15/lto-wrapper
Target: powerpc64le-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-15.0.1_pre20250119/work/gcc-15-20250119/configure
--host=powerpc64le-unknown-linux-gnu --build=powerpc64le-unknown-linux-gnu
--prefix=/usr --bindir=/usr/powerpc64le-unknown-linux-gnu/gcc-bin/15
--includedir=/usr/lib/gcc/powerpc64le-unknown-linux-gnu/15/include
--datadir=/usr/share/gcc-data/powerpc64le-unknown-linux-gnu/15
--mandir=/usr/share/gcc-data/powerpc64le-unknown-linux-gnu/15/man
--infodir=/usr/share/gcc-data/powerpc64le-unknown-linux-gnu/15/info
--with-gxx-include-dir=/usr/lib/gcc/powerpc64le-unknown-linux-gnu/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/powerpc64le-unknown-linux-gnu/15/python
--enable-objc-gc --enable-languages=c,c++,go,objc,obj-c++,fortran,ada,rust
--enable-obsolete --enable-secureplt --disable-werror --with-system-zlib
--enable-nls --without-included-gettext --disable-libunwind-exceptions
--enable-checking=yes,extra,rtl --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='Gentoo 15.0.1_pre20250119 p42' --with-gcc-major-version-only
--enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--disable-multilib --disable-fixed-point --with-long-double-format=ieee
--enable-targets=all --enable-libgomp --disable-libssp --enable-libada
--disable-systemtap --disable-valgrind-annotations --disable-vtable-verify
--disable-libvtv --with-zstd --with-isl --disable-isl-version-check
--enable-default-pie --enable-host-pie --enable-host-bind-now
--enable-default-ssp --disable-fixincludes --with-build-config=bootstrap-lto
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.0.1 20250119 (experimental) (Gentoo 15.0.1_pre20250119 p42)
```

I didn't probe further.

I suspect that if you add a main and stub out gsl_linalg_complex_LU_det with a
no-op, the same thing won't happen and that gsl is miscompiled instead?

Reply via email to