Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

System include not found when #including <vector> #8972

Closed Quuxplusone closed 13 years ago

Quuxplusone commented 13 years ago
Bugzilla Link PR8614
Status RESOLVED FIXED
Importance P normal
Reported by Nico Weber (nicolasweber@gmx.de)
Reported on 2010-11-15 12:05:46 -0800
Last modified on 2010-11-15 12:57:48 -0800
Version unspecified
Hardware PC All
CC chandlerc@gmail.com, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also

When compiling a file that #includes , I'm getting

"/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:64:10: fatal error: 'bits/c++config.h' file not found" with a trunk build when I compile a file that includes

with r119131. This used to work fine with an older revision (r118190).

I'm on Snow Leopard, but I'm using the 10.5 SDK.

Quuxplusone commented 13 years ago
Command line (sorry, didn't create a minimal test case – if you have troubles
reproducing, I will create one):

~/src/llvm/Release+Asserts/bin/clang++ -x c++ -arch i386 -fmessage-length=0 -
pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O0 -Werror -Wnewline-eof -
DCHROMIUM_BUILD -DENABLE_REMOTING=1 -DENABLE_GPU=1 -DCLD_WINDOWS -
DENABLE_3D_CANVAS=1 -DENABLE_3D_PLUGIN=1 -DENABLE_BLOB=1 -DENABLE_BLOB_SLICE=1 -
DENABLE_CHANNEL_MESSAGING=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATABASE=1 -
DENABLE_DATAGRID=0 -DENABLE_DEVICE_ORIENTATION=1 -DENABLE_DIRECTORY_UPLOAD=1 -
DENABLE_DOM_STORAGE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_FILE_SYSTEM=1 -
DENABLE_FILTERS=1 -DENABLE_GEOLOCATION=1 -DENABLE_ICONDATABASE=0 -
DENABLE_INDEXED_DATABASE=1 -DENABLE_INPUT_SPEECH=1 -
DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_JSC_MULTIPLE_THREADS=0 -
DENABLE_LINK_PREFETCH=1 -DENABLE_METER_TAG=1 -DENABLE_NOTIFICATIONS=1 -
DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_OPENTYPE_SANITIZER=1 -
DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PROGRESS_TAG=1 -DENABLE_RUBY=1 -
DENABLE_SANDBOX=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SVG=1 -
DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_FONTS=1 -
DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_USE=1 -DENABLE_TOUCH_EVENTS=1 -
DENABLE_V8_SCRIPT_DEBUG_SERVER=1 -DENABLE_VIDEO=1 -DENABLE_WEB_SOCKETS=1 -
DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_RESPONSE_BLOB=1 -
DENABLE_XPATH=1 -DENABLE_XSLT=1 -DWTF_USE_WEBP=1 -
DWTF_USE_WEBKIT_IMAGE_DECODERS=1 -DWTF_USE_ACCELERATED_COMPOSITING=1 -
DENABLE_3D_RENDERING=1 -DENABLE_ACCELERATED_2D_CANVAS=1 -DBUILDING_CHROMIUM__=1
-DUSE_SYSTEM_MALLOC=1 -DWTF_USE_NEW_THEME=1 -DNACL_WINDOWS=0 -DNACL_LINUX=0 -
DNACL_OSX=1 -DNACL_TARGET_SUBARCH=32 -DNACL_BUILD_SUBARCH=32 -
DGOOGLE_PROTOBUF_NO_RTTI -DUNIT_TEST -DGTEST_HAS_RTTI=0 -DCOMPILER_GCC -
DXML_STATIC -DFEATURE_ENABLE_SSL -DFEATURE_ENABLE_VOICEMAIL -
DEXPAT_RELATIVE_PATH -DOSX -DPOSIX -DLIBXML_STATIC -D__STDC_FORMAT_MACROS -
DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_DEBUG -isysroot
/Developer/SDKs/MacOSX10.5.sdk -fvisibility=hidden -fvisibility-inlines-hidden -
fno-threadsafe-statics -mmacosx-version-min=10.5 -gdwarf-2 -Wall -Wendif-labels
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers -
F/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/Debug -
F/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/Debug/include -
I../third_party/icu/public/common -I../third_party/icu/public/i18n -I.. -
I../third_party/cld -I../third_party/GTM -I../third_party/GTM/AppKit -I../gpu -
I../third_party -I../third_party/WebKit/WebCore/platform/graphics/cocoa -
I../third_party/WebKit/WebCore/platform/graphics/cg -
I../third_party/WebKit/WebCore -I../third_party/WebKit/WebCore/accessibility -
I../third_party/WebKit/WebCore/accessibility/chromium -
I../third_party/WebKit/WebCore/bindings -
I../third_party/WebKit/WebCore/bindings/generic -
I../third_party/WebKit/WebCore/bindings/v8 -
I../third_party/WebKit/WebCore/bindings/v8/custom -
I../third_party/WebKit/WebCore/bindings/v8/specialization -
I../third_party/WebKit/WebCore/css -I../third_party/WebKit/WebCore/dom -
I../third_party/WebKit/WebCore/dom/default -
I../third_party/WebKit/WebCore/editing -I../third_party/WebKit/WebCore/fileapi -
I../third_party/WebKit/WebCore/history -I../third_party/WebKit/WebCore/html -
I../third_party/WebKit/WebCore/html/canvas -
I../third_party/WebKit/WebCore/html/parser -
I../third_party/WebKit/WebCore/inspector -I../third_party/WebKit/WebCore/loader
-I../third_party/WebKit/WebCore/loader/appcache -
I../third_party/WebKit/WebCore/loader/archive -
I../third_party/WebKit/WebCore/loader/cache -
I../third_party/WebKit/WebCore/loader/icon -
I../third_party/WebKit/WebCore/mathml -
I../third_party/WebKit/WebCore/notifications -
I../third_party/WebKit/WebCore/page -
I../third_party/WebKit/WebCore/page/animation -
I../third_party/WebKit/WebCore/page/chromium -
I../third_party/WebKit/WebCore/platform -
I../third_party/WebKit/WebCore/platform/animation -
I../third_party/WebKit/WebCore/platform/chromium -
I../third_party/WebKit/WebCore/platform/graphics -
I../third_party/WebKit/WebCore/platform/graphics/chromium -
I../third_party/WebKit/WebCore/platform/graphics/filters -
I../third_party/WebKit/WebCore/platform/graphics/gpu -
I../third_party/WebKit/WebCore/platform/graphics/opentype -
I../third_party/WebKit/WebCore/platform/graphics/skia -
I../third_party/WebKit/WebCore/platform/graphics/transforms -
I../third_party/WebKit/WebCore/platform/image-decoders -
I../third_party/WebKit/WebCore/platform/image-decoders/bmp -
I../third_party/WebKit/WebCore/platform/image-decoders/gif -
I../third_party/WebKit/WebCore/platform/image-decoders/ico -
I../third_party/WebKit/WebCore/platform/image-decoders/jpeg -
I../third_party/WebKit/WebCore/platform/image-decoders/png -
I../third_party/WebKit/WebCore/platform/image-decoders/skia -
I../third_party/WebKit/WebCore/platform/image-decoders/xbm -
I../third_party/WebKit/WebCore/platform/image-decoders/webp -
I../third_party/WebKit/WebCore/platform/image-encoders/skia -
I../third_party/WebKit/WebCore/platform/mock -
I../third_party/WebKit/WebCore/platform/network -
I../third_party/WebKit/WebCore/platform/network/chromium -
I../third_party/WebKit/WebCore/platform/sql -
I../third_party/WebKit/WebCore/platform/text -
I../third_party/WebKit/WebCore/platform/text/transcoder -
I../third_party/WebKit/WebCore/plugins -
I../third_party/WebKit/WebCore/plugins/chromium -
I../third_party/WebKit/WebCore/rendering -
I../third_party/WebKit/WebCore/rendering/style -
I../third_party/WebKit/WebCore/rendering/svg -
I../third_party/WebKit/WebCore/storage -
I../third_party/WebKit/WebCore/storage/chromium -
I../third_party/WebKit/WebCore/svg -
I../third_party/WebKit/WebCore/svg/animation -
I../third_party/WebKit/WebCore/svg/graphics -
I../third_party/WebKit/WebCore/svg/graphics/filters -
I../third_party/WebKit/WebCore/svg/properties -
I../third_party/WebKit/WebCore/websockets -
I../third_party/WebKit/WebCore/workers -I../third_party/WebKit/WebCore/xml -
I../third_party/WebKit/WebCore/loader/archive/cf -
I../third_party/WebKit/WebCore/platform/graphics/mac -
I../third_party/WebKit/WebCore/platform/mac -
I../third_party/WebKit/WebCore/platform/text/mac -
I../third_party/WebKit/WebKitLibraries -
I../third_party/WebKit/WebKit/mac/WebCoreSupport -
I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/DerivedSources/Debug/webkit
-
I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/DerivedSources/Debug/webkit/bindings
-I../third_party/WebKit/JavaScriptCore -
I../third_party/WebKit/JavaScriptCore/wtf -I../v8/include -
I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/DerivedSources/Debug/protoc_out
-I../third_party/protobuf -I../third_party/protobuf/src -
I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/DerivedSources/Debug/chrome
-I../third_party/mesa/MesaLib/include -
I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/DerivedSources/Debug/app -
I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/DerivedSources/Debug/app/app_resources
-I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/DerivedSources/Debug/net
-I../skia/config -I../third_party/skia/include/config -
I../third_party/skia/include/core -I../third_party/skia/include/effects -
I../skia/ext -I../testing/gmock/include -I../testing/gtest/include -
I../third_party/bzip2 -I../third_party/expat/files/lib -
I../third_party/libjingle/overrides -I../third_party/libjingle/source -
I../third_party/expat/files -I../third_party/libxml/mac/include -
I../third_party/libxml/src/include -I../third_party/npapi -
I../third_party/npapi/bindings -I../third_party/ocmock -
I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/chrome.build/Debug/unit_tests.build/DerivedSources/i386
-
I/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/chrome.build/Debug/unit_tests.build/DerivedSources
-c
/Volumes/Data/thakis/chrome/src/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
-o
/Volumes/Data/thakis/chrome/src/chrome/../xcodebuild/chrome.build/Debug/unit_tests.build/Objects-normal/i386/profile_sync_service_typed_url_unittest.o
Quuxplusone commented 13 years ago

On IRC:

konablend: thakis_: i think 8614 is fixed in already - reproduced error on r119131 but no error with r119162

will check…

Quuxplusone commented 13 years ago

Works fine in r119171.