I'm attempting to build aosp_arm64-eng on my x86_64 desktop box. I ran repo sync, then lunch aosp_arm64-eng, then make -j8. Make eventually fails with a lot of messages along these lines:
external/libcxx/src/strstream.cpp:318: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:318: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:318: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:104: error: unsupported reloc 43
external/libcxx/include/streambuf:219: error: unsupported reloc 43
external/libcxx/include/streambuf:219: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:322: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:322: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:322: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:322: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:104: error: unsupported reloc 43
external/libcxx/include/streambuf:219: error: unsupported reloc 43
external/libcxx/include/streambuf:219: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:326: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:326: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:326: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:326: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:326: error: unsupported reloc 43
external/libcxx/src/strstream.cpp:326: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:20: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:166: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:172: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:178: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:184: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:190: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:196: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:207: error: unsupported reloc 43
external/libcxx/src/system_error.cpp:207: error: unsupported reloc 43
external/libcxx/src/thread.cpp:44: error: unsupported reloc 43
external/libcxx/src/thread.cpp:44: error: unsupported reloc 43
external/libcxx/src/thread.cpp:63: error: unsupported reloc 43
external/libcxx/src/thread.cpp:63: error: unsupported reloc 43
external/libcxx/src/thread.cpp:133: error: unsupported reloc 43
external/libcxx/src/thread.cpp:133: error: unsupported reloc 43
external/libcxx/include/thread:146: error: unsupported reloc 43
external/libcxx/include/thread:149: error: unsupported reloc 43
external/libcxx/include/thread:149: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj32/lib/libc++.so] Error 1
Googling leads me to believe this may be a clang issue? Is it still possible to compile with gcc rather than clang?