Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-07-07 Thread Danny YUE

On 2017-07-07 16:29, james  wrote:
> On 06/26/17 04:41, Danny YUE wrote:
>> Hi guys,
>> 
>> I am planning to buy a Raspberry Pi 3 to setup a local network storage
>> and try some IoT stuff. Now I am searching for some background things.
>> 
>> Which OS do you install on your Raspberry Pi?
>> 
>> Gentoo? Raspbian? Or even...arch?
>> 
>> This might seems to be the wrong place to ask, but I consider Gentoo as
>> my first-place option, so I would like to know your experiences.
>> 
>> Thanks.
>> 
>> Danny
>
> Hello Danny,
>
> There was another gentoo wiki page, that I just ran across with many of
> your (cross compiling) issues addressed, albeit for the Banana Rasp. Pi::
>
> https://wiki.gentoo.org/wiki/Banana_Pi_the_Gentoo_Way
>
>
> hth,
> James

Hi James,

Thanks for that.

Actually I got to know that it is possible to use chroot to compile.

I will try to compare different ways after my holiday ;-)


Danny



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-07-07 Thread james
On 06/26/17 04:41, Danny YUE wrote:
> Hi guys,
> 
> I am planning to buy a Raspberry Pi 3 to setup a local network storage
> and try some IoT stuff. Now I am searching for some background things.
> 
> Which OS do you install on your Raspberry Pi?
> 
> Gentoo? Raspbian? Or even...arch?
> 
> This might seems to be the wrong place to ask, but I consider Gentoo as
> my first-place option, so I would like to know your experiences.
> 
> Thanks.
> 
> Danny

Hello Danny,

There was another gentoo wiki page, that I just ran across with many of
your (cross compiling) issues addressed, albeit for the Banana Rasp. Pi::

https://wiki.gentoo.org/wiki/Banana_Pi_the_Gentoo_Way


hth,
James




Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-28 Thread Peter Humphrey
On Wednesday 28 Jun 2017 06:21:00 Bill Kenworthy wrote:

> rpi1 ~ # genlop -t gcc
>  * sys-devel/gcc
> 
>  Fri Jul  1 10:01:57 2016 >>> sys-devel/gcc-4.9.3
>merge time: 1 day, 4 hours, 32 minutes and 26 seconds.
> 
>  Fri Nov  4 10:49:45 2016 >>> sys-devel/gcc-4.9.4
>merge time: 1 day, 4 hours, 43 minutes and 51 seconds.
> 
> rpi1 ~ #
> 
> rpi1 ~ # genlop -t glibc
>  * sys-libs/glibc
> 
>  Fri May 20 02:48:34 2016 >>> sys-libs/glibc-2.22-r4
>merge time: 5 hours, 30 minutes and 52 seconds.
> 
>  Thu Sep  1 20:07:48 2016 >>> sys-libs/glibc-2.22-r4
>merge time: 4 hours, 58 minutes and 44 seconds.
> 
>  Fri Jan 13 15:11:12 2017 >>> sys-libs/glibc-2.23-r3
>merge time: 5 hours, 19 minutes and 51 seconds.
> 
> rpi1 ~ #
> 
> pi model B (512M ram), ccache and distcc to a single vm with crossdev

Why not just NFS-export your $PORTDIR to a chroot on your host machine, and 
build everything there? --sync takes quite a while, but that would easily be 
recouped in compilation. That's what I do with a little Atom N270 box here.

$ genlop -t gcc -f /mnt/atom/var/log/emerge.log | grep minutes
[...]
   merge time: 13 minutes and 11 seconds.
   merge time: 13 minutes and 35 seconds.
   merge time: 12 minutes and 51 seconds.
   merge time: 14 minutes and 16 seconds.
   merge time: 14 minutes.
   merge time: 26 minutes and 49 seconds.
   merge time: 28 minutes and 41 seconds.

-- 
Regards
Peter




Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-27 Thread Danny YUE

