Current-Users archive

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

./build.sh tool build failure in very recent NetBSD-current



Hi,

I have just updated src tree and I have gotten a build failure
of ./build.sh -m amd64 on NetBSD/amd64 of 2021-07-09.
My -current build is performed from scratch and previous object files
are completely removed already.

I feel that this failure is related to recent gmp update.

Could you take a look at my problem?

Thanks in advance.

The error log is as follows:

$ uname -ap
NetBSD brownie 9.99.86 NetBSD 9.99.86 (DTRACE7) #1: Fri Jul  9 14:24:17 JST 2021  ryoon@brownie:/usr/world/9.99/amd64/obj/sys/arch/amd64/compile/DTRACE7 amd64 x86_64
$ ./build.sh -U -O /usr/world/9.99/amd64/obj -T /usr/world/9.99/amd64/tools -D /usr/world/9.99/amd64/dest -R /usr/world/9.99/amd64/release -u -j 8 -m amd64 tools
(snip)
--- gen-fac ---
cc -o /usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/gen-fac /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/gen-fac.c
--- gen-jacobitab ---
cc -o /usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/gen-jacobitab /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/gen-jacobitab.c -lm
--- gen-bases ---
cc -o /usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/gen-bases /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/gen-bases.c -lm
--- perfsqr.h ---
cc -o /usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/gen-psqr /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/gen-psqr.c
--- gen-trialdivtab ---
cc -o /usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/gen-trialdivtab /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/gen-trialdivtab.c -lm
--- /usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/config.m4 ---
rm -f /usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/config.m4 && cp /usr/src/external/lgpl3/gmp/lib/libgmp/arch/x86_64/config.m4 /usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/config.m4
--- sqr_diag_addlsh1.s ---
--- nand_n.s ---
--- sqr_diag_addlsh1.s ---
/usr/world/9.99/amd64/tools/bin/nbm4 -DCONFIG_TOP_SRCDIR=/usr/src/external/lgpl3/gmp/lib/libgmp/../../dist -I/usr/src/external/lgpl3/gmp/lib/libgmp -I/usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/dummy -I/usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/ -I/usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn  -I/usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp  -DPIC   -DOPERATION_sqr_diag_addlsh1 /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn/x86_64/sqr_diag_addlsh1.asm > sqr_diag_addlsh1.s
--- nand_n.s ---
/usr/world/9.99/amd64/tools/bin/nbm4 -DCONFIG_TOP_SRCDIR=/usr/src/external/lgpl3/gmp/lib/libgmp/../../dist -I/usr/src/external/lgpl3/gmp/lib/libgmp -I/usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/dummy -I/usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/ -I/usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn  -I/usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp  -DPIC   -DOPERATION_nand_n /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn/x86_64/logops_n.asm > nand_n.s
--- sqr_diag_addlsh1.s ---
 /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn/x86_64/sqr_diag_addlsh1.asm: 70: COFF_TYPE needs HAVE_COFF_TYPE defined

 /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn/x86_64/sqr_diag_addlsh1.asm: 117: Errors occurred during m4 processing
*** Failed target: sqr_diag_addlsh1.s
*** Failed commands:
        ${TOOL_M4} -DCONFIG_TOP_SRCDIR=${DIST} ${BUILD_S_INCS}  ${M4FLAGS} ${M4FLAGS.${.TARGET:R}}  -DOPERATION_${.TARGET:R} ${DIST}/${:Umpn/x86_64/sqr_diag_addlsh1.asm} > ${.TARGET}
*** [sqr_diag_addlsh1.s] Error code 1

nbmake[5]: stopped in /usr/src/external/lgpl3/gmp/lib/libgmp
--- nand_n.s ---
 /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn/x86_64/logops_n.asm: 260: COFF_TYPE needs HAVE_COFF_TYPE defined
 /usr/src/external/lgpl3/gmp/lib/libgmp/../../dist/mpn/x86_64/logops_n.asm: 261: Errors occurred during m4 processing
*** Failed target: nand_n.s
*** Failed commands:
        ${TOOL_M4} -DCONFIG_TOP_SRCDIR=${DIST} ${BUILD_S_INCS}  ${M4FLAGS} ${M4FLAGS.${.TARGET:R}}  -DOPERATION_${.TARGET:R} ${DIST}/${:Umpn/x86_64/logops_n.asm} > ${.TARGET}
*** [nand_n.s] Error code 1

nbmake[5]: stopped in /usr/src/external/lgpl3/gmp/lib/libgmp
--- perfsqr.h ---
/usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/gen-psqr 64 0 > /usr/world/9.99/amd64/obj/external/lgpl3/gmp/lib/libgmp/perfsqr.h
2 errors

nbmake[5]: stopped in /usr/src/external/lgpl3/gmp/lib/libgmp
*** Failed target:  dependall-../external/lgpl3/gmp/lib/libgmp
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/"; real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/world/9.99/amd64/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget ../external/lgpl3/gmp/lib/libgmp dependall
*** Error code 2

Stop.
nbmake[4]: stopped in /usr/src/lib
*** Failed target: build_install
*** Failed commands:
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1}:C/^/dependall-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1}:C/^/install-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11}:C/^/dependall-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11}:C/^/install-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111}:C/^/dependall-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111}:C/^/install-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1111}:C/^/dependall-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1111}:C/^/install-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11111}:C/^/dependall-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11111}:C/^/install-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111111}:C/^/dependall-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111111}:C/^/install-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1111111}:C/^/dependall-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U1111111}:C/^/install-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11111111}:C/^/dependall-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U11111111}:C/^/install-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111111111}:C/^/dependall-/}
        ${MAKEDIRTARGET} . ${SUBDIR_GROUP.${:U111111111}:C/^/install-/}
*** [build_install] Error code 1

nbmake[3]: stopped in /usr/src/lib
1 error

nbmake[3]: stopped in /usr/src/lib
nbmake[2]: stopped in /usr/src

nbmake[1]: stopped in /usr/src

ERROR: Failed to make build
*** BUILD ABORTED ***
*** Error code 1

Stop.
make: stopped in /usr/src

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index