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).