On 2017-06-27 22:21, Bill Kenworthy  wrote:
> On 28/06/17 02:29, Herminio Hernandez, Jr. wrote:
>> Where they using the original RPI? I built LXQT on an RPI2 and it did
>> not take me a day.
>> 
>> On Tue, Jun 27, 2017 at 11:26 AM, R0b0t1 > > wrote:
>> 
>> On Tue, Jun 27, 2017 at 3:44 AM, konsolebox > > wrote:
>> > On Tue, Jun 27, 2017 at 11:37 AM, R0b0t1 > > wrote:
>> >> it's
>> >> not experience.
>> >
>> > Ok.
>> >
>> 
>> Why do you think I made it up? I was quoting people who had done it.
>> 
>> 
>
> rpi1 ~ # genlop -t gcc
>  * sys-devel/gcc
>
>  Fri Jul  1 10:01:57 2016 >>> sys-devel/gcc-4.9.3
>merge time: 1 day, 4 hours, 32 minutes and 26 seconds.
>
>  Fri Nov  4 10:49:45 2016 >>> sys-devel/gcc-4.9.4
>merge time: 1 day, 4 hours, 43 minutes and 51 seconds.
>
> rpi1 ~ #
>
> rpi1 ~ # genlop -t glibc
>  * sys-libs/glibc
>
>  Fri May 20 02:48:34 2016 >>> sys-libs/glibc-2.22-r4
>merge time: 5 hours, 30 minutes and 52 seconds.
>
>  Thu Sep  1 20:07:48 2016 >>> sys-libs/glibc-2.22-r4
>merge time: 4 hours, 58 minutes and 44 seconds.
>
>  Fri Jan 13 15:11:12 2017 >>> sys-libs/glibc-2.23-r3
>merge time: 5 hours, 19 minutes and 51 seconds.
>
> rpi1 ~ #
>
> pi model B (512M ram), ccache and distcc to a single vm with crossdev
>
> Fact! :)
>
> BillK

I do not really understand, since building on RPI takes so long compared
with PC, why do you still compile natively?
Is it because cross compiling will cause any bugs or failure?

I mean, even some packages will fail with cross compiler, it is still
possible to cross compile some *big* packages...

Danny



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-27 Thread Bill Kenworthy
On 28/06/17 02:29, Herminio Hernandez, Jr. wrote:
> Where they using the original RPI? I built LXQT on an RPI2 and it did
> not take me a day.
> 
> On Tue, Jun 27, 2017 at 11:26 AM, R0b0t1  > wrote:
> 
> On Tue, Jun 27, 2017 at 3:44 AM, konsolebox  > wrote:
> > On Tue, Jun 27, 2017 at 11:37 AM, R0b0t1  > wrote:
> >> it's
> >> not experience.
> >
> > Ok.
> >
> 
> Why do you think I made it up? I was quoting people who had done it.
> 
> 

rpi1 ~ # genlop -t gcc
 * sys-devel/gcc

 Fri Jul  1 10:01:57 2016 >>> sys-devel/gcc-4.9.3
   merge time: 1 day, 4 hours, 32 minutes and 26 seconds.

 Fri Nov  4 10:49:45 2016 >>> sys-devel/gcc-4.9.4
   merge time: 1 day, 4 hours, 43 minutes and 51 seconds.

rpi1 ~ #

rpi1 ~ # genlop -t glibc
 * sys-libs/glibc

 Fri May 20 02:48:34 2016 >>> sys-libs/glibc-2.22-r4
   merge time: 5 hours, 30 minutes and 52 seconds.

 Thu Sep  1 20:07:48 2016 >>> sys-libs/glibc-2.22-r4
   merge time: 4 hours, 58 minutes and 44 seconds.

 Fri Jan 13 15:11:12 2017 >>> sys-libs/glibc-2.23-r3
   merge time: 5 hours, 19 minutes and 51 seconds.

rpi1 ~ #

pi model B (512M ram), ccache and distcc to a single vm with crossdev

Fact! :)

BillK



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-27 Thread R0b0t1
On Tue, Jun 27, 2017 at 1:48 PM, R0b0t1  wrote:
> On Tue, Jun 27, 2017 at 1:29 PM, Herminio Hernandez, Jr.
>  wrote:
>> Where they using the original RPI? I built LXQT on an RPI2 and it did not
>> take me a day.
>>
>
> I had to build some packages on device (RPi3), mostly the ones with
> autotool configuration bugs. The longest ones were a few hours. Things
> like GCC are massive outliers, and I don't think the runners up for
> compile time even come close, unless you're compiling a DE suite.
>
> The thing is I had to change my profile and toolchain a few times, and
> if I was compiling it on device I would have wasted a week or more.
>

Sorry, to answer the question, the discussion was about the RPi3.
Maybe the poster was embellishing. Personal experience seems to
indicate it takes over a day but I never actually let a rebuild
finish.

