NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: -CURRENT cross compilation hangs with fatal error: pass-instances.def: No such file or directory
Hello,
On Wed, 4 Jan 2017 13:27:29 +0100
BERTRAND Joël <joel.bertrand%systella.fr@localhost> wrote:
> Hello,
>
> I'm trying to build HEAD/201701040710Z from sources (as I'm looking for
> a fix to use agr over VPN). I crossbuild NetBSD/alpha on a Linux/amd64
> server with :
>
> ./build.sh -m alpha -U -x -O ../obj-alpha/ -T ../tools-alpha/
> distribution kernel=GENERIC
>
> and build process aborts with :
>
> # create backend/alpha.d
> CC=/export/home/bertrand/netbsd/netbsd-cross/current/src/../tools-alpha/bin/alpha--netbsd-c++
> /export/home/bertrand/netbsd/netbsd-cross/current/src/../tools-alpha/bin/nbmkdep
> -f alpha.d.tmp -- -I.
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/usr.bin/backend/../gcc/arch/alpha
> -DIN_GCC -DHAVE_CONFIG_H
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc/.
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc/../include
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc/../libcpp/include
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc/../libdecnumber
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc/../libdecnumber/dpd
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc/../libbacktrace
> -DTARGET_NAME=\"alpha--netbsd\"
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/libgcc
> -I/export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/usr.bin/backend/../../lib/libgcc/libgcov/arch/alpha
> --sysroot=/export/home/bertrand/netbsd/netbsd-cross/current/src/../obj-alpha/destdir.alpha
> -DLOCALEDIR=\"/usr/share/locale\" -DNETBSD_NATIVE -I.
> -DENABLE_SHARED_LIBGCC
> /export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc/config/alpha/alpha.c
> && mv alpha.d.tmp alpha.d
> In file included from
> /export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc/config/alpha/alpha.c:93:0:
> /export/home/bertrand/netbsd/netbsd-cross/current/src/external/gpl3/gcc/dist/gcc/pass_manager.h:125:30:
> fatal error: pass-instances.def: No such file or directory
> compilation terminated.
> nbmkdep: compile failed.
>
> There is no pass-instances.def in src tree.
This looks like leftovers from previous builds - did you nuke $OBJDIR
and $DESTDIR? IIRC binutils got updated, and a little while ago gcc as
well. Also, do you have anything like HAVE_BINUTILS=226 set?
have fun
Michael
Home |
Main Index |
Thread Index |
Old Index