Closed Bug 246263 Opened 21 years ago Closed 21 years ago

reserve more space for executable when using prebinding

Categories

(SeaMonkey :: Build Config, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bryner, Assigned: bryner)

Details

Attachments

(1 file)

For Firefox static builds, we need to move the base addresses of dependent libraries up a bit or the executable runs into NSPR and the application does not launch prebound. The new addresses I'm using are still well within the allowable range for application libraries (see http://developer.apple.com/documentation/Performance/Conceptual/LaunchTime/Tasks/Prebinding.html)
Attached patch patchSplinter Review
Comment on attachment 150473 [details] [diff] [review] patch verbal r=ben
Attachment #150473 - Flags: review+
checked in
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
I've seen this same problem on Mozilla suite builds (up to and including 1.7rc3): /usr/libexec/fix_prebinding: /usr/local/Applications/Mozilla.app/Contents/MacOS/libnspr4.dylib must be slid, but fix_prebinding could not find a good place to relocate it. Given the planned long lifetime of 1.7 and minimal exposure of this update (plus the performance improvement), any chance of getting it into 1.7?
Flags: blocking1.7?
Flags: blocking1.7? → blocking1.7-
Warning of the following build of firefox of AVIARY_1_0_20040515_BRANCH comes out. ld: warning prebinding disabled because (__TEXT segment (address = 0x6000000 size = 0x67000) of @executable_path/libmozjs.dylib overlaps with __TEXT segment (address = 0x6000000 size = 0x1b000) of @executable_path/libssl3.dylib ld: warning prebinding disabled because (__TEXT segment (address = 0x6000000 size = 0x67000) of @executable_path/libmozjs.dylib overlaps with __DATA segment (address = 0x601b000 size = 0x2000) of @executable_path/libssl3.dylib ld: warning prebinding disabled because (__TEXT segment (address = 0x6000000 size = 0x67000) of @executable_path/libmozjs.dylib overlaps with __LINKEDIT segment (address = 0x601d000 size = 0x80b4) of @executable_path/libssl3.dylib ld: warning prebinding disabled because (__TEXT segment (address = 0x7000000 size = 0x83000) of @executable_path/libxpcom.dylib overlaps with __TEXT segment (address = 0x7000000 size = 0x5d000) of @executable_path/libnss3.dylib ld: warning prebinding disabled because (__TEXT segment (address = 0x7000000 size = 0x83000) of @executable_path/libxpcom.dylib overlaps with __DATA segment (address = 0x705d000 size = 0x5000) of @executable_path/libnss3.dylib ld: warning prebinding disabled because (__TEXT segment (address = 0x7000000 size = 0x83000) of @executable_path/libxpcom.dylib overlaps with __LINKEDIT segment (address = 0x7062000 size = 0x22d80) of @executable_path/libnss3.dylib ld: warning prebinding disabled because (__DATA segment (address = 0x7083000 size = 0x7000) of @executable_path/libxpcom.dylib overlaps with __LINKEDIT segment (address = 0x7062000 size = 0x22d80) of @executable_path/libnss3.dylib strip -x -S firefox-bin /Users/sek/Documents/mozilla-current/10firefox/mozilla/config/nsinstall -t -m 755 firefox-bin ../../dist/bin
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: