Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2018 11:01:15 +0200
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        freebsd-ports@freebsd.org
Subject:   Re: Compiling firefox on Raspberry Pi 2
Message-ID:  <op.zq6d0dehkndu52@sjakie>
In-Reply-To: <20181020033214.GA73497@www.zefox.net>
References:  <20181020033214.GA73497@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 20 Oct 2018 05:32:14 +0200, bob prohaska <fbsd@www.zefox.net>  
wrote:

> Attempts to compile firefox63 on an RPI2 fail with
> ===>  rust-1.29.2 is only for aarch64 amd64 i386, while you are running  
> armv6
> (reason: requires prebuilt bootstrap compiler).
> *** Error code 1
>
> while compilation of firefox-esr stops with
> dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(856):  
> arm not implemented
> dtrace: failed to link script  
> /usr/ports/www/firefox-esr/work/firefox-52.8.0esr/js/src/devtools/javascript-trace.d:  
> an error was encountered while processing jsarray.o
> gmake[5]: ***  
> [/usr/ports/www/firefox-esr/work/firefox-52.8.0esr/config/rules.mk:788:  
> js-dtrace.o] Error 1
> gmake[5]: Leaving directory  
> '/usr/ports/www/firefox-esr/work/.build/js/src'
> gmake[4]: ***  
> [/usr/ports/www/firefox-esr/work/firefox-52.8.0esr/config/recurse.mk:71:  
> js/src/target] Error 2
> gmake[4]: Leaving directory '/usr/ports/www/firefox-esr/work/.build'
> gmake[3]: ***  
> [/usr/ports/www/firefox-esr/work/firefox-52.8.0esr/config/recurse.mk:33:  
> compile] Error 2
> gmake[3]: Leaving directory '/usr/ports/www/firefox-esr/work/.build'
> gmake[2]: ***  
> [/usr/ports/www/firefox-esr/work/firefox-52.8.0esr/config/rules.mk:523:  
> all] Error 2
>
> Can anybody suggest workaround for either problem?

Not a workaround. Buy you can try to port rust to armv6. Which will  
benefit some other ports also.
Rust has tier 2 support for linux/arm, so it might be not so hard to do.
https://forge.rust-lang.org/platform-support.html

For Firefox-esr, try to disable DTRACE in the build options of the port.  
It says it is not implemented on arm.

Regards,
Ronald.


>
> Thanks for reading,
>
> bob prohaska
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



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