[Issue 21374] New: [ICE] cod2.d(4675): Assertion failure compiling druntime with -fPIE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 10 16:20:29 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21374
Issue ID: 21374
Summary: [ICE] cod2.d(4675): Assertion failure compiling
druntime with -fPIE
Product: D
Version: D2
Hardware: x86
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: ibuclaw at gdcproject.org
When compiling druntime with DFLAGS="-fPIE"
core.exception.AssertError at src/dmd/backend/cod2.d(4675): Assertion failure
----------------
??:? onAssertError [0xf7d25ac8]
??:? _d_assert [0xf7d2612f]
src/dmd/backend/cod2.d:4675 _Z9getoffsetR11CodeBuilderP4elemh [0x569655c9]
src/dmd/backend/cod2.d:4619 _Z10cdrelconstR11CodeBuilderP4elemPj [0x5694be4f]
src/dmd/backend/cgcod.d:3086 _Z7codelemR11CodeBuilderP4elemPjj [0x5690a0cd]
src/dmd/backend/cgcod.d:3212 _Z8scodelemR11CodeBuilderP4elemPjjb [0x5690488c]
src/dmd/backend/cod4.d:2699 _Z5cdcmpR11CodeBuilderP4elemPj [0x5690f843]
src/dmd/backend/cgcod.d:3082 _Z7codelemR11CodeBuilderP4elemPjj [0x5690a0b4]
src/dmd/backend/cod1.d:593 _Z6logexpR11CodeBuilderP4elemijP4code [0x5695fbb0]
src/dmd/backend/cod1.d:488 _Z6logexpR11CodeBuilderP4elemijP4code [0x5695f6fd]
src/dmd/backend/cod1.d:514 _Z6logexpR11CodeBuilderP4elemijP4code [0x5695f86a]
src/dmd/backend/cod2.d:2603 _Z8cdloglogR11CodeBuilderP4elemPj [0x56956363]
src/dmd/backend/cgcod.d:3082 _Z7codelemR11CodeBuilderP4elemPjj [0x5690a0b4]
src/dmd/backend/cod2.d:2562 _Z7cdcommaR11CodeBuilderP4elemPj [0x5695629a]
src/dmd/backend/cgcod.d:3082 _Z7codelemR11CodeBuilderP4elemPjj [0x5690a0b4]
src/dmd/backend/cod2.d:2563 _Z7cdcommaR11CodeBuilderP4elemPj [0x569562b1]
src/dmd/backend/cgcod.d:3082 _Z7codelemR11CodeBuilderP4elemPjj [0x5690a0b4]
src/dmd/backend/cod2.d:2563 _Z7cdcommaR11CodeBuilderP4elemPj [0x569562b1]
src/dmd/backend/cgcod.d:3082 _Z7codelemR11CodeBuilderP4elemPjj [0x5690a0b4]
src/dmd/backend/cgen.d:297 _Z10gencodelemR11CodeBuilderP4elemPjb [0x5695e48b]
src/dmd/backend/cod3.d:1177
_Z14outblkexitcodeR11CodeBuilderP5blockRiPKcPP6Symbolj [0x569492b1]
src/dmd/backend/cgcod.d:1581 _Z8blcodgenP5block [0x5694157e]
src/dmd/backend/cgcod.d:317 _Z6codgenP6Symbol [0x568e3671]
src/dmd/backend/out.d:1446 _Z10writefunc2P6Symbol [0x568e29e3]
src/dmd/backend/out.d:1109 _Z9writefuncP6Symbol [0x568e221b]
src/dmd/glue.d:1070 _Z25FuncDeclaration_toObjFileP15FuncDeclarationb
[0x5681724e]
src/dmd/toobj.d:310 _ZN9toObjFile9ToObjFile5visitEP15FuncDeclaration
[0x56828870]
src/dmd/func.d:2636 _ZN15FuncDeclaration6acceptEP7Visitor [0x56658c2f]
src/dmd/toobj.d:1027 _Z9toObjFileP7Dsymbolb [0x5677543b]
src/dmd/glue.d:1087 _Z25FuncDeclaration_toObjFileP15FuncDeclarationb
[0x56817387]
src/dmd/toobj.d:310 _ZN9toObjFile9ToObjFile5visitEP15FuncDeclaration
[0x56828870]
src/dmd/func.d:2636 _ZN15FuncDeclaration6acceptEP7Visitor [0x56658c2f]
src/dmd/toobj.d:843 __lambda2 [0x5682acbb]
src/dmd/dsymbol.d:103 void
dmd.dsymbol.foreachDsymbol(dmd.root.array.Array!(dmd.dsymbol.Dsymbol).Array*,
void delegate(dmd.dsymbol.Dsymbol)) [0x566756df]
src/dmd/toobj.d:843 _ZN9toObjFile9ToObjFile5visitEP16TemplateInstance
[0x568283e5]
src/dmd/dtemplate.d:7468 _ZN16TemplateInstance6acceptEP7Visitor [0x5664f09e]
src/dmd/toobj.d:1027 _Z9toObjFileP7Dsymbolb [0x5677543b]
src/dmd/glue.d:421 _Z10genObjFileP6Moduleb [0x56774b3b]
src/dmd/mars.d:696 int dmd.mars.tryMain(uint, const(char)**, ref
dmd.globals.Param) [0x567ab301]
src/dmd/mars.d:972 _Dmain [0x567b2593]
--
More information about the Digitalmars-d-bugs
mailing list