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



BERTRAND Joël a écrit :
Michael a écrit :
Hello,

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?

     I haven't HAVE_BINUTILS=226. I have destroyed $OBJDIR and $DESTDIR
and result is the same :

#    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.

*** Failed target:  alpha.d

     Best regards,

     JKB

	Solution :

pass-instances.def was created by build.sh in $OBJDIR/lib/gcc/alpha--netbsd/5.4.0/plugin/include

I have copied this file in $SRCDIR/external/gpl3/gcc/dist/include and I can cross-build NetBSD.

	Best regards,

	JKB


Home | Main Index | Thread Index | Old Index