digitalmars.D.bugs - [Issue 16796] New: Linker error on big file + -gc switch generated
- via Digitalmars-d-bugs (30/30) Nov 26 2016 https://issues.dlang.org/show_bug.cgi?id=16796
https://issues.dlang.org/show_bug.cgi?id=16796 Issue ID: 16796 Summary: Linker error on big file + -gc switch generated by jtransc Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: tools Assignee: nobody puremagic.com Reporter: soywiz gmail.com Created attachment 1623 --> https://issues.dlang.org/attachment.cgi?id=1623&action=edit program.d in 7zip I have create a target generating D for my project jtransc: https://github.com/jtransc/jtransc So it allows to convert Java/Kotlin/Scala AOT into D and generate native executables. In complex programs, the generated D file is pretty big. And in order to get comprehensive stacktraces in debug builds I have to add -gc. The big test suite including most of the java standard library generates a ~6MB d file. Without the -gc switch DMD works just fine and generates the executable. dmd --version DMD32 D Compiler v2.072.0 dmd -gc program.d Error: linker exited with status 482878712 --
Nov 26 2016