Excerpts from Matija Nalis's message of January 16, 2021 3:54 am: > Package: gdc > Version: 4:10.2.1-1 > Severity: normal > X-Debbugs-Cc: mnalis-debian...@voyager.hr > > Dear Maintainer, > > compiling D programs with gdc produces excutable, but trying to run that > executable segfaults. > I've tried various gdc flags, but never managed to produce even the simplest > working program. > > on Debian Sid in chroot: > > (mipsel-chroot)$ printf 'import std.stdio;\nvoid main() { writeln("Hello, > World!"); }\n' > hello.d ; gdc hello.d && ./a.out > qemu: uncaught target signal 11 (Segmentation fault) - core dumped > Segmentation fault > > This is with host running Buster with qemu-user 1:5.2+dfsg-3~bpo10+1 > but the other not-too-complicated D programs fail on Debian buildd > infrastructure too: > https://buildd.debian.org/status/fetch.php?pkg=ironseed&arch=mipsel&ver=0.3.6-4&stamp=1610676343&raw=0 >
Hi, Building current gdc-master on a MIPS server (running Debian Jessie, I don't seem to have access to the Buster node), I can't reproduce the segfault. What are the chances of it being QEMU that's the cause? Also, are you linking to the static or shared libphobos library? Running the testsuite now, to see if there's any reported failures, but none so far... Iain.