Re: Removing RTTI from binaries

2015-05-10 Thread Mike via D.gnu
On Sunday, 10 May 2015 at 12:48:55 UTC, Mike wrote: On Sunday, 10 May 2015 at 09:54:51 UTC, Mike wrote: Looks like someone picked up on this and submitted a patch: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192#c9 Cool!! But I still have yet to test it. Damn! Didn't work. Bug report

[Bug 184] New: TypeInfo.name strings don't get put into separate sections when compiling with -fdata-sections

2015-05-10 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=184 Bug ID: 184 Summary: TypeInfo.name strings don't get put into separate sections when compiling with -fdata-sections Product: GDC Version: development Hardware: All

-fno-rtti (disable TypeInfo) support ready for testing

2015-05-10 Thread Johannes Pfau via D.gnu
I've just opened a pull request for -fno-rtti at [1]. The frontend part needs to go into DMD but I'd like some testing feedback first. This is especially important as I had literally no time to test this updated code ;-) Please provide feedback here or at [1]. -fno-rtti should provide nice, reada

Re: Removing RTTI from binaries

2015-05-10 Thread Mike via D.gnu
On Sunday, 10 May 2015 at 13:20:42 UTC, Iain Buclaw wrote: Not sure what you're using to build, but it seems reliant on -ffunction-sections -fdata-sections -fmerge-constants - or at least the latter two of those options. Did you try the minimum test in the PR? I'm using the cross-compiler b

Re: Removing RTTI from binaries

2015-05-10 Thread Iain Buclaw via D.gnu
On 10 May 2015 at 14:48, Mike via D.gnu wrote: > On Sunday, 10 May 2015 at 09:54:51 UTC, Mike wrote: > >> Looks like someone picked up on this and submitted a patch: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192#c9 Cool!! But I still >> have yet to test it. > > > Damn! Didn't work. > No

Re: Removing RTTI from binaries

2015-05-10 Thread Mike via D.gnu
On Sunday, 10 May 2015 at 09:54:51 UTC, Mike wrote: Looks like someone picked up on this and submitted a patch: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192#c9 Cool!! But I still have yet to test it. Damn! Didn't work.

Re: Removing RTTI from binaries

2015-05-10 Thread Mike via D.gnu
On Thursday, 15 January 2015 at 12:01:05 UTC, Johannes Pfau wrote: After some google-fu: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 Considering this was filed in 2000 I'd say it's not very likely to get fixed soon :-( So the best option is probably to get rid of this problem by patchin