[Issue 14776] shared library test - loadDR - segfaults on FreeBSD 10 when not building with -release

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 16 23:20:43 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14776

--- Comment #1 from github-bugzilla at puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/5f6c43131527749f6a3675ba4408bdfb90f2052b
fix check for copy relocations when dynamically loading druntime

- fixes Issue 14776 - shared library test - loadDR - segfaults on FreeBSD 10

- the executable might not define _end or __bss_start
  in which case they'll resolve to within the shared
  druntime library

- skip copy relocation check when we can't determine the
  copy reloc section b/c druntime was dynamically loaded

- copy relocations can't occur when dynamically loading a
  library anyhow

- checkModuleCollisions only needed for version (Shared) druntime build

--


More information about the Digitalmars-d-bugs mailing list