NetBSD-Bugs archive

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

toolchain/55578: make(1) error reporting is broken for -j builds



>Number:         55578
>Category:       toolchain
>Synopsis:       make(1) error reporting is broken for -j builds
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 16 15:45:00 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.71
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 9.99.71 NetBSD 9.99.71 (MODULAR) #366: Sun Aug 16 14:01:58 CEST 2020 martin%thirdstage.duskware.de@localhost:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

When aborting a build, make(1) used to say: stopped in $dir...

It does not tell the directory of the initial error any more and it is often
impossible to derive the information systematically from the build log
if using build.sh with high -j values.

We now only get the original error message(s), e.g. from gcc, spread over
10th of pages intermixed with output from other make jobs, plus in the
end a list of completed target names. Example:

                            ^
/usr/src/sys/crypto/aes/arch/arm/aes_neon.c:195:16: error: excess elements in scalar initializer [-Werror]
      0x02,0x0C,0x0B,0x0A,0x09,0x03,0x07,0x04),
                ^~~~
/usr/src/sys/crypto/aes/arch/arm/arm_neon_imm.h:51:30: note: in definition of macro 'VQ_N_U8'
  {h,g,f,e,d,c,b,a, p,o,n,m,l,k,j,i}
                              ^
--- dependall-external ---
--- dependall-nec_vndr ---
--- dependall-tests ---
--- dependall-sbin ---
--- dependall-compat ---
--- dependall-usr.bin ---
--- dependall-csplit ---
--- dependall-external ---
--- dependall-gpl3 ---
--- dependall-libiberty ---
--- dependall-sys ---
--- dependall-evbarm ---
--- dependsalib ---
--- dependall-usr.bin ---
--- dependall-config ---
--- dependall-external ---
--- dependall-ibm-public ---
--- dependall-usr.sbin ---
--- dependall-btpand ---
--- dependall-sys ---
--- dependall-modules ---
--- dependall-compat_raid_80 ---
--- dependall-share ---
--- dependall-i18n ---
--- dependall-usr.bin ---
--- dependall-compress ---
--- dependall-libexec ---
--- dependall-telnetd ---
--- dependall-sys ---
--- dependall-compat_crypto_50 ---
--- dependall-compat_sysv_50 ---
--- dependall-bin ---
--- dependall-usr.sbin ---
--- dependall-dumpfs ---
--- dependall-sys ---
--- dependall-arch ---
--- dependall-gzboot ---
--- dependall-libexec ---
--- dependall-ld.elf_so ---
--- dependall-sys ---
--- dependall-crypto/external ---
--- dependall-libexec ---
--- dependall-lfs_cleanerd ---
--- dependall-usr.bin ---
--- dependall-crunch ---
--- dependall-external ---
--- dependall-gpl2 ---
--- dependall-usr.sbin ---
--- dependall-dumplfs ---
--- dependall-external ---
--- dependall-apache2 ---
--- dependall-bsd ---
--- dependall-byacc ---
--- dependall-games ---
--- dependall-larn ---
--- dependall-external ---
--- dependall-mpl ---

ERROR: Failed to make distribution
*** BUILD ABORTED ***


>How-To-Repeat:

./build.sh -j 24

>Fix:
n/a



Home | Main Index | Thread Index | Old Index