[Issue 22491] Multiple building issues using dmd or ldc2 on new Fedora 35

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 8 14:05:26 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22491

--- Comment #1 from Alexey <animuspexus at protonmail.com> ---
I've tried to rebuild dmd and phobos as described (here
https://wiki.dlang.org/Building_under_Posix). I also rebuilt (with build.d) and
reinstalled dub to ~/bin with no success: 'dub build --build=release' results
in error:


============================
dub build --build=release
WARNING: A deprecated branch based version specification is used for the
dependency dtk. Please use numbered versions instead. Also note that you can
still use the dub.selections.json file to override a certain dependency to use
a branch instead.
Performing "release" build using dmd for x86_64.
bindbc-loader 1.0.1: target for configuration "noBC" is up to date.
bindbc-freetype 1.0.2: target for configuration "dynamic" is up to date.
bindbc-sdl 1.0.1: target for configuration "dynamic" is up to date.
taggedalgebraic 0.11.22: target for configuration "library" is up to date.
eventcore 0.9.17: target for configuration "epoll" is up to date.
stdx-allocator 2.77.5: target for configuration "library" is up to date.
vibe-core 1.20.0: target for configuration "epoll" is up to date.
observable 1.0.3: target for configuration "library" is up to date.
dtk ~master: building configuration "platform-sdl-desktop"...
creating property "text"
using freetype font manager
generating redraw_x for Button
generating redraw_x for ButtonCheck
generating redraw_x for ButtonRadio
generating redraw_x for Form
generating redraw_x for Layout
connectToFontFile_onAfterChanged
connectToFontFace_onAfterChanged
connectToFontColor_onAfterChanged
connectToFontSize_onAfterChanged
connectToFontItalic_onAfterChanged
connectToFontBold_onAfterChanged
connectToLayoutLines_onAfterChanged
connectToLayoutChars_onAfterChanged
connectToDrawBewelAndBackground_onAfterChanged
connectToBewelBackgroundColor_onAfterChanged
connectToMultiline_onAfterChanged
connectToVirtualWrapByChar_onAfterChanged
connectToVirtualWrapByWord_onAfterChanged
connectToForceMonowidth_onAfterChanged
connectToTextSelectable_onAfterChanged
connectToTextEditable_onAfterChanged
generating redraw_x for TextEntry
---
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
predefs   SDL_204 BindSDL_Static SDL_Image BindFT_Static
DTK_PLATFORM_SDL_DESKTOP Have_dtk Have_bindbc_freetype Have_bindbc_sdl
Have_observable Have_bindbc_loader Have_vibe_core Have_eventcore
Have_stdx_allocator EventcoreEpollDriver Have_taggedalgebraic DigitalMars
LittleEndian D_Version2 all D_SIMD Posix ELFv1 linux CRuntime_Glibc
CppRuntime_Gcc D_InlineAsm_X86_64 X86_64 D_LP64 D_PIC D_ModuleInfo D_Exceptions
D_TypeInfo D_HardFloat
binary    dmd
version   v2.098.0
config   
/home/animuspexus/dlang/d_v2.098.0/dmd/generated/linux/release/64/dmd.conf
DFLAGS   
-I/home/animuspexus/dlang/d_v2.098.0/dmd/generated/linux/release/64/../../../../../druntime/import
-I/home/animuspexus/dlang/d_v2.098.0/dmd/generated/linux/release/64/../../../../../phobos
-L-L/home/animuspexus/dlang/d_v2.098.0/dmd/generated/linux/release/64/../../../../../phobos/generated/linux/release/64
-L--export-dynamic -fPIC
---
core.exception.AssertError at src/dmd/statementsem.d(3966): Assertion failure
----------------
??:? _d_assertp [0x90a3b0]
??:? _ZN24StatementSemanticVisitor5visitEP17TryCatchStatement [0x795000]
??:? _ZN17TryCatchStatement6acceptEP7Visitor [0x78642d]
??:? _Z17statementSemanticP9StatementP5Scope [0x787a13]
??:? _ZN16Semantic3Visitor5visitEP15FuncDeclaration [0x77e720]
??:? _ZN16Semantic3Visitor5visitEP15CtorDeclaration [0x781f3f]
??:? _ZN15CtorDeclaration6acceptEP7Visitor [0x713fe5]
??:? _Z9semantic3P7DsymbolP5Scope [0x77d18d]
??:? _ZN16Semantic3Visitor5visitEP20AggregateDeclaration [0x7821a3]
??:? _ZN16ParseTimeVisitorI10ASTCodegenE5visitEP16ClassDeclaration [0x778651]
??:? _ZN16ClassDeclaration6acceptEP7Visitor [0x61fb19]
??:? _Z9semantic3P7DsymbolP5Scope [0x77d18d]
??:? _ZN16Semantic3Visitor5visitEP6Module [0x77d5a5]
??:? _ZN6Module6acceptEP7Visitor [0x6468a5]
??:? _Z9semantic3P7DsymbolP5Scope [0x77d18d]
??:? int dmd.mars.tryMain(ulong, const(char)**, ref dmd.globals.Param)
[0x5d02b2]
??:? _Dmain [0x5d1fc5]
dmd failed with exit code 1.
============================

--


More information about the Digitalmars-d-bugs mailing list