DSSS 0.74 + DMD 8-(
John Reimer
terminal.node at gmail.com
Fri Dec 28 17:09:48 PST 2007
John Reimer wrote:
> On Tue, 25 Dec 2007 12:14:08 -0800, Gregor Richards wrote:
>
>> I had hacked DSSS to work with DMD (after some problems), but the
>> problems in DMD have now been fixed. So, DSSS 0.74 is wonky with DMD.
>>
>> I'll get another release out with that fixed ASAP, but for the moment
>> use 0.73 with DMD.
>>
>> My mistake,
>>
>> - Gregor Richards
>
> Ok, that's good to know. :)
>
> There also seems to be something wrong with 0.73 and gdc 0.24 on linux.
> Building with a makefile (which uses "gdc" directly) creates a working
> executable. Building the same project with "dsss build" (settings using
> proifle "gdc-posix" creates an executable that segfaults (dsss uses
> "gdmd"). See guisterax project on dsource.org... this is somehow related
> to projects using a dynamic loader because gtkD has the same problem with
> dsss on linux. (using dmd with dsss works for both of these).
>
> Hope you have a clue what's wrong. :)
>
> -JJR
>
At dsource, the GtkD project guys have determined that this particular
issue is due to dsss passing "-rdynamic" to the linker on linux (gdc 0.24)
In etc/rebuild/gdc-posix file export_dynamic=-q,-rdynamic... so this is
what is causing the segfaults. Mike Wey determined that passing
-rdynamic to the linker for a dmd produces the same segfault.
So, I'm not sure what the intention is for -rdynamic being passed to the
linker for gdc, but apparently it's not suitable for projects that load
these symbols manually (ie, derelict, GtkD, guisterax) using libdl directly.
It's at least good to know that this is customizable. :)
-JJR
-JJR
More information about the Digitalmars-d
mailing list