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.
Status: NEW → RESOLVED
Last Resolved: 20 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.
will mark verified if kstailey agrees w/fix.
didn't hear any complaining, so marking verified.
Setting correct OS field.
OS: other → OpenBSD
You need to log in before you can comment on or make changes to this bug.