www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14663] New: shared library test - link_linkdep - segfaults on


          Issue ID: 14663
           Summary: shared library test - link_linkdep - segfaults on
                    FreeBSD 10
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: FreeBSD
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: issues.dlang jmdavisProg.com

Running the druntime unit tests with the current dmd/druntime master (post
2.067) on FreeBSD 10 results in

Testing link
Testing load
Testing linkD
Testing linkDR
Testing loadDR
Testing host
Testing finalize
Testing link_linkdep
Makefile:28: recipe for target 'obj/freebsd/64/link_linkdep.done' failed
gmake[1]: *** [obj/freebsd/64/link_linkdep.done] Segmentation fault
gmake[1]: Leaving directory
posix.mak:206: recipe for target 'test/shared/.run' failed
gmake: *** [test/shared/.run] Error 2

I don't know if FreeBSD 9 has the same problem, but clearly FreeBSD 8 does not,
because that's what the autotester is running, and it's passing. So, something
changed in either FreeBSD 9 or 10 to make it so that this test doesn't work

I'll see if I can figure something out, but I'm not at all familiar with how
the shared library code works or what exactly is being tested.

Jun 07 2015