ports/164596: www/firefox: patch to fix build on sparc64
Jean-Sébastien Pédron
dumbbell at FreeBSD.org
Sun Jan 29 11:40:13 UTC 2012
>Number: 164596
>Category: ports
>Synopsis: www/firefox: patch to fix build on sparc64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 29 11:40:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jean-Sébastien Pédron
>Release: FreeBSD 9.0-RC1 sparc64
>Organization:
The FreeBSD Project
>Environment:
FreeBSD soho.dumbbell.fr 9.0-RC1 FreeBSD 9.0-RC1 #0: Wed Oct 19 05:23:43 UTC 2011 root at heller.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64
>Description:
The following bug report proposes a patch that fix the build on sparc64 for me:
https://bugzilla.mozilla.org/show_bug.cgi?id=653551
The patch I used is a previous version (which I attached to this PR), I didn't try the last version.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# HG changeset patch
# Parent 32715cbd4422e3128ff02bb95bdbe280142a7ab7
# User Landry Breuil <landry at openbsd.org>
Don't enable methodjit/Asm and friends on sparc64
diff --git a/js/src/configure.in b/js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -2777,24 +2777,26 @@ arm*-*)
ENABLE_METHODJIT=1
ENABLE_MONOIC=1
ENABLE_POLYIC=1
ENABLE_POLYIC_TYPED_ARRAY=1
AC_DEFINE(JS_CPU_ARM)
AC_DEFINE(JS_NUNBOX32)
;;
sparc*-*)
+ if test ! "$HAVE_64BIT_OS" ; then
ENABLE_TRACEJIT=1
NANOJIT_ARCH=Sparc
ENABLE_METHODJIT=1
ENABLE_MONOIC=1
ENABLE_POLYIC=1
ENABLE_POLYIC_TYPED_ARRAY=1
AC_DEFINE(JS_CPU_SPARC)
AC_DEFINE(JS_NUNBOX32)
+ fi
;;
esac
MOZ_ARG_DISABLE_BOOL(methodjit,
[ --disable-methodjit Disable method JIT support],
ENABLE_METHODJIT= )
MOZ_ARG_DISABLE_BOOL(monoic,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list