Bug 15729 – [REG(master)] broken debug info for libraries
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2016-02-27T05:17:00Z
Last change time
2016-03-22T04:05:11Z
Keywords
link-failure, pull
Assigned to
nobody
Creator
jiki
Comments
Comment #0 by jiki — 2016-02-27T05:17:35Z
This is a git head regression and is a BLOCKER problem in Windows.
I have tested on Windows 7 64-bit, but with -m32.
CODE:
test.d
import std.string; // or import std.uni;
main.d
void main() { }
COMMAND:
dmd -g -debug -lib test.d
dmd -g main.d test.lib
OUTPUT:
Error 163: Cannot CVPACK Type 0002
As my whole project, moreover I get numerous '162' errors.
Comment #1 by jiki — 2016-03-01T09:43:47Z
I looked into this and UPDATE.
test.d:
struct S {
int i;
int[] a;
char c;
}
main.d:
void main() { }
COMMAND:
dmd -g -debug -lib test.d
dmd -g main.d test.lib
OUTPUT:
Error 163: Cannot CVPACK Type 0002