<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - missing trailing space in EXTRA_FLAGS prevents libc++ from compiling"
   href="http://llvm.org/bugs/show_bug.cgi?id=15761">15761</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>missing trailing space in EXTRA_FLAGS prevents libc++ from compiling
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>hhinnant@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gonzalobg88@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>There is a missing space at the end of the EXTRA_FLAGS variable inside the
buildit script that prevents libc++ from compiling. Currently: 

EXTRA_FLAGS="-std=c++0x -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion \ 
             -Wnewline-eof -Wpadded -Wmissing-prototypes -Wstrict-aliasing=2 \  
             -Wstrict-overflow=4"

Produces the following error in MacOS:

+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-c -g -Os -arch i386 -arch x86_64 -std=c++0x -fstrict-aliasing -Wall -Wextra
-Wshadow -Wconversion -Wnewline-eof -Wpadded -Wmissing-prototypes
-Wstrict-aliasing=2 -Wstrict-overflow=4-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/
-nostdinc++ -I../include ../src/algorithm.cpp
clang: warning: unknown warning option '-Wstrict-overflow=4-isysroot'; did you
mean '-Wshift-overflow'?
clang: warning:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/:
'linker' input unused
warning: unknown warning option '-Wstrict-overflow=4-isysroot'; did you mean
'-Wshift-overflow'? [-Wunknown-warning-option]


As you see there is a missing space between -Wstrict-overflow=4 and -isysroot. 

This can be fixed by just appending an extra space:

EXTRA_FLAGS="-std=c++0x -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion \ 
             -Wnewline-eof -Wpadded -Wmissing-prototypes -Wstrict-aliasing=2 \  
             -Wstrict-overflow=4 "</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>