>> On Tue, Jun 27, 2017 at 11:26 AM, R0b0t1  wrote:
>>>
>>> On Tue, Jun 27, 2017 at 3:44 AM, konsolebox  wrote:
>>> > On Tue, Jun 27, 2017 at 11:37 AM, R0b0t1  wrote:
>>> >> it's
>>> >> not experience.
>>> >
>>> > Ok.
>>> >
>>>
>>> Why do you think I made it up? I was quoting people who had done it.
>>>
>>



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-27 Thread R0b0t1
On Tue, Jun 27, 2017 at 1:29 PM, Herminio Hernandez, Jr.
 wrote:
> Where they using the original RPI? I built LXQT on an RPI2 and it did not
> take me a day.
>

I had to build some packages on device (RPi3), mostly the ones with
autotool configuration bugs. The longest ones were a few hours. Things
like GCC are massive outliers, and I don't think the runners up for
compile time even come close, unless you're compiling a DE suite.

The thing is I had to change my profile and toolchain a few times, and
if I was compiling it on device I would have wasted a week or more.

> On Tue, Jun 27, 2017 at 11:26 AM, R0b0t1  wrote:
>>
>> On Tue, Jun 27, 2017 at 3:44 AM, konsolebox  wrote:
>> > On Tue, Jun 27, 2017 at 11:37 AM, R0b0t1  wrote:
>> >> it's
>> >> not experience.
>> >
>> > Ok.
>> >
>>
>> Why do you think I made it up? I was quoting people who had done it.
>>
>



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-27 Thread Herminio Hernandez, Jr.
Where they using the original RPI? I built LXQT on an RPI2 and it did not
take me a day.

On Tue, Jun 27, 2017 at 11:26 AM, R0b0t1  wrote:

> On Tue, Jun 27, 2017 at 3:44 AM, konsolebox  wrote:
> > On Tue, Jun 27, 2017 at 11:37 AM, R0b0t1  wrote:
> >> it's
> >> not experience.
> >
> > Ok.
> >
>
> Why do you think I made it up? I was quoting people who had done it.
>
>


Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-27 Thread R0b0t1
On Tue, Jun 27, 2017 at 3:44 AM, konsolebox  wrote:
> On Tue, Jun 27, 2017 at 11:37 AM, R0b0t1  wrote:
>> it's
>> not experience.
>
> Ok.
>

Why do you think I made it up? I was quoting people who had done it.



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-27 Thread konsolebox
On Tue, Jun 27, 2017 at 1:30 PM, Danny YUE  wrote:
>
> On 2017-06-27 02:59, taii...@gmx.com  wrote:
>> I would advise to buy an open source device such as beaglebone not a
>> closed source RPI, bb also has higher performance options and is a
>> better company.
>>
>> I was not at all pleased with the transfer speed of an RPI I tried out,
>> the low end arm stuff is garbage (high end like appliedmicro is decent tho)
>>
>> If you want a decent fileserver I would advise getting a KCMA-D8 with a
>> 35W opteron and installing the libre version of coreboot on it, dual
>> onboard gigabit ethernet will satisfy you for sure.
>
> Well, file server is only one of my use cases.
>
> I would probably try to run a little server, or some little tricks I
> write myself.
>
> I will have a look at BeagleBone.
>
> Thanks!
>
> Danny
>

Also consider the availability of the parts you can buy like casings
and fans, when choosing a product.  Performance and support (kernel,
userland, etc.) should also be considered.

-- 
konsolebox



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-27 Thread konsolebox
On Tue, Jun 27, 2017 at 10:59 AM, taii...@gmx.com  wrote:
> I would advise to buy an open source device such as beaglebone not a closed
> source RPI, bb also has higher performance options and is a better company.
>
> I was not at all pleased with the transfer speed of an RPI I tried out, the
> low end arm stuff is garbage (high end like appliedmicro is decent tho)
>
> If you want a decent fileserver I would advise getting a KCMA-D8 with a 35W
> opteron and installing the libre version of coreboot on it, dual onboard
> gigabit ethernet will satisfy you for sure.
>

Being open-source looks advantageous, but how about the performance
compared to RPi3?

Also, was the one you tried RPi3?

-- 
konsolebox



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-27 Thread konsolebox
On Tue, Jun 27, 2017 at 11:37 AM, R0b0t1  wrote:
> it's
> not experience.

Ok.

-- 
konsolebox



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Danny YUE

