Hey all,
Has anyone got distcc running in a prefix env? I would like to set up
some distcc hosts and maybe some crossdev hosts later but I do not
know where to start.
I looked at the Gentoo distcc doc[1] but I do not think it will apply
to prefix based on the fact that it needs a distcc user (and a distcc
daemon)
Any insights?
Thanks,
Jeremy
[1]: http://www.gentoo.org/doc/en/distcc.xml
--
gentoo-alt@lists.gentoo.org mailing list
02-13-2008, 07:50 PM
"Peter Ansell"
using distcc in prefix?
On 14/02/2008, Jeremy <jer.gentoo@gmail.com> wrote:
> Hey all,
> Has anyone got distcc running in a prefix env? I would like to set up
> some distcc hosts and maybe some crossdev hosts later but I do not
> know where to start.
>
> I looked at the Gentoo distcc doc[1] but I do not think it will apply
> to prefix based on the fact that it needs a distcc user (and a distcc
> daemon)
>
> Any insights?
>
> Thanks,
> Jeremy
>
I had it running manually on my OSX 10.5 Leopard prefix, not as a
daemon. But it wasn't much help to me because I haven't been able to
use crossdev to get an i386-pc-linux-gnu compiler chain running to
work with my other gentoo boxes. Crossdev keeps telling me things
about invalid install names.... It might be a security issue if you
aren't able to create a new user and group for it btw.
Peter
--
gentoo-alt@lists.gentoo.org mailing list
02-13-2008, 08:11 PM
"Peter Ansell"
using distcc in prefix?
On 14/02/2008, Peter Ansell <ansell.peter@gmail.com> wrote:
> On 14/02/2008, Jeremy <jer.gentoo@gmail.com> wrote:
> > Hey all,
> > Has anyone got distcc running in a prefix env? I would like to set up
> > some distcc hosts and maybe some crossdev hosts later but I do not
> > know where to start.
> >
> > I looked at the Gentoo distcc doc[1] but I do not think it will apply
> > to prefix based on the fact that it needs a distcc user (and a distcc
> > daemon)
> >
> > Any insights?
> >
> > Thanks,
> > Jeremy
> >
>
> I had it running manually on my OSX 10.5 Leopard prefix, not as a
> daemon. But it wasn't much help to me because I haven't been able to
> use crossdev to get an i386-pc-linux-gnu compiler chain running to
> work with my other gentoo boxes. Crossdev keeps telling me things
> about invalid install names.... It might be a security issue if you
> aren't able to create a new user and group for it btw.
I went back to try and do it again in my new (a week ago) osx prefix,
but it failed due to a file collision with unifdef and
darwin-miscutils-5. Filed a bug at bgo.
https://bugs.gentoo.org/show_bug.cgi?id=210048
Cheers,
Peter
--
gentoo-alt@lists.gentoo.org mailing list
02-13-2008, 08:45 PM
Jeremy
using distcc in prefix?
On Feb 13, 2008 2:50 PM, Peter Ansell <ansell.peter@gmail.com> wrote:
<snip>
> about invalid install names.... It might be a security issue if you
> aren't able to create a new user and group for it btw.
Although technically I *could* create a new user and group for the
machine, I would rather not if possible. Doesn't look like this is
avoidable however, right?
I'll need to add the users manually to workaround this:
* You do not have useradd (bootstrap) from shadow so I didn't
* install the distcc user. Note that attempting to start the daemon
* will fail. Please install shadow and re-emerge distcc.
* *** Installation is not complete ***
* You must run the following as root:
* /usr/bin/distcc-config --install
* after booting or chrooting into /home/jolexa/portage/linux-32/
* ***SECURITY NOTICE***
* If you are upgrading distcc please make sure to run etc-update to
* update your /etc/conf.d/distccd and /etc/init.d/distccd files with
* added security precautions (the --listen and --allow directives)
--
gentoo-alt@lists.gentoo.org mailing list
02-14-2008, 08:40 AM
Michael Haubenwallner
using distcc in prefix?
On Wed, 2008-02-13 at 13:34 -0600, Jeremy wrote:
> Hey all,
> Has anyone got distcc running in a prefix env? I would like to set up
> some distcc hosts and maybe some crossdev hosts later but I do not
> know where to start.
>
> I looked at the Gentoo distcc doc[1] but I do not think it will apply
> to prefix based on the fact that it needs a distcc user (and a distcc
> daemon)
>
> Any insights?
What I can say now is:
* Yes, technically it is possible:
Here we have some distcc-servers running on ia64-hpux, with
cross-compilers for hppa-hpux, x86-linux, x86-solaris,
sparc-solaris, (and theoretically ppc-aix).
We did not use crossdev to set them up.
The cross-hppa-hpux-gcc only works because its built on hpux,
even if its ia64-hpux.
* There's no need to have distccd running as root or some
special-named user, although it is running as root here, because
we've added it as hpux-service to get it up automatically at
system startup.
* No, it's not in prefix-gentoo yet.
Above setup is done using something like prefix-launcher.
* Yes, it will go into prefix-gentoo, but I've no idea when and
how.
* I've not looked at crossdev yet, although I think it's mainly
designed for linux-targets.
/haubi/
--
Michael Haubenwallner
Gentoo on a different level
--
gentoo-alt@lists.gentoo.org mailing list
02-14-2008, 09:25 AM
Fabian Groffen
using distcc in prefix?
On 14-02-2008 10:40:18 +0100, Michael Haubenwallner wrote:
> * I've not looked at crossdev yet, although I think it's mainly
> designed for linux-targets.
Gentoo Linux and Gentoo FreeBSD (so with the assumption that everything
in the environment can be controlled and (re)compiled from source.)
--
Fabian Groffen
Gentoo on a different level
--
gentoo-alt@lists.gentoo.org mailing list