Help wanted debugging build failure

Matthias Geiger <[email protected]> Sat, 04 Oct 2025 00:23:36 +0200
Newsgroups gmane.linux.debian.ports.superh
Message-ID <[email protected]>
This is a MIME formatted message with attachments. Use a MIME-compliant client to view it properly.
--bzz_bzz__bzz__2nr4up1b513pot3kuhk1w5edo8a5axpt
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

yesterday I uploaded linux-gpib-user to unstable and it builds fine, 
however on sh4 it fails like this when linking the ibtest binary:

/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../include -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic  -specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro -Wl,-z,now -o slave_write_from_file slave_write_from_file-slave_write_from_file.o ../lib/libgpib.la -lpthread 
libtool: link: gcc -I../include -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -specs=/usr/share/dpkg/pie-link.specs -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/slave_write_from_file slave_write_from_file-slave_write_from_file.o  ../lib/.libs/libgpib.so -lpthread
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
gcc: internal compiler error: Segmentation fault signal termi

nated program cc1
Please submit a full bug report, with preprocessed source (by using 
-freport-bug).

See <file:///usr/share/doc/gcc-15/README.Bugs> for instructions.

make[3]: *** [Makefile:605: ibtest-ibtest.o] Error 4


To me this looks like qemu segfaulting because of a gcc bug. How would I 
go about debugging this?


best,

werdahias

PS: not subscribed so please CC me

PPS: Full log at 
https://buildd.debian.org/status/fetch.php?pkg=linux-gpib-user&arch=sh4&ver=4.3.6-2&stamp=1759502080&raw=0
--bzz_bzz__bzz__2nr4up1b513pot3kuhk1w5edo8a5axpt
Content-Type: application/pgp-signature; charset="utf-8"; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCaOBOUwAKCRDsvtu2B7my
vnkVAPwI/nxdAppONtbAZqCcMTuF7DFgRTwk3eTtMW5Xxo7DogEA6apjEXFp9Vqr
DSJTdyXJLB6OaP9ILF0hy8w9YK4uGQc=
=eT08
-----END PGP SIGNATURE-----
--bzz_bzz__bzz__2nr4up1b513pot3kuhk1w5edo8a5axpt--