Closed Bug 117 Opened 27 years ago Closed 24 years ago

Compiling Navigator on SPARC/Linux doesn't compile the c files with "-fPIC" so a .so triggers an ICE

Categories

(SeaMonkey :: Build Config, defect, P3)

x86
Linux

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: thorsten, Assigned: briano)

Details

Created by Thorsten Heit (thorsten@wurzelausix.cs.uni-sb.de) on Wednesday, April 8, 1998 6:34:28 AM PDT Additional Details : gcc doesn''t compile the c files with "-fpic" so the creation of a shared library results in an internal compiler error (only seen on Sparc/Linux; not on x86/Linux) Fix: --- ns/config/Linux.mk.orig Tue Mar 31 04:06:52 1998 +++ ns/config/Linux.mk Wed Apr 8 15:16:42 1998 @@ -43,7 +43,7 @@ PORT_FLAGS = -D_POSIX_SOURCE -D_BSD_SOURCE -DSW_THREADS -DNEED_ENDIAN_H -DNEED_GETOPT_H -DNEED_IOCTL_H -DUSE_NODL_TABS -DHAVE_SIGNED_CHAR -DNEED_SYS_TIME_H -DHAVE_SYS_BITYPES_H -DNEED_UINT_T PDJAVA_FLAGS = -mx128m -OS_CFLAGS = $(PLATFORM_FLAGS) $(PORT_FLAGS) $(MOVEMAIL_FLAGS) +OS_CFLAGS = $(DSO_CFLAGS) $(PLATFORM_FLAGS) $(PORT_FLAGS) $(MOVEMAIL_FLAGS) LOCALE_MAP = $(DEPTH)/cmd/xfe/intl/linux.lm EN_LOCALE = C Updated by Wan-Teh Chang (wtc@netscape.com) on Friday, April 24, 1998 12:13:29 PM PDT Additional Details : Assigned bug to Brian Ostrom <briano@netscape.com>. Added myself to the CC list. Brian: we should use -fPIC instead of -fpic. ns/nsprpub/config/Linux.mk uses -fPIC. -fPIC allows you to have large-displacement branches. Updated by Brian Ostrom (briano@netscape.com) on Tuesday, July 14, 1998 5:42:04 PM PDT Additional Details : I think this is fixed now. I added -fPIC to the compile line for all Linux processor-variants. It doesn't seem to hurt anything to do so. We'll see.
Status: RESOLVED → CLOSED
these bugs are closed but have no resolution. reopening...
Status: CLOSED → REOPENED
marking as fixed.
Status: REOPENED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
my research suggests that this was fixed no later than http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/configure.in&rev=1.59&mark=127#124 nov 16 '98
Status: RESOLVED → VERIFIED
Summary: Compiling Navigator on SPARC/Linux doesn → Compiling Navigator on SPARC/Linux doesn't compile the c files with "-fPIC" so a .so triggers an ICE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.