www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19701] New: undefined reference to `_D6object__T6hashOf

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

          Issue ID: 19701
           Summary: undefined reference to `_D6object__T6hashOf
           Product: D
           Version: D2
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: andre s-e-a-p.de

This is a regression occuring on linux and windows and started about ~ 2.084.0.

Create file app.d with these 2 lines
import std.string;
void main(){}

And execute dmd with command (this is the linux version):
dmd -m64 -c -ofdlang-sample.o -unittest -Xfdocs.json -Df__dummy.html -Isource
app.d && dmd -ofdlang-sample dlang-sample.o -m64

dlang-sample.o: In function
`_D3std8typecons__T5TupleTaTaZQl6toHashMxFNaNbNiNfZm':
app.d:(.text._D3std8typecons__T5TupleTaTaZQl6toHashMxFNaNbNiNfZm[_D3std8typecons__T5TupleTaTaZQl6toHashMxFNaNbNiNfZm]+0x19):
undefined reference to `_D6object__T6hashOfTxaZQlFNaNbNiNfKxaZm'
app.d:(.text._D3std8typecons__T5TupleTaTaZQl6toHashMxFNaNbNiNfZm[_D3std8typecons__T5TupleTaTaZQl6toHashMxFNaNbNiNfZm]+0x32):
undefined reference to `_D6object__T6hashOfTxaZQlFNaNbNiNfKxaZm'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1

--
Feb 26 2019