Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox and other stuff on ARM?
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
ayleid96
n00b
n00b


Joined: 25 Apr 2016
Posts: 51
Location: /home/noodles

PostPosted: Thu Aug 11, 2016 6:53 pm    Post subject: Firefox and other stuff on ARM? Reply with quote

Hi,

i will soon get orange pi lite just for testing, does anybody have idea how long it will take to compile firefox and xorg on that board? i contains H3 Quad-core Cortex-A7 H.265/HEVC 4K and 512 ddr3 ram.. i think thats not enough ram.. so i need to cross compile or what? D: thanks in advance
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Aug 11, 2016 7:09 pm    Post subject: Reply with quote

ayleid96,

On a Raspberry Pi3 in 64 bit mode I get
Code:
# genlop -t firefox
 * www-client/firefox

     Mon May  2 03:24:34 2016 >>> www-client/firefox-46.0
       merge time: 6 hours, 49 minutes and 49 seconds.

     Wed May  4 00:32:57 2016 >>> www-client/firefox-46.0
       merge time: 6 hours, 17 minutes and 52 seconds.

     Wed Jun 29 03:13:06 2016 >>> www-client/firefox-47.0
       merge time: 9 hours, 21 minutes and 5 seconds.

     Mon Jul 25 12:32:37 2016 >>> www-client/firefox-47.0.1
       merge time: 12 hours, 40 minutes and 20 seconds.


Its four cores at 1.2 GHz and 1GB RAM but I only run MAKEOPTS="-j2" as any more pushes gcc into swapping.
I may have tried to build firefox on a Raspberry Pi 1 with one 700MHz core and 512MB RAM but I can't check that right now.

If the build runs out of RAM, it will probably do it right at the end, in linking. I've not tried cross compiling firefox.
The path of least resistance is cross distcc but the host still does the linking, so it will help with compiles but not RAM for linking.
_________________
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
ayleid96
n00b
n00b


Joined: 25 Apr 2016
Posts: 51
Location: /home/noodles

PostPosted: Thu Aug 11, 2016 8:04 pm    Post subject: Reply with quote

NeddySeagoon wrote:
ayleid96,

On a Raspberry Pi3 in 64 bit mode I get
Code:
# genlop -t firefox
 * www-client/firefox

     Mon May  2 03:24:34 2016 >>> www-client/firefox-46.0
       merge time: 6 hours, 49 minutes and 49 seconds.

     Wed May  4 00:32:57 2016 >>> www-client/firefox-46.0
       merge time: 6 hours, 17 minutes and 52 seconds.

     Wed Jun 29 03:13:06 2016 >>> www-client/firefox-47.0
       merge time: 9 hours, 21 minutes and 5 seconds.

     Mon Jul 25 12:32:37 2016 >>> www-client/firefox-47.0.1
       merge time: 12 hours, 40 minutes and 20 seconds.


Its four cores at 1.2 GHz and 1GB RAM but I only run MAKEOPTS="-j2" as any more pushes gcc into swapping.
I may have tried to build firefox on a Raspberry Pi 1 with one 700MHz core and 512MB RAM but I can't check that right now.

If the build runs out of RAM, it will probably do it right at the end, in linking. I've not tried cross compiling firefox.
The path of least resistance is cross distcc but the host still does the linking, so it will help with compiles but not RAM for linking.


so, does firefox works on rasberry pi 1? was compilation finished without filling up ram?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Aug 11, 2016 9:40 pm    Post subject: Reply with quote

ayleid96,

It looks like I didn't try firefox on RPi 1 or it would be in my arm6j BINHOST if it worked.
If it had failed, I would have remembered.
_________________
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
deadram
n00b
n00b


Joined: 20 Dec 2006
Posts: 44

PostPosted: Sun Nov 13, 2016 9:15 am    Post subject: Reply with quote

On my rpi3 it filled memory, 128MB GPU, so about 872MB left for CPU. I ran a 4GB swap while I compiled (or at any time) and can not remeber if it used any swap. Running firefox seems to take all my CPU, and as much ram, so even if you build it on 512MB, you might not be able to run it without swap.

epiphany and midori need webkit-gtk which Im having trouble with because of arm, apparently, chromium I have not had success with but have not looked into it much, but "links -g" with these use flags is as quiet as a shell script to the cpu, and never shows up as top 3 in my wmaker top app, "X bzip2 gpm jpeg lzma ssl tiff unicode zlib -directfb -fbcon -ipv6 -libressl -livecd -suid -svga" no flash/video, but shows images and it did manage to post this reply :)
_________________
echo deadram; fortune
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