Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2016 10:46:01 +0200 (CEST)
From:      regis.etourmy@free.fr
To:        Jan Beich <jbeich@vfemail.net>
Cc:        gecko@FreeBSD.org
Subject:   Re: www/firefox 46.0 port error
Message-ID:  <228390744.143155359.1462265161391.JavaMail.root@zimbra2-e1.priv.proxad.net>
In-Reply-To: <shy0-z8l0-wny@vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jan,

Thanks a lot for your patch. With it, Unified_cpp_js_src13.cpp could be com=
piled. The build failed a little after, with a dtrace link problem (I copy =
the error message below), but when I disabled DTRACE in the port configurat=
ion, it went to its end successfully.

Thanks again,

R=C3=A9gis

[retourmy@G5 /usr/ports/www/firefox-esr]$ uname -a
FreeBSD G5 10.3-STABLE FreeBSD 10.3-STABLE #0 r298845: Sun May  1 09:16:35 =
CEST 2016     root@G5:/usr/obj/usr/src/sys/GENERIC64  powerpc
[retourmy@G5 /usr/ports/www/firefox-esr]$ ident /usr/ports/www/firefox-esr/=
Makefile=20
/usr/ports/www/firefox-esr/Makefile:
     $FreeBSD: head/www/firefox-esr/Makefile 414386 2016-05-01 05:29:08Z jb=
eich $


dtrace -x nolibs -G -C -s /usr/ports/www/firefox-esr/work/firefox-45.1.0esr=
/js/src/devtools/javascript-trace.d -o js-dtrace.o RegExp.o CTypes.o Librar
y.o Parser.o StoreBuffer.o ExecutableAllocatorPosix.o jsarray.o jsatom.o js=
math.o jsutil.o pm_stub.o Initialization.o TraceLogging.o TraceLoggingGraph=
.o TraceLoggingTypes.o Unified_cpp_js_src0.o Unified_cpp_js_src1.o Unified_=
cpp_js_src10.o Unified_cpp_js_src11.o Unified_cpp_js_src12.o Unified_cpp_js=
_src13.o Unified_cpp_js_src14.o Unified_cpp_js_src15.o Unified_cpp_js_src16=
.o Unified_cpp_js_src17.o Unified_cpp_js_src18.o Unified_cpp_js_src19.o Uni=
fied_cpp_js_src2.o Unified_cpp_js_src20.o Unified_cpp_js_src21.o Unified_cp=
p_js_src22.o Unified_cpp_js_src23.o Unified_cpp_js_src24.o Unified_cpp_js_s=
rc25.o Unified_cpp_js_src26.o Unified_cpp_js_src27.o Unified_cpp_js_src28.o=
 Unified_cpp_js_src29.o Unified_cpp_js_src3.o Unified_cpp_js_src30.o Unifie=
d_cpp_js_src31.o Unified_cpp_js_src32.o Unified_cpp_js_src33.o Unified_cpp_=
js_src4.o Unified_cpp_js_src5.o Unified_cpp_js_src6.o Unified_cpp_js_src7.o=
 Unified_cpp_js_src8.o Unified_cpp_js_src9.o
dtrace: failed to link script /usr/ports/www/firefox-esr/work/firefox-45.1.=
0esr/js/src/devtools/javascript-trace.d: an error was encountered while pro=
cessing jsarray.o
/usr/ports/www/firefox-esr/work/firefox-45.1.0esr/config/rules.mk:812: reci=
pe for target 'js-dtrace.o' failed
gmake[7]: *** [js-dtrace.o] Error 1


----- Mail original -----
De: "Jan Beich" <jbeich@vfemail.net>
=C3=80: "regis etourmy" <regis.etourmy@free.fr>
Cc: gecko@FreeBSD.org
Envoy=C3=A9: Lundi 2 Mai 2016 19:13:47
Objet: Re: www/firefox 46.0 port error

regis.etourmy@free.fr writes:

> Hi,
>
> I get the folloging error when I try to port firefox on my FreeBSD 10.3 S=
TABLE, on my powermac G5 (powerpc64) :
[...]
> In file included from /usr/ports/www/firefox/work/firefox-46.0/obj-powerp=
c64-portbld-freebsd10.3/js/src/Unified_cpp_js_src13.cpp:2:0:
> /usr/ports/www/firefox/work/firefox-46.0/js/src/jit/IonCaches.cpp: In fun=
ction 'void CheckDOMProxyExpandoDoesNotShadow(JSContext*, js::jit::MacroAss=
embler&, JSObject*, jsid, js::jit::Register, js::jit::Label*)':
> /usr/ports/www/firefox/work/firefox-46.0/js/src/jit/IonCaches.cpp:703:14:=
 error: 'class js::jit::MacroAssembler' has no member named 'branch64'
>          masm.branch64(Assembler::NotEqual,
>               ^

The fix will be included with 46.0.1 / 45.2esr[1]. I'd probably wait for
release in order to avoid MFH churn/conflicts. If you don't how to apply:

  $ cd /usr/ports/www/firefox
  $ fetch -qo- 'https://hg.mozilla.org/releases/mozilla-esr45/raw-rev/79711=
2ba4b5b' |
    sed -E 's|^([-+]{3}) [ab]/|\1 |' >files/patch-bug1266366
  $ make install clean

  $ cd /usr/ports/www/firefox-esr
  # same as above

  $ cd /usr/ports/www/libxul
  # same as above

  $ cd /usr/ports/mail/thunderbird
  $ fetch -qo- 'https://hg.mozilla.org/releases/mozilla-esr45/raw-rev/79711=
2ba4b5b' |
    sed -E 's|^([-+]{3}) [ab]/|\1 mozilla/|' >files/patch-bug1266366
  $ make install clean

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=3D1266366



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?228390744.143155359.1462265161391.JavaMail.root>