[Issue 22573] New: DMD compiler errors on Illumos/Solaris
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 6 17:12:35 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22573
Issue ID: 22573
Summary: DMD compiler errors on Illumos/Solaris
Product: D
Version: D2
Hardware: x86_64
OS: Solaris
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: jkruth at telecolumbus.net
Hello,
I have been trying to compile DMD on OpenIndiana, an Illumos/Solaris system. My
approach was like this:
1. compile GDC
2. use GDC to build DMD
3. use DMD to build druntime
The procedure was repeated with the old and the new (will be available in GCC
12) D implementations of gcc. In both cases the compilation of druntime aborted
with the following error message:
---
ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the
reduction.
---
DMD v2.098.0-317-g9d1027cfb-dirty
predefs DigitalMars LittleEndian D_Version2 all D_SIMD Posix ELFv1 Solaris
CppRuntime_Gcc D_InlineAsm_X86_64 X86_64 D_LP64 D_PIC D_ModuleInfo D_Exceptions
D_TypeInfo D_HardFloat
binary ../dmd/generated/solaris/release/64/dmd
version v2.098.0-317-g9d1027cfb-dirty
config
DFLAGS (none)
---
core.exception.AssertError at src/dmd/backend/obj.d-mixin-196(203): Assertion
failure
----------------
../../../../libphobos/libdruntime/core/exception.d:582 onAssertError [0x7eb6b4]
src/dmd/backend/obj.d-mixin-196:203 _ZN3Obj4initEP9OutBufferPKcS3_ [0x697b5b]
src/dmd/glue.d:341 _Z9obj_startPKc [0x696127]
src/dmd/glue.d:135 void dmd.glue.generateCodeAndWrite(dmd.dmodule.Module[],
const(char)*[], const(char)[], const(char)[], bool, bool, bool, bool, bool)
[0x43fa8c]
src/dmd/mars.d:597 int dmd.mars.tryMain(ulong, const(char)**, ref
dmd.globals.Param) [0x442055]
src/dmd/mars.d:1020 _Dmain [0x44dc6d]
gmake: *** [posix.mak:377: generated/solaris/release/64/libdruntime.a] Fehler 1
I do not know how to fix this, but maybe someone here could help me out?
--
More information about the Digitalmars-d-bugs
mailing list