Closed Bug 1407 Opened 26 years ago Closed 26 years ago

autoconfig does not invoke linker correctly on OpenBSD/i386

Categories

(SeaMonkey :: Build Config, defect, P2)

Other
OpenBSD
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: kstailey, Assigned: briano)

Details

OpenBSD/i386 2.4 comes with gcc 2.8.1, but uses the customized GNU ld that it inherited from NetBSD. Certain other OpenBSD architectures use binutils ld. This patch works for i386, at least it's a start: kstailey@cheeta$ cvs diff -u configure.in Index: configure.in =================================================================== RCS file: /cvsroot/mozilla/configure.in,v retrieving revision 1.65 diff -u -r1.65 configure.in --- configure.in 1998/11/18 05:34:13 1.65 +++ configure.in 1998/11/18 14:01:04 @@ -150,6 +150,13 @@ DLL_SUFFIX="so.1.0" fi ;; +i386-unknown-openbsd*) + DSO_LDOPTS="-Bshareable -x -assert pure-text" + DSO_CFLAGS='-fPIC' + DLL_SUFFIX="so.1.0" + MKSHLIB='$(LD) $(DSO_LDOPTS)' + ;; + esac dnl Checks for typedefs, structures, and compiler characteristics.
Assignee: bogus → briano
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I modified your patch slightly, in the hope that it'll now work for non-x86 OpenBSD versions as well. Let me know if I broke you.... Checked into revision 1.89.
QA Contact: 3819
will mark verified if kstailey agrees w/fix.
Status: RESOLVED → VERIFIED
didn't hear any complaining, so marking verified.
Setting correct OS field.
OS: other → OpenBSD
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.