autoconfig does not invoke linker correctly on OpenBSD/i386

VERIFIED FIXED

Status

P2
critical
VERIFIED FIXED
20 years ago
14 years ago

People

(Reporter: kstailey, Assigned: briano)

Tracking

Trunk
Other
OpenBSD

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

20 years ago
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.

Updated

20 years ago
Assignee: bogus → briano
(Assignee)

Updated

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
(Assignee)

Comment 1

20 years ago
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.

Updated

20 years ago
QA Contact: 3819

Comment 2

20 years ago
will mark verified if kstailey agrees w/fix.

Updated

20 years ago
Status: RESOLVED → VERIFIED

Comment 3

20 years ago
didn't hear any complaining, so marking verified.

Comment 4

18 years ago
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.