Thread overview
[Bug 149] using libgdruntime.so and libgphobos2.so
Aug 12, 2014
Johannes Pfau
Aug 12, 2014
Ketmar Dark
Aug 12, 2014
Ketmar Dark
Aug 12, 2014
Ketmar Dark
Aug 13, 2014
Johannes Pfau
Aug 13, 2014
Ketmar Dark
Sep 17, 2016
Iain Buclaw
August 12, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=149

Johannes Pfau <johannespfau@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannespfau@gmail.com

--- Comment #1 from Johannes Pfau <johannespfau@gmail.com> ---
Looks like we had the same idea: https://github.com/D-Programming-GDC/GDC/pull/83

-- 
You are receiving this mail because:
You are watching all bug changes.


August 12, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=149

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar@ketmar.no-ip.org

--- Comment #2 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
wow. i definetely should take a look at your work.

for now i found that GC is completely broken in my case (and it does alot of allocations which are absent in -static-libphobos variant). i'm not yet familiar with D runtime, so i don't know what i missed here. perhaps i'll be able to figure it from your PR.

alas, i have no github account (and i don't want to register on github), and this makes thing unnecessary compilcated. ah, i don't yet have alot of time to work on this anyway. but nevertheless i hope to sort out the things eventually. ;-)

-- 
You are receiving this mail because:
You are watching all bug changes.


August 12, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=149

--- Comment #3 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
2Johannes Pfau:

ah. seems that we are trying to do slightly different things. i'm not trying to do 'general' shared library support. what i want to do is to allow gdc to use only runtime and phobos as shared objects. this seems to be the independent goal, with it's own set of complications.

so your work on general .so support will nicely complement this one. keep it up! ;-)

-- 
You are receiving this mail because:
You are watching all bug changes.


August 12, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=149

--- Comment #4 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
seems that GC frees list of active threads and then core.thread uses it.

sure, i missed some call that should anchor that list.

sorry for making chat here, but i have no other place to discuss such things.

-- 
You are receiving this mail because:
You are watching all bug changes.


August 13, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=149

--- Comment #5 from Johannes Pfau <johannespfau@gmail.com> ---
These changes in the pull request include support for plugins, but they also provide what you want: Phobos and druntime as shared libraries for normal dynamic linking.

Your GC problem is that the GC can't find the data segment in the shared libraries (same for TLS). See https://github.com/jpf91/GDC/commit/1dc78aa2bd9764e653364f952c7985f81b5d94a0

-- 
You are receiving this mail because:
You are watching all bug changes.


August 13, 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=149

--- Comment #6 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
ah. project shut down. Johannes Pfau did it.

-- 
You are receiving this mail because:
You are watching all bug changes.


September 17, 2016
http://bugzilla.gdcproject.org/show_bug.cgi?id=149

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #7 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Phobos is now built as a shared library in master.

-- 
You are receiving this mail because:
You are watching all bug changes.