On 2017-06-27 02:59, taii...@gmx.com  wrote:
> I would advise to buy an open source device such as beaglebone not a 
> closed source RPI, bb also has higher performance options and is a 
> better company.
>
> I was not at all pleased with the transfer speed of an RPI I tried out, 
> the low end arm stuff is garbage (high end like appliedmicro is decent tho)
>
> If you want a decent fileserver I would advise getting a KCMA-D8 with a 
> 35W opteron and installing the libre version of coreboot on it, dual 
> onboard gigabit ethernet will satisfy you for sure.

Well, file server is only one of my use cases.

I would probably try to run a little server, or some little tricks I
write myself.

I will have a look at BeagleBone.

Thanks!

Danny



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Danny YUE

On 2017-06-26 16:53, james  wrote:
> On 06/26/17 04:41, Danny YUE wrote:
>> Hi guys,
>> 
>> I am planning to buy a Raspberry Pi 3 to setup a local network storage
>> and try some IoT stuff. Now I am searching for some background things.
>> 
>> Which OS do you install on your Raspberry Pi?
>> 
>> Gentoo? Raspbian? Or even...arch?
>> 
>> This might seems to be the wrong place to ask, but I consider Gentoo as
>> my first-place option, so I would like to know your experiences.
>> 
>> Thanks.
>> 
>> Danny
>> 
>> 
>
> I'm assuming you've seen these pages?
>
>
> https://wiki.gentoo.org/wiki/Raspberry_Pi
>
> https://wiki.gentoo.org/wiki/Raspberry_Pi#Stage_4
>
> https://wiki.gentoo.org/wiki/Raspberry_Pi/Quick_Install_Guide
>
>
>  Why not run a Rpi-3 cluster? (lots of folks experimenting and posting):
>
> https://wiki.gentoo.org/wiki/Corosync
>
> https://wiki.osuosl.org/ganeti/cluster_gentoo.html
>
> https://forums.gentoo.org/viewtopic-t-1058886.html
>
> https://forums.gentoo.org/viewtopic-t-1058886.html
>
>
>
> Note 'distcc' purports to run on arm::
>
> https://packages.gentoo.org/packages/sys-devel/distcc
>
> hth,
> James

Yes.

I briefly know how to install Gentoo on RPI, also I have used crossdev
before.

But...distcc was described as "not recommended" in the Gentoo
installation guide.
(Do not remember where exactly.)

So I did not really used that though.

Danny



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread R0b0t1
On Mon, Jun 26, 2017 at 1:42 PM, konsolebox  wrote:
> On Tue, Jun 27, 2017 at 2:26 AM, R0b0t1  wrote:
>> Things like GCC can take
>> nearly three days even on the Raspberry Pi 3.
>
> Is that based on your experience, or you're just guessing?
>

I've never wasted the time compiling large packages on-device, so it's
not experience.



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread taii...@gmx.com
I would advise to buy an open source device such as beaglebone not a 
closed source RPI, bb also has higher performance options and is a 
better company.


I was not at all pleased with the transfer speed of an RPI I tried out, 
the low end arm stuff is garbage (high end like appliedmicro is decent tho)


If you want a decent fileserver I would advise getting a KCMA-D8 with a 
35W opteron and installing the libre version of coreboot on it, dual 
onboard gigabit ethernet will satisfy you for sure.




Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Marc Joliet
Am Montag, 26. Juni 2017, 10:41:36 CEST schrieb Danny YUE:
> Hi guys,
> 
> I am planning to buy a Raspberry Pi 3 to setup a local network storage
> and try some IoT stuff. Now I am searching for some background things.
> 
> Which OS do you install on your Raspberry Pi?
> 
> Gentoo? Raspbian? Or even...arch?
> 
> This might seems to be the wrong place to ask, but I consider Gentoo as
> my first-place option, so I would like to know your experiences.
> 
> Thanks.
> 
> Danny

Just to provide something yet another data point, at work I use Fedberry (a 
Fedora remix), 
although IIUC most people there use Raspbian.

Greetings
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Herminio Hernandez, Jr.
It has never taken me 3 days to build anything on the RPI3 using Gentoo

On Mon, Jun 26, 2017 at 11:42 AM, konsolebox  wrote:

> On Tue, Jun 27, 2017 at 2:26 AM, R0b0t1  wrote:
> > Things like GCC can take
> > nearly three days even on the Raspberry Pi 3.
>
> Is that based on your experience, or you're just guessing?
>
> --
> konsolebox
>
>


Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread konsolebox
On Tue, Jun 27, 2017 at 2:26 AM, R0b0t1  wrote:
> Things like GCC can take
> nearly three days even on the Raspberry Pi 3.

