From: Scott Michel Date: Tue, 18 Mar 2008 23:13:26 +0000 (+0000) Subject: Note that gcc 4.0.1 will trip internal LLVM asserts (e.g., pred_iterator) if compiling X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=050bc81936026b292e9e0c4256830062a59045c7;p=oota-llvm.git Note that gcc 4.0.1 will trip internal LLVM asserts (e.g., pred_iterator) if compiling for Release with optimization levels greater than -O0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48513 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index 24f422ea9ee..b2c2aca6c56 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -236,7 +236,7 @@ software you will need.

GCC - MacOS X2 + MacOS X2,9 x86 GCC @@ -320,6 +320,11 @@ project. future. We highly recommend that you rebuild your current binutils with the patch from Binutils bugzilla, if it wasn't already applied. +
  • XCode 2.5 and gcc 4.0.1 (Apple Build 5370) will trip + internal LLVM assert messages when compiled for Release at optimization + levels greater than 0 (i.e., “-O1” and higher). + Add OPTIMIZE_OPTION="-O0" to the build command line + if compiling for LLVM Release or bootstrapping the LLVM toolchain.