Bug 24428 – unresolved external symbol _D4core8internal5newaa3Foo6__initZ, etc during unittest builds

Status
NEW
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-03-04T02:51:57Z
Last change time
2024-12-07T13:43:18Z
Keywords
link-failure
Assigned to
No Owner
Creator
elpenguino+D
See also
https://issues.dlang.org/show_bug.cgi?id=20802
Moved to GitHub: dmd#17476 →

Comments

Comment #0 by elpenguino+D — 2024-03-04T02:51:57Z
Compile with -unittest. Fails as of DMD 2.107.1. ``` immutable int[int] foo = [1:2]; unittest {} void main() {} ``` Several symbols for the unittest in core.internal.newaa are missing: _D4core8internal5newaa__T5EntryTSQBfQBdQx3FooTiZQx6__initZ _D4core8internal5newaa3Foo6__initZ _D4core8internal5newaa3Foo9__xtoHashFNbNeKxSQBqQBoQBiQBfZm _D4core8internal5newaa3Foo11__xopEqualsMxFKxSQBrQBpQBjQBgZb Yet another instance of symbols missing due to mismatched app/druntime flags.
Comment #1 by robert.schadek — 2024-12-07T13:43:18Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17476 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB