Bug 55594 - REGRESSION (r79984-r79989): WebCore fails to link on 32-bit Leopard
Summary: REGRESSION (r79984-r79989): WebCore fails to link on 32-bit Leopard
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://build.webkit.org/builders/Leop...
Keywords: InRadar, MakingBotsRed, PlatformOnly
Depends on:
Blocks:
 
Reported: 2011-03-02 11:00 PST by Adam Roben (:aroben)
Modified: 2011-03-15 10:33 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-03-02 11:00:49 PST
WebCore is once again failing to link on 32-bit Leopard. This time it started happening somewhere between:

http://build.webkit.org/builders/Leopard%20Intel%20Debug%20%28Build%29/builds/30803
http://build.webkit.org/builders/Leopard%20Intel%20Debug%20%28Build%29/builds/30807
Comment 1 Adam Roben (:aroben) 2011-03-02 11:01:25 PST
<rdar://problem/9075771>
Comment 2 Adam Roben (:aroben) 2011-03-02 11:31:40 PST
Here's the error that shows we're running out of address space:


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
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
    /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.23 -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(22152) malloc: *** mmap(size=70266880) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
ld(22152) malloc: *** mmap(size=34250752) 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
Comment 4 David Kilzer (:ddkilzer) 2011-03-15 10:33:45 PDT
Mark Rowe used his +1 sledge hammer of debug symbols to fix this in r81050.

<http://trac.webkit.org/changeset/81050>