Is that based on your experience, or you're just guessing?

-- 
konsolebox



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread R0b0t1
On Mon, Jun 26, 2017 at 12:28 PM, Mart Raudsepp  wrote:
> Ühel kenal päeval, E, 26.06.2017 kell 10:32, kirjutas R0b0t1:
>> If you want to use Gentoo on an embedded device you should be ready
>> to set up crossdev and a crossroot for it.
>
> That's for sure, except... RPi3 is NOT an embedded device in any
> traditional sense of the word and I don't really like the term extended
> to such machines. Embedded is what I'd call a Cortex-M maybe, not some
> general purpose Cortex-A quad core 64bit "beast" with full USB/HDMI and
> OpenGL support. It runs circles around the first desktop  machine I
> installed Gentoo on. It is roughly equal to your low end cheap Atom
> type laptops as far as CPU performance is concerned. It just has a slow
> I/O and less RAM than we consider the norm these days.
>

The BCM2837 is a phone processor. If phones are not an embedded device
then I'm not sure what is. The RAM for the device is
package-on-package (i.e. high integration) and save the video outputs
most of the desktop-like ports (like the Ethernet port) are obtained
via hardwired connection to a USB adapter. The slow IO, limited
memory, and lack of general purpose communication interfaces besides
USB is what keeps it from being a good general purpose computer.

