Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox-55.0 arm64_linux_syscalls.h
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
mDup
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2006
Posts: 128

PostPosted: Wed Aug 09, 2017 3:38 pm    Post subject: firefox-55.0 arm64_linux_syscalls.h Reply with quote

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
View user's profile Send private message
russK
Guru
Guru


Joined: 27 Jun 2006
Posts: 520

PostPosted: Thu Aug 10, 2017 3:21 am    Post subject: Reply with quote

What is your arch? Can you post 'emerge --info'?

www-client/firefox-55 does not look like it is keyworded for arm, btw: https://packages.gentoo.org/packages/www-client/firefox
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38871
Location: 56N 3W

PostPosted: Thu Aug 10, 2017 7:19 am    Post subject: Reply with quote

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
View user's profile Send private message
mDup
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2006
Posts: 128

PostPosted: Thu Aug 10, 2017 12:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38871
Location: 56N 3W

PostPosted: Thu Aug 10, 2017 3:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38871
Location: 56N 3W

PostPosted: Thu Aug 10, 2017 5:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
mDup
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2006
Posts: 128

PostPosted: Thu Aug 10, 2017 8:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
mDup
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2006
Posts: 128

PostPosted: Fri Aug 11, 2017 4:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38871
Location: 56N 3W

PostPosted: Fri Aug 11, 2017 6:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
mDup
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2006
Posts: 128

PostPosted: Sat Aug 12, 2017 2:15 am    Post subject: Reply with quote

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
View user's profile Send private message
mDup
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2006
Posts: 128

PostPosted: Tue Aug 15, 2017 12:28 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38871
Location: 56N 3W

PostPosted: Tue Aug 15, 2017 8:05 am    Post subject: Reply with quote

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
View user's profile Send private message
erm67
Apprentice
Apprentice


Joined: 01 Nov 2005
Posts: 184
Location: somewhere in Renziland.

PostPosted: Fri Aug 18, 2017 7:56 pm    Post subject: Reply with quote

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.
_________________
True ignorance is not the absence of knowledge, but the refusal to acquire it.
A posse ad esse non valet consequentia
Πάντα ῥεῖ
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum