vibe-d / vibe-core

Repository for the next generation of vibe.d's core package.
MIT License
61 stars 47 forks source link

Linker errors with DMD 2.094.2 #238

Open p-mitana opened 3 years ago

p-mitana commented 3 years ago
/usr/include/dmd/phobos/std/typecons.d:6471: error: undefined reference to '_D3std8typecons__T10RefCountedTSQBe9container5array__T5ArrayTS4vibe4core4sync18LocalTaskSemaphore12ThreadWaiterZQCg7PayloadVEQEtQEs24RefCountedAutoInitializei0ZQFm15RefCountedStore15deallocateStoreMFNaNbNiZv'
/usr/include/dmd/phobos/std/typecons.d:6471: error: undefined reference to '_D3std8typecons__T10RefCountedTSQBe9container5array__T5ArrayTS4vibe4http6router17MatchGraphBuilder11TerminalTagZQCg7PayloadVEQEtQEs24RefCountedAutoInitializei0ZQFm15RefCountedStore15deallocateStoreMFNaNbNiZv'
/usr/include/dmd/phobos/std/typecons.d:6471: error: undefined reference to '_D3std8typecons__T10RefCountedTSQBe9container5array__T5ArrayTS4vibe4http6router__T16LinkedSetBackingTkZQv5EntryZQCg7PayloadVEQEtQEs24RefCountedAutoInitializei0ZQFm15RefCountedStore15deallocateStoreMFNaNbNiZv'
/usr/include/dmd/phobos/std/typecons.d:6471: error: undefined reference to '_D3std8typecons__T10RefCountedTSQBe9container5array__T5ArrayTS4vibe4http6router17MatchGraphBuilder4NodeZQBy7PayloadVEQElQEk24RefCountedAutoInitializei0ZQFe15RefCountedStore15deallocateStoreMFNaNbNiZv'

vibe-core 1.11.1, vibe.d 0.9.2, DMD 2.094.2, Ubuntu 20.10. Problem does not exist with DMD 2.093.1.

s-ludwig commented 3 years ago

Can you also report this on https://issues.dlang.org/ if you haven't already (it looks like it really must be fixed there)? vibe-core is tested as part of DMD's CI, and it looks okay there AFAICS, so the other question is what steps are needed to reproduce this and what OS/linker is in use.

p-mitana commented 3 years ago

@s-ludwig - https://issues.dlang.org/show_bug.cgi?id=21448

OS is Ubuntu 20.10. I haven't change the linker, so it's ld.