Skip to contentSkip to conversation

gcc hang on alsa-lib

parisc-linux Paul 2 participants 2 messages Apr 29, 2004

lore
Share & tools
lore

Paul

author
#0 lore raw

I know my machine isn't the fastest around, but should this take 10+ hrs (and counting)?

This is from alsa-libs-1.0.4.

make:
<snip>
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT pcm_para
ms.lo -MD -MP -MF ".deps/pcm_params.Tpo" \
-c -o pcm_params.lo test -f 'pcm_params.c' || echo './'pcm_params.c; \
then mv -f ".deps/pcm_params.Tpo" ".deps/pcm_params.Plo"; \
else rm -f ".deps/pcm_params.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT pcm_params.lo -MD -MP -MF .deps/pcm_params.Tpo -c p cm_params.c -fPIC -DPIC -o pcm_params.lo

Top:
18630 root 25 0 11576 9936 4532 R 89.2 2.7 628:01.26 cc1

#1 lore raw
Quoted 19 lines · Paul

I know my machine isn't the fastest around, but should this take 10+ hrs (and counting)?

This is from alsa-libs-1.0.4.

make:
<snip>
if /bin/sh ../../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT
pcm_para
ms.lo -MD -MP -MF ".deps/pcm_params.Tpo" \
-c -o pcm_params.lo test -f 'pcm_params.c' || echo './'pcm_params.c; \
then mv -f ".deps/pcm_params.Tpo" ".deps/pcm_params.Plo"; \
else rm -f ".deps/pcm_params.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT pcm_params.lo -MD -MP -MF .deps/pcm_params.Tpo -c p cm_params.c -fPIC -DPIC -o pcm_params.lo

Quoted 2 lines

Top:
18630 root 25 0 11576 9936 4532 R 89.2 2.7 628:01.26 cc1

Kernel version? libc version? dmesg output?

There is some subshell processing there that might be hanging, see the 'mv -f' or the 'rm -f', is the source tree network mounted?

If you ctrl+c the build, then just run that particular line again, does it hang again? If so, then you have a repeatable testcase. Please send us the preprocessed output :)

c.