https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64089
--- Comment #4 from howarth at bromo dot med.uc.edu --- We are testing in gcc/configure for... configure:14564: checking for -exported_symbols_list linker flag configure:14584: /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./prev-gcc/xgcc -B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./prev-gcc/ -B/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/bin/ -B/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/bin/ -B/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/lib/ -isystem /sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/include -isystem /sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/sys-include -o conftest -g -O2 -I/sw/include -static-libstdc++ -static-libgcc -Wl,-no_pie -Wl,-exported_symbols_list,conftest.sym conftest.c >&5 configure:14584: $? = 0 configure:14594: result: yes Can we leverage this test to append the correct linker flags for libgccjit.so.0.0.1 on darwin?