(Arguably the BCM2837 is intended for devices less complex than
phones, or precisely the kind of thing people call an "embedded
device.")

> I see no reason to crossroot for it unless that's ones desire in itself
> (for example when it works, it might be worth the time save for mass
> testing of stuff, e.g initial arch team work), or you really need it
> for some working linker memory limitations when trying to do some
> desktop stuff (browser engines, rust). For headless cases, not worth
> the hassle whatsoever imho. Yes, gcc itself will take half a day or
> whatnot, but hey, it's just taking you some 3-5W chugging along.
>

Following from the above, the devices were never meant to self-host
their OS and are very bad at doing so. All large projects I know of
lease time on powerful ARM servers to produce their packages because
doing it on the devices most people use the packages on is extremely
painful.

This situation really echoes the difference seen between content
producers and consumers when using desktops and phones. If you need a
device to run a simple server or act as a gateway then using
precompiled packages is fine, but if you're expecting to develop for
the device you need a separate computer to do most of your compilation
on.

Once you get a toolchain, though, compiling simple programs on your
device is fast enough to be reasonable. Things like GCC can take
nearly three days even on the Raspberry Pi 3.

> crossdev sure, if you think with the limited I/O a distcc host can help
> out.
>
> But sure, it can be educational, so have at it if you want; when it
> works, it'll get your packages done faster if you have a beefy x86_64.
>
>
> Mart
>

My personal recommendation is that an interest in the ARM architecture
be pursued by purchasing an ARM server (or desktop). Anything else is
a waste of time and money. Some of them are starting to become
affordable, e.g. https://softiron.com/products/overdrive-1000/.

R0b0t1.



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Mart Raudsepp
Ühel kenal päeval, E, 26.06.2017 kell 10:32, kirjutas R0b0t1:
> If you want to use Gentoo on an embedded device you should be ready
> to set up crossdev and a crossroot for it.

That's for sure, except... RPi3 is NOT an embedded device in any
traditional sense of the word and I don't really like the term extended
to such machines. Embedded is what I'd call a Cortex-M maybe, not some
general purpose Cortex-A quad core 64bit "beast" with full USB/HDMI and
OpenGL support. It runs circles around the first desktop  machine I
installed Gentoo on. It is roughly equal to your low end cheap Atom
type laptops as far as CPU performance is concerned. It just has a slow
I/O and less RAM than we consider the norm these days.

I see no reason to crossroot for it unless that's ones desire in itself
(for example when it works, it might be worth the time save for mass
testing of stuff, e.g initial arch team work), or you really need it
for some working linker memory limitations when trying to do some
desktop stuff (browser engines, rust). For headless cases, not worth
the hassle whatsoever imho. Yes, gcc itself will take half a day or
whatnot, but hey, it's just taking you some 3-5W chugging along.

crossdev sure, if you think with the limited I/O a distcc host can help
out.

But sure, it can be educational, so have at it if you want; when it
works, it'll get your packages done faster if you have a beefy x86_64.


Mart



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread james
On 06/26/17 04:41, Danny YUE wrote:
> Hi guys,
> 
> I am planning to buy a Raspberry Pi 3 to setup a local network storage
> and try some IoT stuff. Now I am searching for some background things.
> 
> Which OS do you install on your Raspberry Pi?
> 
> Gentoo? Raspbian? Or even...arch?
> 
> This might seems to be the wrong place to ask, but I consider Gentoo as
> my first-place option, so I would like to know your experiences.
> 
> Thanks.
> 
> Danny
> 
> 

I'm assuming you've seen these pages?


https://wiki.gentoo.org/wiki/Raspberry_Pi

https://wiki.gentoo.org/wiki/Raspberry_Pi#Stage_4

https://wiki.gentoo.org/wiki/Raspberry_Pi/Quick_Install_Guide


 Why not run a Rpi-3 cluster? (lots of folks experimenting and posting):

https://wiki.gentoo.org/wiki/Corosync

https://wiki.osuosl.org/ganeti/cluster_gentoo.html

https://forums.gentoo.org/viewtopic-t-1058886.html

https://forums.gentoo.org/viewtopic-t-1058886.html



Note 'distcc' purports to run on arm::

https://packages.gentoo.org/packages/sys-devel/distcc

hth,
James




Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread R0b0t1
On Mon, Jun 26, 2017 at 3:41 AM, Danny YUE  wrote:
>
> Gentoo? Raspbian? Or even...arch?
>
> This might seems to be the wrong place to ask, but I consider Gentoo as
> my first-place option, so I would like to know your experiences.
>

If you want to use Gentoo on an embedded device you should be ready to
set up crossdev and a crossroot for it. This isn't hard.
Unfortunately, there are rather serious issues[1] in autotools that
prevent some packages from building with crossdev (code needs to be
run for various tests, but the tests compile it for the target system
- ARM - and try to run it on the host).

The packages that make up the stage3 image compile properly and large
packages like Perl and some others compile properly, but not
everything does and failures need to be fixed on a per-package basis.
I have a system and use it like this and it works fairly well. If you
want to use Debian or Arch one of the things you need to consider is
it will be much harder to get programs that are not already packaged
for you.


[1] An extremely interesting example is libidn2, where an autotools
test compiles a program to generate C code to be included in the
program: what is happening is a program generates a program to
generate a program to generate a program which is used by a program to
generate a program.



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Herminio Hernandez Jr.
I have yet to use Raspbian. I have used mostly Arch and Gentoo

Sent from my iPhone

> On Jun 26, 2017, at 3:12 AM, konsolebox  wrote:
> 
>> On Mon, Jun 26, 2017 at 4:49 PM, Danny YUE  wrote:
>> Any reasons? I want to hear some ideas to make the decision ;-)
>> 
>> Seriously, I do not think it is a good idea to compile using Raspberry
>> Pi because of the weak CPU.
>> 
> 
> True for Rasp. Pi 1, not 3.  You can also just buy a spare [class 10]
> Sd card, so you can try more OS.
> 
> (I compiled my packages with /var/tmp mounted as tmpfs, and used
> https://github.com/raspberrypi/firmware for the kernel, modules and
> firmware.  Having the self-compiled version doesn't always work and
> takes time to configure.)
> 
> -- 
> konsolebox
> 



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread konsolebox
On Mon, Jun 26, 2017 at 4:49 PM, Danny YUE  wrote:
> Any reasons? I want to hear some ideas to make the decision ;-)
>
> Seriously, I do not think it is a good idea to compile using Raspberry
> Pi because of the weak CPU.
>

True for Rasp. Pi 1, not 3.  You can also just buy a spare [class 10]
Sd card, so you can try more OS.

(I compiled my packages with /var/tmp mounted as tmpfs, and used
https://github.com/raspberrypi/firmware for the kernel, modules and
firmware.  Having the self-compiled version doesn't always work and
takes time to configure.)

-- 
konsolebox



Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Neil Bothwick
On Mon, 26 Jun 2017 17:16:29 +0800, Danny YUE wrote:

> But till now nobody ever mentioned *official* raspbian OS. Funny.

OK, I'll mention it. I generally use Raspbian because it just works. It
contains drivers for most of the 3rd party hardware and those that are
not included provide Raspbian installers or repos.

