What gcc to use for gdc master?

Iain Buclaw via D.gnu d.gnu at puremagic.com
Sat Jun 6 10:31:42 PDT 2015


On 6 June 2015 at 19:12, Dan Olson via D.gnu <d.gnu at puremagic.com> wrote:

> "Iain Buclaw via D.gnu" <d.gnu at puremagic.com> writes:
>
> > On 6 June 2015 at 18:54, Dan Olson via D.gnu <d.gnu at puremagic.com>
> > wrote:
> >
> >     "Iain Buclaw via D.gnu" <d.gnu at puremagic.com> writes:
> >
> >     > Alas, after looking at backend, it turns out that the answer is
> >     no.
> >     >
> >     > In the glue sources (d-decls.cc), replace
> >     'set_user_assembler_name'
> >     > with 'SET_DECL_ASSEMBLER_NAME' and rebuild the module without
> >     your
> >     > workaround.
> >
> >     Ok, that works for data. Functions (stuff in text section) still
> >     missing _. Is that handled by same function?
> >     (VarDeclaration::toSymbol)
> >
> >
> > There are two uses of set_user_assembler_name in d-decls.cc. One for
> > variables, the other for functions. ;-)
>
> Ooops.  Yeah that did it.  I'll try later this weekend to get working
> with emutls and make pull requests for these.
>
> Thanks for all the real-time help.
>
> P.S. I am building against gcc-6-20150503 fine.  I tried gcc-6-20150531
> yesterday and get ICE right away when compiling object_.d or
> object.di, don't remember which.
> --
> Dan
>

I've only tested up to gcc-6-20150412, so YMMV on later snapshots.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20150606/408abe3b/attachment.html>


More information about the D.gnu mailing list