[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#410919: gcc-4.2: If NUM_CPU check fails, make is told to run unlimited parallel compiles



Package: gcc-4.2
Version: 4.2-20070105-1
Tags: experimental

Hi,

if the detection logic in debian/rules2 for USE_CPUS fails and USE_CPUS
is left empty, make -j will be called with no argument, i.e. make will
run an unlimited number of concurrent compile jobs:

buildd@beethoven:~$ ps aexM | grep cc1 | wc -l
9
buildd@beethoven:~/build$ grep Number.of.para ../logs/gcc-4.2_4.2-20070105-1_20070214-1500
Number of parallel processes used for the build:
buildd@beethoven:~$ 

I think USE_CPUS should be set to 1 if empty, or is this the desired
behaviour? 

(Also, that check should be ported for Debian GNU/Hurd, but that's
another story).


Michael



Reply to: