Performing manual C SOURCE FILE Test HAVE_VISIBILITY with the following output: Change Dir: /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2348172686/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2348172686.dir/build.make CMakeFiles/cmTryCompileExec2348172686.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2348172686.dir/src.c.o /usr/lib/ccache/cc -fvisibility=hidden -o CMakeFiles/cmTryCompileExec2348172686.dir/src.c.o -c /var/uhubuild/work/compile/build/CMakeTmp/src.c Linking C executable cmTryCompileExec2348172686 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2348172686.dir/link.txt --verbose=1 /usr/lib/ccache/cc -fvisibility=hidden CMakeFiles/cmTryCompileExec2348172686.dir/src.c.o -o cmTryCompileExec2348172686 -rdynamic make[1]: Leaving directory `/var/uhubuild/work/compile/build/CMakeFiles/CMakeTmp' Source file was: void __attribute__((visibility("default"))) test() {} #ifdef __INTEL_COMPILER #error ICC breaks with binutils and visibility #endif int main(){}