I just retried with clang-8 compiled from source.
Indeed this problem in ./configure of gnustep-base went away.
However all tests still fail.
its compiled this way during the test:
clang -Wl,-rpath,/Users/afink/development/gnustep2/base/Source/./obj -rdynamic
-rdynamic -rdynamic -rdynamic -pthread -fexceptions
-fobjc-runtime=gnustep-2.0 -fblocks -o obj/basictypes
./obj/basictypes.obj/basictypes.m.o
-L/Users/afink/development/gnustep2/base/Source/./obj
-L/root/GNUstep/Library/Libraries -L/usr/local/lib -lgnustep-base -lpthread
-lobjc -lm
this produces a binary without an error but when running the binary, you simply
get a segfault. and thats the case for all binaries created in the test.
Running it in lldb shows that it throws an exception which then while in the
exception, it creates an exception which then creates a recursive infinite loop
until the stack is filled up.
Its caused by this: