[Issue 14663] shared library test - link_linkdep - segfaults on FreeBSD 10
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Aug 19 05:00:41 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14663
--- Comment #8 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c011a559128e0c069140df4f7b3afd670403b081
fix Issue 14663 - shared library test - link_linkdep - segfaults on FreeBSD 10
- the .ctors.d_dso_ctor and .dtors.d_dso_dtor sections
are merged into .ctors/.dtors or .init_array/.fini_array
depending on the linker script
- those sections need to be writeable b/c they can contain
relocations (in PIC code)
- merging readonly with writeable sections cause the gcc49 linker
on FBSD10 to collapse the readonly and writeable segments
https://github.com/D-Programming-Language/dmd/commit/8dad102881c0183256b9440d348a71b387c4b378
Merge pull request #4838 from MartinNowak/fix14776
fix Issue 14663 - shared library test - link_linkdep - segfaults on FreeBSD 10
--
More information about the Digitalmars-d-bugs
mailing list