April 02, 2017
https://issues.dlang.org/show_bug.cgi?id=17291

          Issue ID: 17291
           Summary: [REG 2.074-b1] windows: invalid relocation entries
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: r.sagitario@gmx.de

When compiling

struct Struc(T)
{
    static shared T* p;
}

void foo()
{
    Struc!int.p = null;
}

with current stable or dmd 2.074-b1, using Agner Fog's objconv to disassemble the file reports:

C:\tmp\d>objconv.exe -fasm ptr.obj

Input file: ptr.obj, output file: ptr.asm
Converting from OMF32 to Disassembly32
Checksums are zero
Warning 1203: Unrecognized data in OMF subrecord

This was introduced by https://github.com/dlang/dmd/pull/6534 and very likely is the cause for https://github.com/dlang/druntime/pull/1763 to fail.

--