Note that gcc 4.0.1 will trip internal LLVM asserts (e.g., pred_iterator) if compiling
authorScott Michel <scottm@aero.org>
Tue, 18 Mar 2008 23:13:26 +0000 (23:13 +0000)
committerScott Michel <scottm@aero.org>
Tue, 18 Mar 2008 23:13:26 +0000 (23:13 +0000)
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

docs/GettingStarted.html

index 24f422ea9eec265843a4b06b732597f6107f14f9..b2c2aca6c56db569b566522ba08bd8dfa1403dd8 100644 (file)
@@ -236,7 +236,7 @@ software you will need.</p>
   <td>GCC</td>
 </tr>
 <tr>
-  <td>MacOS X<sup><a href="#pf_2">2</a></sup></td>
+  <td>MacOS X<sup><a href="#pf_2">2</a>,<a href="#pf_9">9</a></sup></td>
   <td>x86</td>
   <td>GCC</td>
 
@@ -320,6 +320,11 @@ project.</li>
     future. We highly recommend that you rebuild your current binutils with the
     patch from <a href="http://sourceware.org/bugzilla/show_bug.cgi?id=2659">
     Binutils bugzilla</a>, if it wasn't already applied.</li>
+<li><a name="pf_9">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., <i>&ldquo;-O1&rdquo;</i> and higher).
+    Add <i>OPTIMIZE_OPTION=&quot;-O0&quot;</i> to the build command line
+    if compiling for LLVM Release or bootstrapping the LLVM toolchain.</li>
 </ol>
 </div>