[Bug 1633] New: [0.9.32-git regression] build problem: infinite loop spawning 'make'

bugzilla at busybox.net bugzilla at busybox.net
Sun Apr 25 08:49:33 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=1633

              Host: powerpc-gnu-linux-uclibc
            Target: powerpc-gnu-linux-uclibc
             Build: powerpc-gnu-linux-uclibc
           Summary: [0.9.32-git regression] build problem: infinite loop
                    spawning 'make'
           Product: uClibc
           Version: 0.9.32
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
        AssignedTo: unassigned at uclibc.org
        ReportedBy: dougmencken at gmail.com
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


I tried to build 0_9_30_rc3-995-gcce1105 (it's from git describe, something is
wrong with your tags, full commit sha1 is
cce1105f017744ad2d6b7b86d8a3160637bebea1), but got a problem. Without V=1 make
halts after " GEN include/bits/sysnum.h", lasts very long and after some time
causes my system to freeze entirely. With V=1, it prints a lot of make
one-liners:
make
make
make
make
(hundreds of them)

make processes continue to spawn, load average increases (I stopped it at load
average: 184.27, 180.19, 78.10)
$ ps -A | grep make | wc -l
2602

On ^C, I got 2609 messages:
 make[2608]: *** [pregen-headers] Interrupt
 ...
 make[1]: *** [pregen-headers] Interrupt
 make: *** [pregen-headers] Interrupt

I did git log searching for 'pregen' and found the possibly related commits. 
Reverting 718dcdc32bc831b2c141b020124501515afb9adc shows no success.

Then I git bisected repository and got:

046035ecde92262d96eff2192ba3cda716f04909 is the first bad commit
commit 046035ecde92262d96eff2192ba3cda716f04909
Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Feb 23 16:21:18 2010 -0800

    pregen: Fix the parallel build problem in pregen target

    * pregen-headers really need the headers to get themselves generated.
      so we create explicit dependency and invoke make as an action on
      pregen. This fixes the parallel build issue for better.

    Signed-off-by: Khem Raj <raj.khem at gmail.com>

git bisect log:

git bisect start
# bad: [cce1105f017744ad2d6b7b86d8a3160637bebea1] change ABI_VERSION back to
just include the major number
git bisect bad cce1105f017744ad2d6b7b86d8a3160637bebea1
# good: [1f5c73c9f8a98b1d2a35cea868a585c97ab0e436] order headers before
pregen-headers
git bisect good 1f5c73c9f8a98b1d2a35cea868a585c97ab0e436
# bad: [f10d127d36ada5b202cdea521e61b05522beb192] Merge commit 'origin/master'
into nptl
git bisect bad f10d127d36ada5b202cdea521e61b05522beb192
# good: [abdbaa897b3d7b5b72c8521a38aa84cada242837] prettify make clean
git bisect good abdbaa897b3d7b5b72c8521a38aa84cada242837
# bad: [c3af26045aa44286482fbfe93097f24b48cfb6a3] nptl needs stdio futexes
enabled.
git bisect bad c3af26045aa44286482fbfe93097f24b48cfb6a3
# good: [2864786ad884369ab5397be864e9f43d32bc2726] bump version to 0.9.32-git
git bisect good 2864786ad884369ab5397be864e9f43d32bc2726
# bad: [ef18cfe8ebab25f5ef92e81956f50e2dc57df602] pregen-headers: Add new
target which depends on headers.
git bisect bad ef18cfe8ebab25f5ef92e81956f50e2dc57df602
# bad: [046035ecde92262d96eff2192ba3cda716f04909] pregen: Fix the parallel
build problem in pregen target
git bisect bad 046035ecde92262d96eff2192ba3cda716f04909
# good: [2a0393652f0d2157fcfb81a1bf38c7f775182e49] get rid of extra variables
for nptl pregen altogether
git bisect good 2a0393652f0d2157fcfb81a1bf38c7f775182e49


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list