Hi Bart,
Thanks for using the AOCC-1.2 compiler.
The AOCC-1.2 compiler comes packaged with 'lld' as the linker instead of the Gold linker. You can get the compiler driver 'clang' to use lld by using the option '-fuse-ld=lld', after making sure that the $PATH environment variable contains path to the AOCC-1.2 package (you may do this by running the setenv_AOCC.sh script).
Please try this and get back if you have any difficulty.
Thanks,
Nagajyothi