Bug 53681

Summary: REGRESSION: Can't link WebCore on 32-bit Leopard
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: lforschler, zimmermann
Priority: P2 Keywords: InRadar, PlatformOnly
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://build.webkit.org/builders/Leopard%20Intel%20Debug%20%28Build%29/builds/28760/steps/compile-webkit/logs/stdio
Attachments:
Description Flags
Fix the Leopard 32bit debug build. webkit.review.bot: review-, webkit.review.bot: commit-queue-

Adam Roben (:aroben)
Reported 2011-02-03 07:07:14 PST
WebCore is failing to link on 32-bit Leopard, with the following errors: Ld /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug/build/WebKitBuild/Debug/WebCore.framework/Versions/A/WebCore normal i386 cd /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug/build/Source/WebCore /Developer/usr/bin/g++-4.2 -arch i386 -dynamiclib -L/Volumes/Big/WebKit-BuildSlave/leopard-intel-debug/build/WebKitBuild/Debug -F/Volumes/Big/WebKit-BuildSlave/leopard-intel-debug/build/WebKitBuild/Debug -F/System/Library/Frameworks/Carbon.framework/Frameworks -F/System/Library/Frameworks/ApplicationServices.framework/Frameworks -filelist /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug/build/WebKitBuild/WebCore.build/Debug/WebCore.build/Objects-normal/i386/WebCore.LinkFileList -Wl,--no-demangle -exported_symbols_list /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug/build/WebKitBuild/Debug/DerivedSources/WebCore/WebCore.exp -install_name /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug/build/WebKitBuild/Debug/WebCore.framework/Versions/A/WebCore -mmacosx-version-min=10.5 -lWebCoreSQLite3 -lobjc -lANGLE -sub_library libobjc -umbrella WebKit -framework Accelerate -framework ApplicationServices -framework AudioToolbox -framework AudioUnit -framework Carbon -framework Cocoa -framework CoreAudio -framework IOKit -framework JavaScriptCore -licucore -lobjc -lxml2 -lz -framework OpenGL -framework QuartzCore -framework SystemConfiguration -Wl,-single_module -compatibility_version 1 -current_version 534.17 -o /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug/build/WebKitBuild/Debug/WebCore.framework/Versions/A/WebCore collect2: ld terminated with signal 6 [Abort trap] ld(81604) malloc: *** mmap(size=68210688) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug ld(81604) malloc: *** mmap(size=33333248) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc A quick Google search indicates that this is due to the linker running out of address space.
Attachments
Fix the Leopard 32bit debug build. (30.49 KB, patch)
2011-02-07 17:41 PST, Lucas Forschler
webkit.review.bot: review-
webkit.review.bot: commit-queue-
Adam Roben (:aroben)
Comment 1 2011-02-03 07:07:34 PST
We've had this problem on Windows before, and have fixed it by combining multiple .cpp files into a single *AllInOne.cpp file.
Adam Roben (:aroben)
Comment 2 2011-02-03 07:08:07 PST
This started happening between r77358 and r77360, but I don't think those revisions are directly to blame.
Adam Roben (:aroben)
Comment 3 2011-02-03 07:08:25 PST
Lucas Forschler
Comment 4 2011-02-07 17:41:27 PST
Created attachment 81558 [details] Fix the Leopard 32bit debug build. This could break windows. Will watch EWS to make sure.
WebKit Review Bot
Comment 5 2011-02-07 17:48:54 PST
Comment on attachment 81558 [details] Fix the Leopard 32bit debug build. Rejecting attachment 81558 [details] from review queue. lforschler@apple.com does not have reviewer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py. - If you do not have reviewer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have reviewer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your reviewer rights.
WebKit Review Bot
Comment 6 2011-02-07 17:59:35 PST
Comment on attachment 81558 [details] Fix the Leopard 32bit debug build. Rejecting attachment 81558 [details] from commit-queue. lforschler@apple.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Lucas Forschler
Comment 7 2011-02-08 10:15:37 PST
Note You need to log in before you can comment on or make changes to this bug.