Closed Bug 194662 Opened 22 years ago Closed 22 years ago

[mach] mach-o static builds busted

Categories

(SeaMonkey :: Build Config, defect)

PowerPC
macOS
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.4alpha

People

(Reporter: netscape, Assigned: netscape)

Details

Attachments

(4 files, 1 obsolete file)

The build fails complaining about object files having 'local relocation entries
in non-writable section (__TEXT,__text)'.  This is caused by linking in object
files which were not compiled with -fPIC.
Attachment #115350 - Flags: review?(ccarlen)
Comment on attachment 115350 [details] [diff] [review]
Sprinkle FORCE_USE_PIC liberally

r=ccarlen

Is there a perf hit for using fPIC on PowerPC? I kinda doubt it. If there's any
OSX-specific doc on this issue that you read, I'd be curious.
Attachment #115350 - Flags: review?(ccarlen) → review+
Attached patch Fix intree zlib static builds (obsolete) — Splinter Review
Silly ordering issue though as the warning states, we may want to think about
using -bind_at_load as lazy loading could cause the wrong set of symbols to be
loaded.
Attached patch fix viewer tooSplinter Review
Attachment #115599 - Attachment is obsolete: true
Attachment #115619 - Flags: review?(bryner)
Comment on attachment 115619 [details] [diff] [review]
fix viewer too

conrad: yeah, there will be some perf hit.. but its probably not too noticable.
Attachment #115619 - Flags: review?(bryner) → review+
Patch has been checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.4alpha
verified
Status: RESOLVED → VERIFIED
I made several attempts to run a static build on the nightly build machine, by
adding the following options to mozconfig:
ac_add_options --enable-static
ac_add_options --disable-shared

... but never succeeded.
Log file will follow.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: