Current-Users archive

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

Re: current fails to build on amd64



$ uname -a
NetBSD ymir 9.99.73 NetBSD 9.99.73 (GENERIC) #7: Sat Sep 19 10:58:21
BST 2020  sysbuild@ymir:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC
amd64
$ gcc --version
gcc (nb1 20200907) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

It builds for me. I did remove the obj directory before the first
build expecting to bring gcc 9.3; I also - by old custom - run 'make
cleandir' in src and xsrc, whenever I remove the obj folder.

I've got another hour or so doing 'pkg_rolling-replace', then I am
going to build -current.

On Mon, 21 Sep 2020 at 18:21, Nikita Gillmann <nikita%netbsd.org@localhost> wrote:
>
> This is with a recent checkout after gcc9 import. If no one can
> reproduce this, what can I do?
>
> #    create  libstdc++-v3/cow-fs_dir.d
> CC=/usr/src/../tools/bin/x86_64--netbsd-c++
> /usr/src/../tools/bin/nbmkdep -f cow-fs_dir.d.tmp  --
> -I/usr/src/../obj/destdir.amd64/usr/include/g++/backward
> --sysroot=/usr/src/../obj/destdir.amd64
> -I/usr/src/external/gpl3/gcc/dist/gcc
> -I/usr/src/external/gpl3/gcc/dist/include
> -I/usr/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++
> -I/usr/src/external/gpl3/gcc/dist/libgcc
> -I/usr/src/external/gpl3/gcc/lib/libstdc++-v3/../libstdc++-v3/arch/x86_64
> -I. -DHAVE_STDLIB_H -DHAVE_STRING_H
> -I/usr/src/external/gpl3/gcc/dist/libstdc++-v3/include
> -I/usr/src/external/gpl3/gcc/di
> st/gcc/config/i386
> -I/usr/src/external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64
> -D_GLIBCXX_SHARED -DGTHREAD_USE_WEAK -DSUPPORTS_WEAK
> -I/usr/src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/
> dragonfly -Wp,-fno-canonical-system-headers -std=gnu++17
> -fimplicit-templates
> /usr/src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/cow-fs_dir.cc &&
> mv -f cow-fs_dir.d.tmp cow-fs_dir.d
> In file included from
> /usr/src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/cow-fs_dir.cc:26:
> /usr/src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/fs_dir.cc:29:10:
> fatal error: bits/largefile-config.h: No such file or directory
>    29 | #include <bits/largefile-config.h>
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> nbmkdep: compile failed.
>
> *** Failed target:  cow-fs_dir.d
> *** Failed command: CC=/usr/src/../tools/bin/x86_64--netbsd-c++
> /usr/src/../tools/bin/nbmkdep -f cow-fs_dir.d.tmp --
> -I/usr/src/../obj/destdir.amd64/usr/include/g++/backward
> --sysroot=/usr/src/../obj/destdir.amd64
> -I/usr/src/external/gpl3/gcc/dist/gcc
> -I/usr/src/external/gpl3/gcc/dist/include
> -I/usr/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++
> -I/usr/src/external/gpl3/gcc/dist/libgcc
> -I/usr/src/external/gpl3/gcc/lib/libstdc++-v3/../libstdc++-v3/arch/x86_64
> -I. -DHAVE_STDLIB_H -DHAVE_STRING_H
> -I/usr/src/external/gpl3/gcc/dist/libstdc++-v3/include
> -I/usr/src/external/gpl3/gcc/dist/gcc/config/i386
> -I/usr/src/external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64
> -D_GLIBCXX_SHARED -DGTHREAD_USE_WEAK -DSUPPORTS_WEAK
> -I/usr/src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly
> -Wp,-fno-canonical-system-headers -std=gnu++17 -fimplicit-templates
> /usr/src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/cow-fs_dir.cc &&
> mv -f cow-fs_dir.d.tmp cow-fs_dir.d
> *** Error code 1
>
> Stop.
> nbmake[5]: stopped in /usr/src/external/gpl3/gcc/lib/libstdc++-v3
> *** Failed target:  dependall-../external/gpl3/gcc/lib/libstdc++-v3
> *** 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/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _ma
> kedirtarget ../external/gpl3/gcc/lib/libstdc++-v3 dependall
> *** Error code 1
>
> *** Failed target:  build_install
> *** 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/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _ma
> kedirtarget . dependall-../external/bsd/librtld_db/lib
> dependall-../external/cddl/osnet/lib/libctf
> dependall-../external/public-domain/xz/lib
> dependall-../crypto/external/bsd/netpgp/libmj dep
> endall-../crypto/external/bsd/netpgp/lib/verify
> dependall-../external/bsd/blocklist/lib
> dependall-../external/bsd/elftoolchain/lib/libdwarf
> dependall-../external/mit/lua/lib dependall-libcurs
> es dependall-libdm dependall-libedit dependall-libexecinfo
> dependall-libppath dependall-libperfuse dependall-libquota
> dependall-librefuse dependall-libisns dependall-librumphijack dependall-l
> ibrumpres dependall-librumpuser dependall-libnpf
> dependall-../crypto/external/bsd/openssl/lib
> dependall-../external/bsd/iscsi/lib
> dependall-../external/cddl/osnet/lib/libzfs_core dependall-..
> /external/cddl/osnet/lib/libzpool dependall-../external/gpl2/lvm2/lib
> dependall-../external/gpl3/binutils/lib
> dependall-../external/gpl3/gcc/lib/libstdc++-v3
> dependall-../external/gpl3/gcc/li
> b/libsupc++ dependall-../external/apache2/llvm/include
> dependall-../external/mit/libcbor/lib dependall-../external/mit/libuv/lib
> *** Error code 1
>
> Stop.
> nbmake[3]: stopped in /usr/src/lib
>
> *** Failed target:  do-lib
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
> real="/usr/src" ;; *) this="${dir}/"; real="/usr/
> src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===>
> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
> /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
> _makedirtarget lib
> build_install
> *** Error code 1
>
> *** Failed target:  build
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
> real="/usr/src" ;; *) this="${dir}/"; real="/usr/
> src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===>
> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
> /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
> _makedirtarget . do
> -lib
> *** Error code 1
>
> *** Failed target:  distribution
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
> real="/usr/src" ;; *) this="${dir}/"; real="/usr/
> src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===>
> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
> /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
> _makedirtarget . bu
> ild NOPOSTINSTALL=1
> *** Error code 1
>
> ERROR: Failed to make distribution
> *** BUILD ABORTED ***
>


-- 
----


Home | Main Index | Thread Index | Old Index