CUURENT kernel build broken - make[2]: exec(aicasm) failed (No such file or directory)

Ian Lepore ian at FreeBSD.org
Tue Nov 5 05:09:58 UTC 2013


On Mon, 2013-11-04 at 19:44 -0500, Outback Dingo wrote:
> On Mon, Nov 4, 2013 at 7:36 PM, Ian Lepore <ian at freebsd.org> wrote:
> 
> > On Mon, 2013-11-04 at 19:25 -0500, Outback Dingo wrote:
> > > cc  -c -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls
> > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> > > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions
> > > -Wmissing-include-dirs -fdiagnostics-show-option
> > > -Wno-error-tautological-compare -Wno-error-empty-body
> > > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys
> > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
> > > -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal
> > > -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm
> > > -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/cxgb -I/usr/src/sys/dev/cxgbe
> > > -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> > > -include opt_global.h -fno-omit-frame-pointer
> > -mno-omit-leaf-frame-pointer
> > > -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
> > > -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> > > -fstack-protector /usr/src/sys/amd64/amd64/genassym.c
> > > NM='nm' sh /usr/src/sys/kern/genassym.sh genassym.o > assym.s
> > > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p
> > > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q
> > > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h
> > > awk -f /usr/src/sys/tools/acpi_quirks2h.awk
> > > /usr/src/sys/dev/acpica/acpi_quirks
> > > aicasm -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq
> > > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/dev/ath
> > > -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal
> > > -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa
> > -I/usr/src/sys/dev/cxgb
> > > -I/usr/src/sys/dev/cxgbe -I/usr/src/sys/contrib/libfdt
> > > -I/usr/src/sys/cam/scsi -I/usr/src/sys/dev/aic7xxx -o aic7xxx_seq.h -r
> > > aic7xxx_reg.h -p aic7xxx_reg_print.c -i
> > > /usr/src/sys/dev/aic7xxx/aic7xxx_osm.h
> > /usr/src/sys/dev/aic7xxx/aic7xxx.seq
> > > make[2]: exec(aicasm) failed (No such file or directory)
> > > *** Error code 1
> > >
> > > Stop.
> > > make[2]: stopped in /usr/obj/usr/src/sys/GENERIC
> > > *** Error code 1
> > >
> > > Stop.
> > > make[1]: stopped in /usr/src
> >
> > Did you update your source and then "make buildkernel" without
> > buildworld?  If so, a "make kernel-toolchain" should create the aicasm
> > tool and get you back on track.
> >
> 
> really odd as i built a kernel this morning no problem, then updated the
> tree and went to build another kernel and got that.
> working through it, thanks for the input..........
> 

You were just unlucky that your updates bracketed my checkin that
changed the build process for the aicasm tool so that it gets built as
part of the toolchain rather than as part of the kernel now.

-- Ian




More information about the freebsd-current mailing list