digitalmars.D.bugs - [Issue 14976] New: object file output is unstable/different
- via Digitalmars-d-bugs (20/20) Aug 29 2015 https://issues.dlang.org/show_bug.cgi?id=14976
https://issues.dlang.org/show_bug.cgi?id=14976 Issue ID: 14976 Summary: object file output is unstable/different Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: code dawg.eu The order in which undefined symbols are emitted depend on the allocated address of symbols (which in turn change with ASLR). This is problematic for testing purposes but also prevents from caching linker steps. https://github.com/D-Programming-Language/dmd/blob/20771f89a16d9ab663b2964db8d49706cfa0e1dd/src/backend/cgen.c#L501 A solution would be to use a string table instead of AArray. --
Aug 29 2015