DSSS 0.74 + DMD 8-(

John Reimer terminal.node at gmail.com
Fri Dec 28 21:17:00 PST 2007


John Reimer wrote:
> 
> 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. :)
> 

And finally, the solution is to add the "-no-export-dynamic" flag to the 
"buildflags" section of the dsss.conf file for these kinds of projects.

-JJR



More information about the Digitalmars-d mailing list