[LLVMbugs] [Bug 15761] New: missing trailing space in EXTRA_FLAGS prevents libc++ from compiling
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Apr 16 05:40:31 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15761
Bug ID: 15761
Summary: missing trailing space in EXTRA_FLAGS prevents libc++
from compiling
Product: libc++
Version: 3.2
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: release blocker
Priority: P
Component: All Bugs
Assignee: hhinnant at apple.com
Reporter: gonzalobg88 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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 "
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130416/8db9ba90/attachment.html>
More information about the llvm-bugs
mailing list