I generally use the lite version, which is just the core OS without the
desktop fluff, then add on whatever I need.


-- 
Neil Bothwick

Hard work has a future payoff. Laziness pays off NOW!


pgp7AxIbbExre.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Danny YUE
Gentoo 64 bit was made working on Raspberry Pi 3 not long ago.

I tried Arch for a short time last year. I was really missing those USE
flags and ability to lock/select software version.

Also when I was using Arch, I always felt that it was pushing me hard to
upgrade my system, which really feels uncomfortable.

I think that Gentoo runs more stable than Arch (might be wrong, just my
feeling), and with cross compiling it should not be a big problem to
upgrade whole system.

I do agree that using Arch on Raspberry Pi would be much simpler than
Gentoo. Anyway I will try to compile natively after I receive my Pi ;-)

But till now nobody ever mentioned *official* raspbian OS. Funny.


On 2017-06-26 09:00, Herminio Hernandez, Jr.  
wrote:
> The next time I use Gentoo I am planning have my build directoy on seperate
> storage. I know I can cross compile, but building natively did not take as
> long as you might think. If you are looking for similicty then try Arch.
>
> On Mon, Jun 26, 2017 at 1:58 AM, Herminio Hernandez, Jr. <
> herminio.hernande...@gmail.com> wrote:
>
>> Well right now I am running Arch on my Pi mostly b/c when I was running
>> Gentoo I was compiling natiavly.  Arch has the benefit of running a minimal
>> install and you can basically build from there. I had some issues running
>> Gentoo, but that was mostly b/c I was building nativaly on the SD card.
>>
>> On Mon, Jun 26, 2017 at 1:49 AM, Danny YUE  wrote:
>>
>>> Any reasons? I want to hear some ideas to make the decision ;-)
>>>
>>> Seriously, I do not think it is a good idea to compile using Raspberry
>>> Pi because of the weak CPU.
>>>
>>> I prefer to cross compile on my PC when using Gentoo.
>>>
>>>
>>> On 2017-06-26 08:47, Herminio Hernandez, Jr. <
>>> herminio.hernande...@gmail.com> wrote:
>>> > I prefer Gentoo or Arch. With Gentoo consider making /var/tmp/portage on
>>> > USB drive. This way you have your build directory not on the SD card.
>>> >
>>> > On Mon, Jun 26, 2017 at 1:41 AM, Danny YUE  wrote:
>>> >
>>> >> Hi guys,
>>> >>
>>> >> I am planning to buy a Raspberry Pi 3 to setup a local network storage
>>> >> and try some IoT stuff. Now I am searching for some background things.
>>> >>
>>> >> Which OS do you install on your Raspberry Pi?
>>> >>
>>> >> Gentoo? Raspbian? Or even...arch?
>>> >>
>>> >> This might seems to be the wrong place to ask, but I consider Gentoo as
>>> >> my first-place option, so I would like to know your experiences.
>>> >>
>>> >> Thanks.
>>> >>
>>> >> Danny
>>> >>
>>> >>
>>>
>>>
>>>
>>




Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Herminio Hernandez, Jr.
The next time I use Gentoo I am planning have my build directoy on seperate
storage. I know I can cross compile, but building natively did not take as
long as you might think. If you are looking for similicty then try Arch.

On Mon, Jun 26, 2017 at 1:58 AM, Herminio Hernandez, Jr. <
herminio.hernande...@gmail.com> wrote:

> Well right now I am running Arch on my Pi mostly b/c when I was running
> Gentoo I was compiling natiavly.  Arch has the benefit of running a minimal
> install and you can basically build from there. I had some issues running
> Gentoo, but that was mostly b/c I was building nativaly on the SD card.
>
> On Mon, Jun 26, 2017 at 1:49 AM, Danny YUE  wrote:
>
>> Any reasons? I want to hear some ideas to make the decision ;-)
>>
>> Seriously, I do not think it is a good idea to compile using Raspberry
>> Pi because of the weak CPU.
>>
>> I prefer to cross compile on my PC when using Gentoo.
>>
>>
>> On 2017-06-26 08:47, Herminio Hernandez, Jr. <
>> herminio.hernande...@gmail.com> wrote:
>> > I prefer Gentoo or Arch. With Gentoo consider making /var/tmp/portage on
>> > USB drive. This way you have your build directory not on the SD card.
>> >
>> > On Mon, Jun 26, 2017 at 1:41 AM, Danny YUE  wrote:
>> >
>> >> Hi guys,
>> >>
>> >> I am planning to buy a Raspberry Pi 3 to setup a local network storage
>> >> and try some IoT stuff. Now I am searching for some background things.
>> >>
>> >> Which OS do you install on your Raspberry Pi?
>> >>
>> >> Gentoo? Raspbian? Or even...arch?
>> >>
>> >> This might seems to be the wrong place to ask, but I consider Gentoo as
>> >> my first-place option, so I would like to know your experiences.
>> >>
>> >> Thanks.
>> >>
>> >> Danny
>> >>
>> >>
>>
>>
>>
>


Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Herminio Hernandez, Jr.
Well right now I am running Arch on my Pi mostly b/c when I was running
Gentoo I was compiling natiavly.  Arch has the benefit of running a minimal
install and you can basically build from there. I had some issues running
Gentoo, but that was mostly b/c I was building nativaly on the SD card.

