[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#934192: gdc compile hello world fails compiler-internal err msg



Package: gdc
Version: 4:6.3.0-4
Severity: important

Dear Maintainer,

entering a minimal hello world d src file, gdc -O3 -frelease then fails with internal compiler error msg.

my system :
--

A raspberry pi 3B+ running raspbian stretch 32-bit with a containerised guest o/s inside it using systemd-nspawn, the guest o/s being AAarch64 Debian Buster.

Inside AAarch64 Debian Buster, I run the following from the shell and get an error from the gdc compiler:

root@debian-buster-64:~#  gdc -O3 -frelease -S test.d
cc1d: error: cannot find source code for runtime library file 'object.d'
cc1d: note: dmd might not be correctly installed. Run 'dmd -man' for installation instructions.

(null):0: confused by earlier errors, bailing out
root@debian-buster-64:~
--
it seems that the gdc compiler version is perhaps old there and I am assuming that the mske failed

is there any way i can just get hold of the Aarch64/arm64 native Dlang gdc (and ldc) compilers for debian aarch64/arm64 ?

i am a comolete novice in this, but have decades of asm various and C systems programming professionally, but for non unix systems and embedded, so am (semi-)literate, hughky experienced in sime resoects comolete igorsmus in many other importsnt resoects.
and also as you see have neuro problems too hence horrible typing despite native english spking.

wouod appreciate some handholding for thus disabled user.


-- System Information:
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.9 (stretch)
Release:	9.9
Codename:	stretch
Architecture: aarch64

Kernel: Linux 4.19.50-v8-2f8d963db206-bis+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdc depends on:
ii  gdc-6           6.3.0-18+rpi1+deb9u1
ii  libgphobos-dev  6.3.0-4

gdc recommends no packages.

gdc suggests no packages.

-- no debconf information


Reply to: