[email protected] wrote:
> I have struggled through the gcc phase. I did very dirty hacks including
> replacing failing steps with linking against hand-pointed libraries.
> 
> So now I have gcc-4.2.4 at hand.
> 
> Next comes the coreutils-6.9.

> the dup-safer.c file is very strange: 
> 
> ,----
> | $ cat lib/dup-safer.c 
> | ccTvzRll.i.o : /tmp/ccTvzRll.i
> `----

Can't say why, but this obviously is not the correct content of lib/dup-safer.c

> One very annoying problem is, the portage system keeps using /bin/sh

Must admit I've added 'export CONFIG_SHELL=/some/bash' to my ~/.profile
long time ago - and actually forgot about it, so this didn't bite me again...

> Hours of hours doing by hand. Now I am exhausted. I have to find a way
> to tell portage to use bash, and get rid of the f***ingly old sh. I am a
> normal user, I can't replace /bin/sh with the symlink to bash. (Dahhhh!)
> 
> Any hints or ideas?

It may help even for your initial gcc troubles to set CONFIG_SHELL prior
to any other operation, either building prefix-launcher or anything else.

Oh well, there's another thing to check first:
  $ /usr/sbin/lsattr -EH -l sys0 | grep ncargs
  ncargs       40    ARG/ENV list size in 4K byte blocks     True

The default value of 6 (or even 4) usually is too small - we've set it
to 40 here, but this can be done by root only:
  $ /usr/sbin/chdev -l sys0 -a ncargs=40

Although Sun for example does recommend a value of 16:
http://docs.sun.com/app/docs/doc/820-3530/gfxyz?a=view

Another question: Which version of gcc do you have already installed
and build prefix-launcher with?

/haubi/
-- 
Michael Haubenwallner
Gentoo on a different level

Reply via email to