[Issue 22460] Unittest build of d_do_test.d triggers RangeError on OpenBSD

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 1 13:56:23 UTC 2021


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

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg
            Summary|OpenBSD: dmd                |Unittest build of
                   |auto-tester-test fails      |d_do_test.d triggers
                   |immediately                 |RangeError on OpenBSD

--- Comment #1 from moonlightsentinel at disroot.org ---
The failure occurs when compiling the unittests of the test tools
`d_do_test.d`. The stack trace suggests that it's a a failure in the frontend
which is quite surprising. Might be a memory corruption introduced by the GC
given that the unittests are built with `-lowmem`.

Check whether -lowmem makes a difference, i.e. if the following succeeds:

dmd -m64 -fPIC -g -i -Itools -version=NoMain -unittest tools/d_do_test.d

--


More information about the Digitalmars-d-bugs mailing list