digitalmars.D.bugs - [Issue 14894] New: [Reg 2.068.0-rc1] linkage error with mixin
- via Digitalmars-d-bugs (43/43) Aug 09 2015 https://issues.dlang.org/show_bug.cgi?id=14894
https://issues.dlang.org/show_bug.cgi?id=14894 Issue ID: 14894 Summary: [Reg 2.068.0-rc1] linkage error with mixin template in std.net.curl Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: code dawg.eu Just found this issue while testing dub. Generating test runner configuration '__test__library__' for 'library' (library). Performing "unittest" build using dmd for x86_64. Building dub 0.9.24-rc.3+commit.9.g5f397bc configuration "__test__library__"... Linking... source/dub/internal/utils.d:207: error: undefined reference to '_D3std3net4curl4HTTP9__mixin3610verifyPeerMFNdbZv' source/dub/internal/utils.d:210: error: undefined reference to '_D3std3net4curl4HTTP9__mixin365proxyMFNdAxaZv' /usr/include/dmd/phobos/std/net/curl.d:295: error: undefined reference to '_D3std3net4curl4HTTP9__mixin369onReceiveMFNdDFAhZmZv' /usr/include/dmd/phobos/std/net/curl.d:773: error: undefined reference to '_D3std3net4curl4HTTP9__mixin369onReceiveMFNdDFAhZmZv' /usr/include/dmd/phobos/std/net/curl.d:786: error: undefined reference to '_D3std3net4curl4HTTP9__mixin366onSendMFNdDFAvZmZv' /usr/include/dmd/phobos/std/net/curl.d:786: error: undefined reference to '_D3std3net4curl4HTTP9__mixin366handleMFNcNdNjZS3std3net4curl4Curl' /usr/include/dmd/phobos/std/net/curl.d:762: error: undefined reference to '_D3std3net4curl4HTTP9__mixin369onReceiveMFNdDFAhZmZv' /usr/include/dmd/phobos/std/net/curl.d:769: error: undefined reference to '_D3std3net4curl4HTTP9__mixin366onSendMFNdDFAvZmZv' /usr/include/dmd/phobos/std/net/curl.d:769: error: undefined reference to '_D3std3net4curl4HTTP9__mixin366handleMFNcNdNjZS3std3net4curl4Curl' The mixin is named _D3std3net4curl4HTTP9__mixin35 (35 instead of 36) in libphobos2.a. Not sure why it passes on travis-ci (https://travis-ci.org/D-Programming-Language/dub/jobs/74832612). --
Aug 09 2015