Bootstrapped D to OpenBSD; need help with (hopefully!) the last push to a fully functioning runtime

James Blachly james.blachly at gmail.com
Sat Mar 13 00:30:55 UTC 2021


On 3/12/21 5:55 PM, Brian wrote:
> Hello all --
> 
> I hope this is the right part of the forum (if not please let me know).
> 
> I was able to successfully build GDC on OpenBSD. I used the tip of the 
> GCC tree.
> I was then able to build both LDC and DMD with GDC.

Awesome, thank you!

> dub init works fine. Using dub to build and run the skeleton project 
> also works fine. However, dub fetch (or anything using network access, 
> really) causes dub to segfault. The backtrace can be found in the same 
> place as the bootstrap dmd:
> https://github.com/ibara/dmd/releases/tag/bootstrap (dub-gdb.txt)
> 

Interestingly, the segfault appears not to be in network code but here:

#0  0x00000974d21442cc in 
std.regex.RegexMatch!(char[]).RegexMatch.this!(std.regex.internal.ir.Regex!(char).Regex).this(char[], 
std.regex.internal.ir.Regex!(char).Regex) ()

when parsing the header.

based on the backtrace.


More information about the Digitalmars-d mailing list