[LLVMdev] Canonical compilers for building LLVM?

Patrik Hägglund H patrik.h.hagglund at ericsson.com
Fri Jun 8 02:13:16 PDT 2012


Compiling LLVM with gcc, 4.3 and upwards, seems to give compile warnings. Is there any canonical gcc version that should be used (for building trunk)?

>From http://llvm.org/docs/HowToReleaseLLVM.html#release-build:

  The builds of llvm, clang, and dragonegg must be free of errors and warnings in Debug, Release+Asserts, and Release builds.
  The table below specifies which compilers are used for each Arch/OS combination when qualifying the build of llvm, clang, and dragonegg.
  [...]
  x86-64        Linux   gcc 4.2.X, gcc 4.3.X

This seems not to be true for the 3.1 release. I get ~10 warnings building llvm+clang, Release+Asserts using the gcc-4.3.4 version provided by SLED11.1 on x86-64.

/Patrik Hägglund

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120608/42142f44/attachment.html>


More information about the llvm-dev mailing list