Daniel wrote:
Finally, I thought I saw some message in dmesg on about invalid
syscalls or something \
like that on my end.
Check your /var/log/messages for "bogus syscall" by a program called
conftest. It
is a standard program name for multiple capability tests by ./configure
script. When
I rebuild gcc 8.3 on amd64 it seems to be provoked by this program from
configure:
__thread int a; int b; int main() { return a = b; }
tested several times. See also
https://marc.info/?l=openbsd-misc&m=159734095825159&w=2
FYI I also have see no stdout with code built with libgomp (unsupported
by OpenBSD) when
output is directed to a file, but not when piped, e.g.
./bad > file but ./good | cat > file.
I haven't reproduced this in a supported config (e.g. without OpenMP).
John