[Issue 17291] New: [REG 2.074-b1] windows: invalid relocation entries
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Apr 2 00:28:24 PDT 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 at puremagic.com
Reporter: r.sagitario at 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.
--
More information about the Digitalmars-d-bugs
mailing list