[LLVMdev] LLVM-GCC builds on OS X 10.5, fails on 10.6
Trevor Harmon
Trevor.W.Harmon at nasa.gov
Thu Jan 27 07:29:01 PST 2011
Hi,
For months now I've been building LLVM-GCC on a Mac OS X laptop without problems. Recently I switched to a different laptop, and I can no longer build LLVM-GCC. (LLVM itself builds fine on both platforms.) The build commands I'm using are identical, and I always start from a clean unpack of the version 2.8 tarball. However, the old laptop ran OS X 10.5 while the new one runs OS X 10.6. (There are other differences, but that is the most significant.)
I'm not sure how to debug the issue because the GCC compiler error is not only cryptic, it's one of the longest I've ever seen. I'm also seeing prior errors such as:
libLLVMBitReader.a, file was built for unsupported file format which is not the architecture being linked (i386)
I'm using "--with-arch=nocona", which I believe is correct for all OS X 10.6 hardware.
Any tips on how to fix this? A link to the complete build log is below. Thanks,
Trevor
http://vocaro.com/trevor/files/llvm-gcc-build-failure.txt
More information about the llvm-dev
mailing list