www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14776] New: shared library test - loadDR - segfaults on


          Issue ID: 14776
           Summary: shared library test - loadDR - segfaults on FreeBSD 10
                    when not building with -release
           Product: D
           Version: D2
          Hardware: x86_64
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: issues.dlang jmdavisProg.com

As discussed in issue# 14773, the druntime unit tests unfortunately are only
built and run with -release. However, if you build them without -release and
run them on FreeBSD 10, then you get this failure:

Testing link
Testing load
Testing linkD
Testing linkDR
Testing loadDR
Makefile:28: recipe for target 'obj/freebsd/64/loadDR.done' failed
gmake[1]: *** [obj/freebsd/64/loadDR.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 for sure that this is FreeBSD-10 specific, since I haven't run the
druntime unit tests without -release on anything else, but I expect that it's
related to issue# 14663, which definitely is specific to newer versions of
FreeBSD, which is why I'm marking this as FreeBSD-only. I suppose that I could
just put it under issue# 14663 (and perhaps I should), but I don't know that
they're the same bug, so I figured that I'd list this one separately just in

Jul 06 2015