Closed Bug 93711 Opened 23 years ago Closed 23 years ago

Mozilla fails to build on Linux/mips{,el}

Categories

(SeaMonkey :: Build Config, defect)

SGI
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rmurray+mozilla, Assigned: cls)

References

()

Details

Attachments

(1 file)

Mozilla doesn't build on Linux/mips, failing with errors of the form:
/usr/lib/gcc-lib/mipsel-linux/2.95.4/crtbeginS.o(.text+0x4c): relocation
truncated to fit: R_MIPS_GOT16 __deregister_frame_info@@GLIBC_2.0

This is because the GOT16 table is too small.  It appears that NetBSD has
already run into this problem:
config/rules.mk:

ifeq ($(OS_ARCH),NetBSD)
ifneq (,$(filter arc cobalt hpcmips mipsco newsmips pmax sgimips,$(OS_TEST)))
ifeq ($(MODULE),layout)
OS_CFLAGS += -Wa,-xgot
OS_CXXFLAGS += -Wa,-xgot
endif
endif
endif

The same CFLAGS and CXXFLAGS are needed on Linux/mips and Linux/mipsel to solve
the problem.
r=bryner
Patch has been checked in.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: