WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 69914
[Qt] QtWebKit build error for Mac 32bit
https://bugs.webkit.org/show_bug.cgi?id=69914
Summary
[Qt] QtWebKit build error for Mac 32bit
Eike Ziller
Reported
2011-10-12 01:42:02 PDT
QtWebKit as it is in Qt 4.8, 18943d3203a794f3f3173be6ec51c15db83db9e1, configured with -nokia-developer -no-pch -arch x86 fails with distcc[73474] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.mm on localhost failed make[3]: *** [.obj/debug-shared/WebCoreSystemInterface.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:8, from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:34, from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12, from ../../../../../include/QtGui/../../../4.8/src/gui/kernel/qmacdefines_mac.h:113, from ../../../../../include/QtGui/qmacdefines_mac.h:1, from ../../../../../include/QtGui/../../../4.8/src/gui/kernel/qwindowdefs.h:99, from ../../../../../include/QtGui/qwindowdefs.h:1, from ../../../../../include/QtGui/../../../4.8/src/gui/painting/qregion.h:47, from ../../../../../include/QtGui/qregion.h:1, from ../../../../../include/QtGui/../../../4.8/src/gui/painting/qmatrix.h:46, from ../../../../../include/QtGui/qmatrix.h:1, from ../../../../../lib/QtGui.framework/Versions/4/Headers/qtransform.h:44, from ../../../../../lib/QtGui.framework/Versions/4/Headers/QTransform:1, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:44, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/GraphicsLayer.h:38, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayer.h:45, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayerPrivate.h:31, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.h:31, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:30: /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:58: error: conflicting declaration ‘typedef struct _NSSize NSSize’ /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/FloatSize.h:40: error: ‘NSSize’ has a previous declaration as ‘typedef struct CGSize NSSize’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: conflicting declaration ‘typedef struct _NSRect NSRect’ /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntRect.h:38: error: ‘NSRect’ has a previous declaration as ‘typedef struct CGRect NSRect’ distcc[73468] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/plugins/mac/PluginViewMac.mm on localhost failed make[3]: *** [.obj/debug-shared/PluginViewMac.o] Error 1 In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:49: /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.h:32: error: conflicting declaration ‘typedef struct CGPoint NSPoint’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:50: error: ‘NSPoint’ has a previous declaration as ‘typedef struct _NSPoint NSPoint’ In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm:32: /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.h:32: error: conflicting declaration ‘typedef struct CGPoint NSPoint’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:50: error: ‘NSPoint’ has a previous declaration as ‘typedef struct _NSPoint NSPoint’ /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.h:33: error: conflicting declaration ‘typedef struct CGRect NSRect’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: ‘NSRect’ has a previous declaration as ‘typedef struct _NSRect NSRect’ /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm: In static member function ‘static void WebCore::MediaPlayerPrivateQTKit::getSitesInMediaCache(WTF::Vector<WTF::String, 0ul>&)’: /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:1514: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement distcc[73560] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm on localhost failed make[3]: *** [.obj/release-shared/MediaPlayerPrivateQTKit.o] Error 1 make[2]: *** [release-all] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom/ViewportArguments.h:30, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom/Document.h:42, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom/Element.h:28, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom/StyledElement.h:28, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/HTMLElement.h:26, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/HTMLMediaElement.h:31, from /Users/ziller/git/4.8/src/3rdparty/webkit/include/WebCore/HTMLMediaElement.h:1, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm:33: /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntSize.h:35: error: conflicting declaration ‘typedef struct CGSize NSSize’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:58: error: ‘NSSize’ has a previous declaration as ‘typedef struct _NSSize NSSize’ In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayer.h:36, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/HTMLMediaElement.h:34, from /Users/ziller/git/4.8/src/3rdparty/webkit/include/WebCore/HTMLMediaElement.h:1, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm:33: /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntRect.h:38: error: conflicting declaration ‘typedef struct CGRect NSRect’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: ‘NSRect’ has a previous declaration as ‘typedef struct _NSRect NSRect’ In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/FloatPoint.h:30, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/GraphicsLayer.h:33, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayer.h:45, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/HTMLMediaElement.h:34, from /Users/ziller/git/4.8/src/3rdparty/webkit/include/WebCore/HTMLMediaElement.h:1, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm:33: /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/FloatSize.h:40: error: conflicting declaration ‘typedef struct CGSize NSSize’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:58: error: ‘NSSize’ has a previous declaration as ‘typedef struct _NSSize NSSize’ distcc[73601] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm on localhost failed make[3]: *** [.obj/debug-shared/WebVideoFullscreenHUDWindowController.o] Error 1 In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:8, from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:34, from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12, from ../../../../../include/QtGui/../../../4.8/src/gui/kernel/qmacdefines_mac.h:113, from ../../../../../include/QtGui/qmacdefines_mac.h:1, from ../../../../../include/QtGui/../../../4.8/src/gui/kernel/qwindowdefs.h:99, from ../../../../../include/QtGui/qwindowdefs.h:1, from ../../../../../include/QtGui/../../../4.8/src/gui/painting/qregion.h:47, from ../../../../../include/QtGui/qregion.h:1, from ../../../../../include/QtGui/../../../4.8/src/gui/painting/qmatrix.h:46, from ../../../../../include/QtGui/qmatrix.h:1, from ../../../../../lib/QtGui.framework/Versions/4/Headers/qtransform.h:44, from ../../../../../lib/QtGui.framework/Versions/4/Headers/QTransform:1, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:44, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/GraphicsLayer.h:38, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayer.h:45, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayerPrivate.h:31, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.h:31, from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:30: /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:58: error: conflicting declaration ‘typedef struct _NSSize NSSize’ /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/FloatSize.h:40: error: ‘NSSize’ has a previous declaration as ‘typedef struct CGSize NSSize’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: conflicting declaration ‘typedef struct _NSRect NSRect’ /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntRect.h:38: error: ‘NSRect’ has a previous declaration as ‘typedef struct CGRect NSRect’ In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:49: /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.h:32: error: conflicting declaration ‘typedef struct CGPoint NSPoint’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:50: error: ‘NSPoint’ has a previous declaration as ‘typedef struct _NSPoint NSPoint’ /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm: In static member function ‘static void WebCore::MediaPlayerPrivateQTKit::getSitesInMediaCache(WTF::Vector<WTF::String, 0ul>&)’: /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:1514: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement distcc[73517] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm on localhost failed make[3]: *** [.obj/debug-shared/MediaPlayerPrivateQTKit.o] Error 1 distcc[73613] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm on lasse-mac.local. failed distcc[73613] (dcc_build_somewhere) Warning: remote compilation of '/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm' failed, retrying locally distcc[73613] Warning: failed to distribute /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm to lasse-mac.local., running locally instead In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm:31: /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebCoreSystemInterface.h:62: error: conflicting declaration ‘typedef struct CGPoint NSPoint’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:50: error: ‘NSPoint’ has a previous declaration as ‘typedef struct _NSPoint NSPoint’ /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebCoreSystemInterface.h:63: error: conflicting declaration ‘typedef struct CGRect NSRect’ /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: ‘NSRect’ has a previous declaration as ‘typedef struct _NSRect NSRect’ distcc[73613] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm on localhost failed make[3]: *** [.obj/debug-shared/WebWindowAnimation.o] Error 1
Attachments
patch for feedback.
(1.47 KB, patch)
2011-10-13 06:42 PDT
,
Zeno Albisser
no flags
Details
Formatted Diff
Diff
patch for feedback.
(2.00 KB, patch)
2011-10-13 07:03 PDT
,
Zeno Albisser
no flags
Details
Formatted Diff
Diff
patch for review.
(2.00 KB, patch)
2011-10-13 08:23 PDT
,
Zeno Albisser
no flags
Details
Formatted Diff
Diff
patch for review.
(2.10 KB, patch)
2011-10-13 08:24 PDT
,
Zeno Albisser
hausmann
: review+
kling
: commit-queue-
Details
Formatted Diff
Diff
patch for landing.
(2.11 KB, patch)
2011-10-13 11:20 PDT
,
Zeno Albisser
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Simon Hausmann
Comment 1
2011-10-12 01:43:19 PDT
Alexis, does this ring a bell? :)
Simon Hausmann
Comment 2
2011-10-12 03:07:55 PDT
This bug originates from
https://bugreports.qt.nokia.com/browse/QTBUG-21984
(it's a Qt 4.8 release blocking bug at the moment)
Alexis Menard (darktears)
Comment 3
2011-10-13 03:54:53 PDT
(In reply to
comment #1
)
> Alexis, does this ring a bell? :)
I already had similar errors BUT : /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:1514: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement is really weird to me. Which version of Mac OS the thing is running? We don't support less than 10.5.
Zeno Albisser
Comment 4
2011-10-13 04:17:24 PDT
According to Eike this is a Mac OS 10.6.x. But he is building 32bit version. And 32bit is still supported in Snow Leopard. I will try to reproduce this issue.
Eike Ziller
Comment 5
2011-10-13 04:19:04 PDT
I'm running Mac OS X 10.6.8 64bit, Xcode 4.0.2
Eike Ziller
Comment 6
2011-10-13 04:45:50 PDT
The build command: gcc -c -pipe -g -arch i386 -arch i386 -Xarch_i386 -mmacosx-version-min=10.4 -DNDEBUG -DBUILDING_QT__=1 -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1 -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATION_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=1 -DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=1 -DWTF_USE_QTKIT=1 -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DBUILDING_JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT -DQT_MAKEDLL -DNSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_SHARED -I/Users/ziller/git/4.8/mkspecs/macx-g++ -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore -I../../../../../lib/QtCore.framework/Versions/4/Headers -I../../../../../include/QtCore -I../../../../../lib/QtNetwork.framework/Versions/4/Headers -I../../../../../include/QtNetwork -I../../../../../lib/QtGui.framework/Versions/4/Headers -I../../../../../include/QtGui -I../../../../../include -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/ThirdParty -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/assembler -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/bytecode -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/bytecompiler -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/heap -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/dfg -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/debugger -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/interpreter -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/jit -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/parser -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/profiler -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/runtime -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/wtf -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/wtf/unicode -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/yarr -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/API -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/ForwardingHeaders -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/JavaScriptCore/generated -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/bridge/qt -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/page/qt -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/qt -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/network/qt -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebKit/qt/Api -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/accessibility -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/bindings -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/bindings/generic -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/bridge -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/css -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom/default -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/editing -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/fileapi -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/history -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/canvas -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/parser -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/shadow -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/inspector -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/loader -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/loader/appcache -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/loader/archive -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/loader/cache -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/loader/icon -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/mathml -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/notifications -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/page -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/page/animation -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/animation -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/audio -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/filters -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/filters/arm -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/texmap -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/transforms -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/image-decoders -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/leveldb -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mock -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/network -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/sql -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/text -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/text/transcoder -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/plugins -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/rendering -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/rendering/mathml -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/rendering/style -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/rendering/svg -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/storage -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/svg -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/svg/animation -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/svg/graphics -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/svg/graphics/filters -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/svg/properties -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/testing -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/webaudio -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/websockets -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/wml -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/workers -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/xml -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/bridge/jsc -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/bindings/js -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/bridge/c -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/testing/js -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/generated -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source -I/Users/ziller/git/4.8/src/3rdparty/webkit/include -I../include/QtWebKit -I../include -I/Users/ziller/git/4.8/src/3rdparty/sqlite -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac -I/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac -I/Users/ziller/git/4.8/src/3rdparty/webkit/WebKitLibraries -I.moc/debug-static -I. -F/Users/ziller/git/qt-4.8-32/lib /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/plugins/mac/PluginViewMac.mm -o .obj/debug-shared/PluginViewMac.o
Zeno Albisser
Comment 7
2011-10-13 06:42:09 PDT
Created
attachment 110837
[details]
patch for feedback. this looks to me like it solves the problem. I wonder if this creates any binary compatibility issues we have to avoid? For example due to: /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:285 #if __LP64__ || (TARGET_OS_EMBEDDED && !TARGET_OS_IPHONE) || TARGET_OS_WIN32 || NS_BUILD_32_LIKE_64 typedef long NSInteger; typedef unsigned long NSUInteger; #else ... Any comments?
Zeno Albisser
Comment 8
2011-10-13 07:03:25 PDT
Created
attachment 110838
[details]
patch for feedback.
Alexis Menard (darktears)
Comment 9
2011-10-13 07:08:45 PDT
Comment on
attachment 110837
[details]
patch for feedback. View in context:
https://bugs.webkit.org/attachment.cgi?id=110837&action=review
> Source/WebCore/WebCore.pro:3115 > + DEFINES+=NS_BUILD_32_LIKE_64
I had the same patch but I wrapped the definition in a contains(CONFIG, "x86"). I was about to upload when I saw yours.
Alexis Menard (darktears)
Comment 10
2011-10-13 07:09:30 PDT
(In reply to
comment #7
)
> Created an attachment (id=110837) [details] > patch for feedback. > > this looks to me like it solves the problem. > I wonder if this creates any binary compatibility issues we have to avoid? > For example due to: > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:285 > #if __LP64__ || (TARGET_OS_EMBEDDED && !TARGET_OS_IPHONE) || TARGET_OS_WIN32 || NS_BUILD_32_LIKE_64 > typedef long NSInteger; > typedef unsigned long NSUInteger; > #else > ... > > Any comments?
We don't have any public API which rely on that so I don't think it is a problem.
Zeno Albisser
Comment 11
2011-10-13 07:52:11 PDT
hm... that probably makes sense... i'll wrap it and then upload it again.
Zeno Albisser
Comment 12
2011-10-13 08:23:44 PDT
Created
attachment 110847
[details]
patch for review.
Zeno Albisser
Comment 13
2011-10-13 08:24:51 PDT
Created
attachment 110848
[details]
patch for review.
Simon Hausmann
Comment 14
2011-10-13 09:18:45 PDT
Comment on
attachment 110848
[details]
patch for review. View in context:
https://bugs.webkit.org/attachment.cgi?id=110848&action=review
> Source/WebCore/WebCore.pro:3115 > + contains(CONFIG, "x86") {
Shouldn't this be QT_ARCH instead of CONFIG? Or does that not work when you do one of those multiple-archs-in-one-shot builds on Mac OS X?
Zeno Albisser
Comment 15
2011-10-13 09:55:27 PDT
i just tested that. But QT_ARCH in that case only gives you "macosx". So this seems not to be very helpful. (In reply to
comment #14
)
> (From update of
attachment 110848
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=110848&action=review
> > > Source/WebCore/WebCore.pro:3115 > > + contains(CONFIG, "x86") { > > Shouldn't this be QT_ARCH instead of CONFIG? Or does that not work when you do one of those multiple-archs-in-one-shot builds on Mac OS X?
Alexis Menard (darktears)
Comment 16
2011-10-13 10:37:18 PDT
(In reply to
comment #15
)
> i just tested that. But QT_ARCH in that case only gives you "macosx". > So this seems not to be very helpful. > > (In reply to
comment #14
) > > (From update of
attachment 110848
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=110848&action=review
> > > > > Source/WebCore/WebCore.pro:3115 > > > + contains(CONFIG, "x86") { > > > > Shouldn't this be QT_ARCH instead of CONFIG? Or does that not work when you do one of those multiple-archs-in-one-shot builds on Mac OS X?
And ARCH is empty. I couldn't come up with better than CONFIG.
Simon Hausmann
Comment 17
2011-10-13 10:44:36 PDT
(In reply to
comment #16
)
> (In reply to
comment #15
) > > i just tested that. But QT_ARCH in that case only gives you "macosx". > > So this seems not to be very helpful.
Ahh, right, that's how it was done.
> > (In reply to
comment #14
) > > > (From update of
attachment 110848
[details]
[details] [details]) > > > View in context:
https://bugs.webkit.org/attachment.cgi?id=110848&action=review
> > > > > > > Source/WebCore/WebCore.pro:3115 > > > > + contains(CONFIG, "x86") { > > > > > > Shouldn't this be QT_ARCH instead of CONFIG? Or does that not work when you do one of those multiple-archs-in-one-shot builds on Mac OS X? > > And ARCH is empty. > > I couldn't come up with better than CONFIG.
Ok, CONFIG it is then :)
Alexis Menard (darktears)
Comment 18
2011-10-13 10:48:36 PDT
Comment on
attachment 110848
[details]
patch for review. View in context:
https://bugs.webkit.org/attachment.cgi?id=110848&action=review
> Source/WebCore/ChangeLog:3 > + QtWebKit build error for Mac 32bit
I would add the usual [Qt]
Zeno Albisser
Comment 19
2011-10-13 11:20:02 PDT
Created
attachment 110882
[details]
patch for landing.
WebKit Review Bot
Comment 20
2011-10-13 12:46:33 PDT
Comment on
attachment 110882
[details]
patch for landing. Clearing flags on attachment: 110882 Committed
r97387
: <
http://trac.webkit.org/changeset/97387
>
WebKit Review Bot
Comment 21
2011-10-13 12:46:40 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug