www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17452] New: Undefined references in std.container.array

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

          Issue ID: 17452
           Summary: Undefined references in std.container.array
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com

One of the failures why Vibe.d and the DLang-Tour can't be built with
dmd-nightly anymore are undefined references errors from the linker.

 dub test --compiler=work/result/bin/dmd --root=$HOME/dlang/vibe/vibe.d-repo
--force
They were introduced in https://github.com/dlang/phobos/pull/5295. ``` work/result/bin/../import/std/container/array.d:452: error: undefined reference to '_D3std9container5array12__T5ArrayTiZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:452: error: undefined reference to '_D3std9container5array12__T5ArrayTiZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:453: error: undefined reference to '_D3std9container5array12__T5ArrayTiZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:454: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTiZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted17refCountedPayloadMNgFNaNbNcNdNiNjNfZNgS3std9container5array12__T5ArrayTiZ5Array7Payload' work/result/bin/../import/std/container/array.d:454: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTiZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted17refCountedPayloadMNgFNaNbNcNdNiNjNfZNgS3std9container5array12__T5ArrayTiZ5Array7Payload' work/result/bin/../import/std/container/array.d:452: error: undefined reference to '_D3std9container5array12__T5ArrayTsZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:452: error: undefined reference to '_D3std9container5array12__T5ArrayTsZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:453: error: undefined reference to '_D3std9container5array12__T5ArrayTsZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:454: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTsZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted17refCountedPayloadMNgFNaNbNcNdNiNjNfZNgS3std9container5array12__T5ArrayTsZ5Array7Payload' work/result/bin/../import/std/container/array.d:454: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTsZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted17refCountedPayloadMNgFNaNbNcNdNiNjNfZNgS3std9container5array12__T5ArrayTsZ5Array7Payload' work/result/bin/../import/std/container/array.d:452: error: undefined reference to '_D3std9container5array12__T5ArrayTaZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:452: error: undefined reference to '_D3std9container5array12__T5ArrayTaZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:453: error: undefined reference to '_D3std9container5array12__T5ArrayTaZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:454: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTaZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted17refCountedPayloadMNgFNaNbNcNdNiNjNfZNgS3std9container5array12__T5ArrayTaZ5Array7Payload' work/result/bin/../import/std/container/array.d:454: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTaZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted17refCountedPayloadMNgFNaNbNcNdNiNjNfZNgS3std9container5array12__T5ArrayTaZ5Array7Payload' work/result/bin/../import/std/container/array.d:452: error: undefined reference to '_D3std9container5array12__T5ArrayTwZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:452: error: undefined reference to '_D3std9container5array12__T5ArrayTwZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:453: error: undefined reference to '_D3std9container5array12__T5ArrayTwZ5Array5emptyMxFNaNbNdNiNfZb' work/result/bin/../import/std/container/array.d:454: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTwZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted17refCountedPayloadMNgFNaNbNcNdNiNjNfZNgS3std9container5array12__T5ArrayTwZ5Array7Payload' work/result/bin/../import/std/container/array.d:454: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTwZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted17refCountedPayloadMNgFNaNbNcNdNiNjNfZNgS3std9container5array12__T5ArrayTwZ5Array7Payload' work/result/bin/../import/std/typecons.d:5279: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTiZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted15RefCountedStore13isInitializedMxFNaNbNdNiNfZb' work/result/bin/../import/std/typecons.d:5291: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTiZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted15RefCountedStore13isInitializedMxFNaNbNdNiNfZb' work/result/bin/../import/std/typecons.d:5296: error: undefined reference to '_D6object62__T7destroyTS3std9container5array12__T5ArrayTiZ5Array7PayloadZ7destroyFNbNiKS3std9container5array12__T5ArrayTiZ5Array7PayloadZv' work/result/bin/../import/std/typecons.d:5279: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTsZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted15RefCountedStore13isInitializedMxFNaNbNdNiNfZb' work/result/bin/../import/std/typecons.d:5291: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTsZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted15RefCountedStore13isInitializedMxFNaNbNdNiNfZb' work/result/bin/../import/std/typecons.d:5296: error: undefined reference to '_D6object62__T7destroyTS3std9container5array12__T5ArrayTsZ5Array7PayloadZ7destroyFNbNiKS3std9container5array12__T5ArrayTsZ5Array7PayloadZv' work/result/bin/../import/std/typecons.d:5279: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTaZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted15RefCountedStore13isInitializedMxFNaNbNdNiNfZb' work/result/bin/../import/std/typecons.d:5291: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTaZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted15RefCountedStore13isInitializedMxFNaNbNdNiNfZb' work/result/bin/../import/std/typecons.d:5296: error: undefined reference to '_D6object62__T7destroyTS3std9container5array12__T5ArrayTaZ5Array7PayloadZ7destroyFNbNiKS3std9container5array12__T5ArrayTaZ5Array7PayloadZv' work/result/bin/../import/std/typecons.d:5279: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTwZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted15RefCountedStore13isInitializedMxFNaNbNdNiNfZb' work/result/bin/../import/std/typecons.d:5291: error: undefined reference to '_D3std8typecons109__T10RefCountedTS3std9container5array12__T5ArrayTwZ5Array7PayloadVE3std8typecons24RefCountedAutoInitializei0Z10RefCounted15RefCountedStore13isInitializedMxFNaNbNdNiNfZb' work/result/bin/../import/std/typecons.d:5296: error: undefined reference to '_D6object62__T7destroyTS3std9container5array12__T5ArrayTwZ5Array7PayloadZ7destroyFNbNiKS3std9container5array12__T5ArrayTwZ5Array7PayloadZv' collect2: error: ld returned 1 exit status ``` --
May 29