[D-runtime] [D-Programming-Language/druntime] 0199c3: add test for module collision detection

GitHub via D-runtime d-runtime at puremagic.com
Sun Aug 16 23:20:41 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 0199c34b2d01a7ca66d5ba4323556f9abcc03330
      https://github.com/D-Programming-Language/druntime/commit/0199c34b2d01a7ca66d5ba4323556f9abcc03330
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-25 (Sat, 25 Jul 2015)

  Changed paths:
    M test/shared/Makefile
    M test/shared/src/lib.d
    A test/shared/src/link_mod_collision.d
    A test/shared/src/load_mod_collision.d

  Log Message:
  -----------
  add test for module collision detection


  Commit: 5f6c43131527749f6a3675ba4408bdfb90f2052b
      https://github.com/D-Programming-Language/druntime/commit/5f6c43131527749f6a3675ba4408bdfb90f2052b
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M src/rt/sections_elf_shared.d

  Log Message:
  -----------
  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


  Commit: aa4376bcfa57c21c2be94d57bdb3b0930915da00
      https://github.com/D-Programming-Language/druntime/commit/aa4376bcfa57c21c2be94d57bdb3b0930915da00
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M src/rt/sections_elf_shared.d

  Log Message:
  -----------
  add comment explaining module collision check


  Commit: 4659f966f92b6475ec9a16bf10ce492040d34be9
      https://github.com/D-Programming-Language/druntime/commit/4659f966f92b6475ec9a16bf10ce492040d34be9
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M test/shared/Makefile
    M test/shared/src/host.c

  Log Message:
  -----------
  workaround Bugzilla 14824

- A bug in FBSD's rtld will lead to a crash when
  calling a function over an PLT entry that was
  previously resolved to a now unloaded dynamic
  library.


  Commit: 8f41eb18b5ce4d8d825180fe00fb533931f8bd1f
      https://github.com/D-Programming-Language/druntime/commit/8f41eb18b5ce4d8d825180fe00fb533931f8bd1f
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M posix.mak

  Log Message:
  -----------
  reenable druntime debug unittests


  Commit: 94d7132097df881199632624a4f4c5b8b7d42e88
      https://github.com/D-Programming-Language/druntime/commit/94d7132097df881199632624a4f4c5b8b7d42e88
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M src/rt/sections_elf_shared.d

  Log Message:
  -----------
  use _Exit(1) instead of assert(0)

- to avoid a segfault/bus error


  Commit: 5ea2b7bd80e799f64bd79d15346409728d706605
      https://github.com/D-Programming-Language/druntime/commit/5ea2b7bd80e799f64bd79d15346409728d706605
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M test/shared/Makefile

  Log Message:
  -----------
  need --no-as-needed for some linux distributions (Ubuntu)

- enforces the linking of lib.so even though the lib isn't used


  Commit: 8663f53a44803b097258d32cbdf95f396dd3ba12
      https://github.com/D-Programming-Language/druntime/commit/8663f53a44803b097258d32cbdf95f396dd3ba12
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2015-08-17 (Mon, 17 Aug 2015)

  Changed paths:
    M posix.mak
    M src/rt/sections_elf_shared.d
    M test/shared/Makefile
    M test/shared/src/host.c
    M test/shared/src/lib.d
    A test/shared/src/link_mod_collision.d
    A test/shared/src/load_mod_collision.d

  Log Message:
  -----------
  Merge pull request #1333 from MartinNowak/fixRuntimeLoading

fix FBSD shared library issues


Compare: https://github.com/D-Programming-Language/druntime/compare/4bcd672b320c...8663f53a4480


More information about the D-runtime mailing list