Hi Lukasz,
I don't see this builtin is being part of gcc-8.3.0.
So, this is not affecting the gcc 8.3.0-6 build for AIX.
$ /opt/freeware/bin/gcc-8 -maix64 darn.c -o darn -mcpu=power9
cc1: warning: will not generate 'power9' instructions because assembler lacks 'power9' support
darn.c: In function 'main':
darn.c:8:15: warning: implicit declaration of function '__builtin_darn'; did you mean '__builtin_nan'? [-Wimplicit-function-declaration]
darn[i] = __builtin_darn(); // or __builtin_darn_raw()
^~~~~~~~~~~~~~
__builtin_nan
ld: 0711-317 ERROR: Undefined symbol: .__builtin_darn
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
$ /opt/freeware/bin/gcc-10 -maix64 darn.c -o darn -mcpu=power9
$
------------------------------
SANGAMESH
------------------------------