phobos
phobos copied to clipboard
std.array.arrayAllocImpl has a linker error issue with `-profile=gc`
It is missing the implementation of line https://github.com/dlang/phobos/blob/master/std/array.d#L1141
The related issue is https://github.com/dlang/dmd/issues/21033
There's no implementation such as _d_newarrayUTrace. I don't know if this is an issue on either phobos or druntime. Thing is that _d_newarrayUTrace is not in the output.
Up to 2.102.2: Success and no output
2.103.1: Segfault and no output
2.104.2 to 2.105.3: Success and no output
Since 2.106.1: Failure with output:
-----
onlineapp.o: In function `_D3std5array__T14arrayAllocImplVbi0TAmTmZQBaFNaNbmZQp':
/path/to/dmd.linux/dmd2/linux/bin64/../../src/phobos/std/array.d:1112: undefined reference to `_d_newarrayUTrace'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
-----