View previous topic :: View next topic |
Author |
Message |
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Wed Aug 09, 2017 3:38 pm Post subject: firefox-55.0 arm64_linux_syscalls.h |
|
|
I emerge firefox-55.0 and encounter, when compiling SandboxReporter.o
firefox-55.0/security/sandbox/chromium/sandbox/linux/system_headers/linux_syscalls.h
sandbox/linux/system_headers/arm64_linux_syscalls.h: No such file or directory
(indeed that file is not there, it is there for other arch)
Anyone has a suggestion? |
|
Back to top |
|
|
russK l33t
Joined: 27 Jun 2006 Posts: 665
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Thu Aug 10, 2017 7:19 am Post subject: |
|
|
russK,
The arch is arm64, which is still an experimental arch for Gentoo, so its not even listed on https://packages.gentoo.org/categories at all.
mDup,
I can't build rust 1.19.0 on arm64. The build ends up stalled with 3 zombie process in my buildroot and goes on for ever on my Pi 3 as the build system always runs MAKEOPTS="-j4" which is too much for 1G RAM.
I'll mask the rust update and see what happens. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Thu Aug 10, 2017 12:14 pm Post subject: |
|
|
NeddySeagoon wrote: | russK,
The arch is arm64, which is still an experimental arch for Gentoo, so its not even listed on https://packages.gentoo.org/categories at all.
mDup,
I can't build rust 1.19.0 on arm64. The build ends up stalled with 3 zombie process in my buildroot and goes on for ever on my Pi 3 as the build system always runs MAKEOPTS="-j4" which is too much for 1G RAM.
I'll mask the rust update and see what happens. |
I could natively build rust 1.19.0 on arm64 (MiniMX G 2GB RAM)
Code: | minimx-g ~ # equery l rust
* Searching for rust ...
[IP-] [ -] dev-lang/rust-1.19.0:stable/1.19
|
I typically use -j3 to always (try to) keep 1 core free for other things than build.
And I use ACCEPT_KEYWORDS="* ~*" so arm64 fits in.
latest firefox I built was
Code: | minimx-g ~ # equery l firefox
* Searching for firefox ...
[I--] [??] www-client/firefox-54.0.1:0
|
have a nice day |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Thu Aug 10, 2017 3:22 pm Post subject: |
|
|
mDup,
Its a bug/feature. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Thu Aug 10, 2017 5:14 pm Post subject: |
|
|
mDup,
Code: | EXTRA_ECONF="--disable-content-sandbox" FEATURES="-sandbox -usersandbox" emerge firefox |
builds firefox-55.0 for me in my arm64 chroot.
It used to need FEATURES="-sandbox -usersandbox" to run the installer, I've not tested without yet. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Thu Aug 10, 2017 8:12 pm Post subject: |
|
|
NeddySeagoon wrote: | mDup,
Code: | EXTRA_ECONF="--disable-content-sandbox" FEATURES="-sandbox -usersandbox" emerge firefox |
builds firefox-55.0 for me in my arm64 chroot.
It used to need FEATURES="-sandbox -usersandbox" to run the installer, I've not tested without yet. |
Thanks for follow up. Let me try native build and get back (may take many hours, as you know). |
|
Back to top |
|
|
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Fri Aug 11, 2017 4:09 pm Post subject: |
|
|
mDup wrote: | NeddySeagoon wrote: | mDup,
Code: | EXTRA_ECONF="--disable-content-sandbox" FEATURES="-sandbox -usersandbox" emerge firefox |
builds firefox-55.0 for me in my arm64 chroot.
It used to need FEATURES="-sandbox -usersandbox" to run the installer, I've not tested without yet. |
Thanks for follow up. Let me try native build and get back (may take many hours, as you know). |
I ran into a rust (mabye 1.19.0 specific) issue [i8 expected u8 found] in media/libcubeb/cubeb-pulse-rs/src/backend/context.rs ...
Trying to fix it. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Fri Aug 11, 2017 6:50 pm Post subject: |
|
|
mDup,
I avoided the rust update for my build test. I don't recommend it but --nodeps will avoid the rust update. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Sat Aug 12, 2017 2:15 am Post subject: |
|
|
NeddySeagoon wrote: | mDup,
I avoided the rust update for my build test. I don't recommend it but --nodeps will avoid the rust update. |
replacing 2 i8 declarations in in media/libcubeb/cubeb-pulse-rs/src/backend/context.rs by u8 ones fixed rust 1.19.0 firefox-55.0 compilation type mismatch error.
Code: | minimx-g ~ # equery l firefox
* Searching for firefox ...
[IP-] [ -] www-client/firefox-55.0:0
|
|
|
Back to top |
|
|
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Tue Aug 15, 2017 12:28 am Post subject: |
|
|
NeddySeagoon wrote: | [...]I can't build rust 1.19.0 on arm64[...] |
fwiw I 'hack'ed ebuild with TRIPLE="aarch64-unknown-linux-gnu" |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Tue Aug 15, 2017 8:05 am Post subject: |
|
|
mDup,
I got that far. My problem is that MAKEOPS is ignored and because the Pi 3 has 4 cores, it uses -j4.
That leads to death by swapping because 4 C++ threads in 1G RAM doesn't fit.
I have seen over 1G swap in use.
I can either fix the ebuild, which I've started looking at, or edit the device tree to cut down the number of cores.
I'll look at fixing the ebuild because thats more generally useful and I don't need to do it every time. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
erm67 l33t
Joined: 01 Nov 2005 Posts: 653 Location: EU
|
Posted: Fri Aug 18, 2017 7:56 pm Post subject: |
|
|
NeddySeagoon wrote: | My problem is that MAKEOPS is ignored and because the Pi 3 has 4 cores, it uses -j4.
That leads to death by swapping because 4 C++ threads in 1G RAM doesn't fit.
I have seen over 1G swap in use. |
I use zram (and zram-init) to have more memory + a small swap partition on a usb stick (that is never used), it's a bit slower but memory is no longer a problem:
Code: | erm67 ~ # free
total used free shared buff/cache available
Mem: 1864904 1230476 149796 43552 484632 568560
Swap: 5193708 1474420 3719288
|
Physical mem is 2G and it's not enough to run a solr instance + the LAMP stack for nexcloud. zram is working really good so far. _________________ Ok boomer
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia
My fediverse account: @erm67@erm67.dynu.net |
|
Back to top |
|
|
|