[Issue 15060] Can't load a D shared library first, then load a C shared library

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 Iain Buclaw changed: What|Removed |Added Priority|P1 |P2 --

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-10-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #15 from bitwise --- (In reply to bitwise from comment #14) > (In reply to Jacob Carlborg from comment #13) > > [...] > > Right, which is why I am recommending the special pragmas(or pragma). Basically, we need these: pragma(attribute,

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-10-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #14 from bitwise --- (In reply to Jacob Carlborg from comment #13) > (In reply to bitwise from comment #12) > > (In reply to Jacob Carlborg from comment #10) > > >> DMD already does what's necessary for ELF (Linux, FreeBSD). Just do the

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-10-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #13 from Jacob Carlborg --- (In reply to bitwise from comment #12) > (In reply to Jacob Carlborg from comment #10) > >> DMD already does what's necessary for ELF (Linux, FreeBSD). Just do the > >> same > >> for Mach-O and OS X. > > That

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #12 from bitwise --- (In reply to Jacob Carlborg from comment #10) > (In reply to ponce from comment #9) > > If this need back-end support, maybe Walter could implement global ctor/dtor > > like in LDC? > > DMD already does what's necess

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #11 from ponce --- :X Thanks!!! can't believe I forgot that. --

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #10 from Jacob Carlborg --- (In reply to ponce from comment #9) > If this need back-end support, maybe Walter could implement global ctor/dtor > like in LDC? DMD already does what's necessary for ELF (Linux, FreeBSD). Just do the same fo

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #9 from ponce --- If this need back-end support, maybe Walter could implement global ctor/dtor like in LDC? @bitwise: how much would you take to do it? :)) FWIW, I'm having problem with the workaround (calling dyld_register_image_state

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-09-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #8 from bitwise --- >> ponce 2015-09-18 09:47:37 UTC >> Hacky workaround found by bitwise and Martin Nowak: >> http://forum.dlang.org/post/lldikuutgrpmmyuhf...@forum.dlang.org I suppose I should note that I was expanding on Jacob's solut

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-09-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 Jacob Carlborg changed: What|Removed |Added CC||d...@me.com --- Comment #7 from Jacob Carlb

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-09-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 bitwise changed: What|Removed |Added CC||nicolas.jincher...@gmail.co |

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-09-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #5 from ponce --- Unfortunately I'm trying to bootstrap a business so I'll live with the hacky work-around and move on to the next task (I do everything). It's also way beyond my understanding. I've bountied $50 on the equivalent bug in

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-09-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #4 from Martin Nowak

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-09-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #3 from ponce --- Hacky workaround found by bitwise and Martin Nowak: http://forum.dlang.org/post/lldikuutgrpmmyuhf...@forum.dlang.org --

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-09-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #2 from ponce --- I found a 2012 conversation here that talks about this very problem: https://github.com/D-Programming-Language/druntime/pull/228 --

[Issue 15060] Can't load a D shared library first, then load a C shared library

2015-09-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15060 --- Comment #1 from ponce --- Suggestion from David Nadlinger " This is OS X only, right? In this case, it is hard to judge where exactly it sits and what needs to be done to fix it, as no work has been done on dylib support recently in either compi