Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #857 (assigned defect)

Opened 9 months ago

Last modified 3 months ago

build runtime library conformant with dynamic libraries on linux

Reported by: jascha Assigned to: sean (accepted)
Priority: major Milestone: 0.99.8
Component: Core Functionality Version: 0.99.4 Frank
Keywords: triage Cc:

Description

very few small changes in the build files only, make it possible to build Tango on linux with -fPIC and the GC set to GC_Use_Data_Dyld, such that it can be used in dynamically loaded libraries.

attached is a patch to 0.99.4 that does these changes. they would have to be integrated such that they can be selected as an option to the build-scripts.

Attachments

tango-0.99.4_dynload.patch (2.3 kB) - added by jascha on 01/17/08 17:23:35.
tango-0.99.4_dynload2.patch (3.5 kB) - added by jascha on 01/17/08 21:55:26.
tango-0.99.4_dynload3.patch (3.5 kB) - added by jascha on 01/20/08 13:49:59.
v2 didnt work with svn branch 0.99.4

Change History

01/17/08 17:23:35 changed by jascha

  • attachment tango-0.99.4_dynload.patch added.

01/17/08 18:33:45 changed by kris

thank you

01/17/08 21:55:26 changed by jascha

  • attachment tango-0.99.4_dynload2.patch added.

01/17/08 21:56:01 changed by jascha

actually, that didn't work. the GC needs another mode for determining the segments. new patch attached.

01/18/08 06:22:49 changed by jascha

More problems: memory allocation works with the changed GC mode, but garbage collection crashes. I guess there are GC changes required that i don't know how to do. I can deliver a test-lib and app if required.

01/20/08 13:49:59 changed by jascha

  • attachment tango-0.99.4_dynload3.patch added.

v2 didnt work with svn branch 0.99.4

02/23/08 00:06:29 changed by kris

  • milestone set to 0.99.6.

04/21/08 20:34:40 changed by sean

  • milestone changed from 0.99.6 to 0.99.7.

I'm pushing this off because I don't know enough about *nix dynamic libs to fix this without some research.

05/11/08 17:46:54 changed by larsivi

  • keywords set to triage.

07/10/08 07:02:15 changed by larsivi

  • milestone changed from 0.99.7 to 0.99.8.

07/26/08 13:07:43 changed by sean

  • status changed from new to assigned.

I intend to fix this one but it's going to take some research. With any luck I'll be able to sort it out before the next release.