Skip site navigation (1)Skip section navigation (2)
Date:      02 Jan 2009 16:18:25 +0100
From:      "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
To:        "Roman Divacky" <rdivacky@freebsd.org>
Cc:        emulation@freebsd.org, current@freebsd.org
Subject:   Re: 8-current: linux_dist-gentoo-stage3 wonn't bootstrap
Message-ID:  <wpbpupivni.fsf@heho.snv.jussieu.fr>
In-Reply-To: <wphc4kxwmc.fsf@heho.snv.jussieu.fr>
References:  <wp3ag9s5hy.fsf@heho.snv.jussieu.fr> <20081227220645.GA13295@freebsd.org> <wpmyeg2yjg.fsf@heho.snv.jussieu.fr> <20081228175745.GA56640@freebsd.org> <wpmyegdr0v.fsf@heho.snv.jussieu.fr> <20081228202526.GA74948@freebsd.org> <wpy6y0f32m.fsf@heho.snv.jussieu.fr> <20081228211505.GA80323@freebsd.org> <wpocyw9dt7.fsf@heho.snv.jussieu.fr> <20081228214438.GA83007@freebsd.org> <wpk59j48jf.fsf_-_@heho.snv.jussieu.fr> <wphc4kxwmc.fsf@heho.snv.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello and best wishes,


[1 added current@ for a wider audience]

[2 the good news, I could install and run quite a number of
   'portaghes' in the gentoo_stage3 chroot and this for
   now is the only problem I have]


"Arno J. Klaassen" <arno@heho.snv.jussieu.fr> writes:


> [ ... linux-gcc hangs in 'ppwait' state when compiling with -pipe ... ]

> > > I dont see anything obvious.. can you do "ps axl" and see what the MWCHAN is?
> > > that might shed some light to this...
> > 
> > bon, in fact when I launce the command by hand adding a '-v ' to gcc, output
> > says :
> > 
> > /usr/libexec/gcc/i486-pc-linux-gnu/4.1.2/cc1 ... | /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/as -V -Qy -o /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i486-pc-linux-gnu-nptl/iconv/gconv_simple.o -
> > 
> > 
> > but, cc1 is stuck in 'pipewr' and no .../bin/as process is running (any longer)
> > nor the file .../gconv_simple.o created 
> 
> I investigated this a bit more (still chrooted to /usr/local/gentoo-stage3) :
> 
>   i486-pc-linux-gnu-gcc gconv_open.c -c                 : OK
>   i486-pc-linux-gnu-gcc gconv_open.c -c -pipe           : OK
> 
>   i486-pc-linux-gnu-gcc gconv_simple.c -c               : OK
>   i486-pc-linux-gnu-gcc gconv_simple.c -c -pipe         : pipe to as(1) fails
> 
> I tried to play with kern.ipc.maxpipekva (I vaguely remember that
> was necessary for linux testsuites) pumping it up to "536608768", but
> no difference. If someone has another suggestion?


Some more info :

 - it is not specific to just gconv_simple.c; Expat.c generated in
   the XML-Parser portage has the same behaviour

 - it is not specific to linux-gcc : it now hangs in
    "bison -y -d -v 2>/dev/null ./parser.y" 
   a "ps axlww | fgrep 3758" shows :

    0 37586 35141   0  76  0  2576  2300 ppwait D+     0    0:00.04 make (gmake)
    0 37587 37586   0  76  0  3316  3148 wait   I+     0    0:00.02 /bin/sh -c bison -y -d -v 2>/dev/null ./parser.y (bash)
    0 37588 37587   0  76  0  3044  2484 ppwait D+     0    0:00.03 bison -y -d -v ./parser.y
    0 37589 37588   0  76  0  2432  2132 piperd I+     0    0:00.01 /usr/bin/m4 /usr/share/bison/m4sugar/m4sugar.m4 - /usr/share/bison/yacc.c


-current is as of Sat Dec 27

Thank you for any help

Arno



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wpbpupivni.fsf>