Re: --gc-sections and GDC

2014-07-17 Thread Johannes Pfau via D.gnu
Am Thu, 17 Jul 2014 11:29:56 + schrieb "David Nadlinger" : > On Wednesday, 16 July 2014 at 20:05:37 UTC, Johannes Pfau wrote: > > Please don't start working on a D specific linker script, cause > > I'm already working on that ;-) I've only done moduleinfo so > > far, but TLS is next, then sh

Re: --gc-sections and GDC

2014-07-17 Thread David Nadlinger via D.gnu
On Wednesday, 16 July 2014 at 20:05:37 UTC, Johannes Pfau wrote: Please don't start working on a D specific linker script, cause I'm already working on that ;-) I've only done moduleinfo so far, but TLS is next, then shared library support. Instead of a fully custom linker script, I'd go for e

Re: --gc-sections and GDC

2014-07-17 Thread Daniel Murphy via D.gnu
"Mike" wrote in message news:cqzazaqxpwezignix...@forum.dlang.org... If my theory is correct, GDC may have to make an internal linker script specifically for D's code generation that marks such code as KEEP. There was some discussion of this at dconf, and a custom linker script is both strai

Re: --gc-sections and GDC

2014-07-16 Thread Iain Buclaw via D.gnu
On 16 July 2014 21:03, Johannes Pfau via D.gnu wrote: > Am Wed, 16 Jul 2014 15:35:09 +0100 > schrieb "Iain Buclaw via D.gnu" : > >> On 16 July 2014 15:12, Mike via D.gnu wrote: >> > On Wednesday, 16 July 2014 at 13:52:57 UTC, Mike wrote: >> >> >> >> I received a question from Dicebot in at the en

Re: --gc-sections and GDC

2014-07-16 Thread Johannes Pfau via D.gnu
Am Wed, 16 Jul 2014 15:35:09 +0100 schrieb "Iain Buclaw via D.gnu" : > On 16 July 2014 15:12, Mike via D.gnu wrote: > > On Wednesday, 16 July 2014 at 13:52:57 UTC, Mike wrote: > >> > >> I received a question from Dicebot in at the end of my > >> presentation. He asked about the --gc-sections lin

Re: --gc-sections and GDC

2014-07-16 Thread Jacob Carlborg via D.gnu
On 16/07/14 15:52, Mike wrote: I received a question from Dicebot in at the end of my presentation. He asked about the --gc-sections linker flag breaking code from GDC. Have you seen this post: http://forum.dlang.org/thread/lbrfycmutwrrghtza...@forum.dlang.org ? -- /Jacob Carlborg

Re: --gc-sections and GDC

2014-07-16 Thread Iain Buclaw via D.gnu
On 16 July 2014 15:12, Mike via D.gnu wrote: > On Wednesday, 16 July 2014 at 13:52:57 UTC, Mike wrote: >> >> I received a question from Dicebot in at the end of my presentation. He >> asked about the --gc-sections linker flag breaking code from GDC. >> >> I recently discovered how one can see why

Re: --gc-sections and GDC

2014-07-16 Thread Mike via D.gnu
On Wednesday, 16 July 2014 at 13:52:57 UTC, Mike wrote: I received a question from Dicebot in at the end of my presentation. He asked about the --gc-sections linker flag breaking code from GDC. I recently discovered how one can see why this is occurring, and I hope this will help identify th

--gc-sections and GDC

2014-07-16 Thread Mike via D.gnu
I received a question from Dicebot in at the end of my presentation. He asked about the --gc-sections linker flag breaking code from GDC. I recently discovered how one can see why this is occurring, and I hope this will help identify the problem and lead to a solution. Compile any simple he