NetBSD-Bugs archive

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

toolchain/55832: make does not show directory on error



>Number:         55832
>Category:       toolchain
>Synopsis:       make does not show directory on error
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 29 08:40:00 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.76
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 9.99.76 NetBSD 9.99.76 (GENERIC) #426: Sun Nov 29 08:39:34 CET 2020 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

Recently failures to build the base system have become unparsable when using
parallel makes.

Example tail of a build log (and I don't think I skipped anything relevant
before that excerpt):

--- dependall-tests ---
--- h_dl_symver_v1.debug ---
--- dependall-external ---
--- ipf_y.o ---
--- dependall-tests ---
#    create  ld.elf_so/h_dl_symver_v1.debug
(  /work/tools/bin/x86_64--netbsd-objcopy --only-keep-debug h_dl_symver_v1 h_dl_symver_v1.debug  && /work/tools/bin/x86_64--netbsd-objcopy --strip-debug -p -R .gnu_debuglink  --add-gnu-debuglink=h_dl_symver_v1.debug h_dl_symver_v1  ) || (rm -f h_dl_symver_v1.debug; false)
--- dependall-external ---
#   compile  ipf/ipf_y.o
/work/tools/bin/x86_64--netbsd-gcc -O2 -pipe   -fPIE  -Wno-stringop-truncation  -g   -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Werror  -Wno-error=address-of-packed-member     --sysroot=/ -I. -I/work/src/external/bsd/ipf/dist -I/work/src/external/bsd/ipf/dist/tools -I/work/src/sys/external/bsd/ipf -I/work/src/sys/external/bsd/ipf/netinet -DSTATETOP -D__UIO_EXPOSE -DINET -DINET6  -c    ipf_y.c -o ipf_y.o.o
--- dependall-tests ---
--- h_dl_symver_v2.debug ---
#    create  ld.elf_so/h_dl_symver_v2.debug
(  /work/tools/bin/x86_64--netbsd-objcopy --only-keep-debug h_dl_symver_v2 h_dl_symver_v2.debug  && /work/tools/bin/x86_64--netbsd-objcopy --strip-debug -p -R .gnu_debuglink  --add-gnu-debuglink=h_dl_symver_v2.debug h_dl_symver_v2  ) || (rm -f h_dl_symver_v2.debug; false)
--- t_dlerror-cleared.debug ---
#    create  ld.elf_so/t_dlerror-cleared.debug
(  /work/tools/bin/x86_64--netbsd-objcopy --only-keep-debug t_dlerror-cleared t_dlerror-cleared.debug  && /work/tools/bin/x86_64--netbsd-objcopy --strip-debug -p -R .gnu_debuglink  --add-gnu-debuglink=t_dlerror-cleared.debug t_dlerror-cleared  ) || (rm -f t_dlerror-cleared.debug; false)
--- dependall-external ---
--- dependall-gpl2 ---
/work/tools/bin/nbctfconvert -g -L VERSION -g -o subr.o subr.o.o && rm -f subr.o.o
--- dependall-tests ---
--- t_dlerror-false.debug ---
#    create  ld.elf_so/t_dlerror-false.debug
(  /work/tools/bin/x86_64--netbsd-objcopy --only-keep-debug t_dlerror-false t_dlerror-false.debug  && /work/tools/bin/x86_64--netbsd-objcopy --strip-debug -p -R .gnu_debuglink  --add-gnu-debuglink=t_dlerror-false.debug t_dlerror-false  ) || (rm -f t_dlerror-false.debug; false)
--- dependall-external ---
--- tag.o ---
#   compile  xcvs/tag.o
/work/tools/bin/x86_64--netbsd-gcc -O2 -pipe   -fPIE  -g   -std=gnu99    -Werror     --sysroot=/ -DSETXID_SUPPORT -DHAVE_CONFIG_H  -I/work/src/external/gpl2/xcvs/bin/xcvs/../../include -I/work/src/external/gpl2/xcvs/bin/xcvs/../../dist/lib  -I/work/src/external/gpl2/xcvs/bin/xcvs/../../dist/diff -I/work/src/external/gpl2/xcvs/bin/xcvs/../../dist/src -DHAVE_GSSAPI -I//usr/include/krb5  -c  -Wno-stringop-overflow    /work/src/external/gpl2/xcvs/bin/xcvs/../../dist/src/tag.c -o tag.o.o
--- dependall-gpl3 ---
/work/tools/bin/nbctfmerge -t -g -L VERSION -g -o readelf readelf.o version.o unwind-ia64.o dwarf.o elfcomm.o
ERROR: nbctfmerge: Input file dwarf.o was partially built from C sources, but no CTF data was present
*** [readelf] Error code 1
--- dependall-sys ---
/work/tools/bin/nbctfconvert -L VERSION -g -o compat_20_mod.o compat_20_mod.o.o && rm -f compat_20_mod.o.o
--- dependall-usr.sbin ---
/work/tools/bin/nbctfconvert -g -L VERSION -g -o route6d.o route6d.o.o && rm -f route6d.o.o
--- dependall-tests ---

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


>How-To-Repeat:
./build.sh -j 24 and hit a failure

>Fix:
Make make print (at least) the directory of the submake where the failure
happened again.



Home | Main Index | Thread Index | Old Index