On Mon, Jun 26, 2017 at 1:49 AM, Danny YUE  wrote:

> Any reasons? I want to hear some ideas to make the decision ;-)
>
> Seriously, I do not think it is a good idea to compile using Raspberry
> Pi because of the weak CPU.
>
> I prefer to cross compile on my PC when using Gentoo.
>
>
> On 2017-06-26 08:47, Herminio Hernandez, Jr.  com> wrote:
> > I prefer Gentoo or Arch. With Gentoo consider making /var/tmp/portage on
> > USB drive. This way you have your build directory not on the SD card.
> >
> > On Mon, Jun 26, 2017 at 1:41 AM, Danny YUE  wrote:
> >
> >> Hi guys,
> >>
> >> I am planning to buy a Raspberry Pi 3 to setup a local network storage
> >> and try some IoT stuff. Now I am searching for some background things.
> >>
> >> Which OS do you install on your Raspberry Pi?
> >>
> >> Gentoo? Raspbian? Or even...arch?
> >>
> >> This might seems to be the wrong place to ask, but I consider Gentoo as
> >> my first-place option, so I would like to know your experiences.
> >>
> >> Thanks.
> >>
> >> Danny
> >>
> >>
>
>
>


Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Danny YUE
Any reasons? I want to hear some ideas to make the decision ;-)

Seriously, I do not think it is a good idea to compile using Raspberry
Pi because of the weak CPU.

I prefer to cross compile on my PC when using Gentoo.


On 2017-06-26 08:47, Herminio Hernandez, Jr.  
wrote:
> I prefer Gentoo or Arch. With Gentoo consider making /var/tmp/portage on
> USB drive. This way you have your build directory not on the SD card.
>
> On Mon, Jun 26, 2017 at 1:41 AM, Danny YUE  wrote:
>
>> Hi guys,
>>
>> I am planning to buy a Raspberry Pi 3 to setup a local network storage
>> and try some IoT stuff. Now I am searching for some background things.
>>
>> Which OS do you install on your Raspberry Pi?
>>
>> Gentoo? Raspbian? Or even...arch?
>>
>> This might seems to be the wrong place to ask, but I consider Gentoo as
>> my first-place option, so I would like to know your experiences.
>>
>> Thanks.
>>
>> Danny
>>
>>




Re: [gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Herminio Hernandez, Jr.
I prefer Gentoo or Arch. With Gentoo consider making /var/tmp/portage on
USB drive. This way you have your build directory not on the SD card.

On Mon, Jun 26, 2017 at 1:41 AM, Danny YUE  wrote:

> Hi guys,
>
> I am planning to buy a Raspberry Pi 3 to setup a local network storage
> and try some IoT stuff. Now I am searching for some background things.
>
> Which OS do you install on your Raspberry Pi?
>
> Gentoo? Raspbian? Or even...arch?
>
> This might seems to be the wrong place to ask, but I consider Gentoo as
> my first-place option, so I would like to know your experiences.
>
> Thanks.
>
> Danny
>
>


[gentoo-user] Gentoo vs Raspbian on Raspberry Pi 3?

2017-06-26 Thread Danny YUE
Hi guys,

I am planning to buy a Raspberry Pi 3 to setup a local network storage
and try some IoT stuff. Now I am searching for some background things.

Which OS do you install on your Raspberry Pi?

Gentoo? Raspbian? Or even...arch?

This might seems to be the wrong place to ask, but I consider Gentoo as
my first-place option, so I would like to know your experiences.

Thanks.

Danny