I'm using a Mac build of my clang/LLVM based tool chain ELLCC (http://ellcc.org) and attempting to cross build itself for ARM/Linux.
I get the following error:
llvm: (build tools): Linking Release+Asserts executable llvm-tblgen (whithout symbols)
ld: unknown option: --version-script=/Users/rich/ellcc/llvm/autoconf/ExportMap.map
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/rich/ellcc/llvm-build-arm-linux/BuildTools/Release+Asserts/bin/llvm-tblgen] Error 1 make: *** [TableGen/.makeall] Error 2
make: *** [all] Error 1 make: *** [cross-compile-build-tools] Error 1
It looks to me like the Apple ld doesn't like --version-script. How are the make rules (or configure) deciding to use --version-script, and what should I do to change their mind?