Package: gdc
Version: 4:10.2.1-1
Severity: normal
X-Debbugs-Cc: [email protected]
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
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: mipsel (mips)
Kernel: Linux 5.2.0-0.bpo.2-amd64 (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages gdc depends on:
ii gdc-10 10.2.1-6
ii libgphobos-dev 10.2.1-1
gdc recommends no packages.
gdc suggests no packages.
-- no debconf information