Re: r255449: kernel compilation fails due to : cc: error: no input files

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Tue, 10 Sep 2013 20:14:30 +0200
On Tue, 10 Sep 2013 09:24:45 -0700
John-Mark Gurney <jmg_at_funkthat.com> wrote:

> O. Hartmann wrote this message on Tue, Sep 10, 2013 at 15:03 +0200:
> > I get this error when trying to compile a kernel on CURRENT r244449:
> > 
> > 
> > [...]
> > make[2]: Unclosed substitution for COMPILER_TYPE (/ missing)
> > cc  -c -O3 -fno-strict-aliasing -march=native -std=c99 -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 -I.
> > -I/usr/src/sys -I/usr/src/sys/contrib/altq
> > -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
> > -Werror  -mmmx -msse cc: error: no input files *** Error code 1
> 
> This looks to be fallout from O'Brien's r255440, but you state that
> you have an earlier rev than that.  Are you sure you have the correct
> rev above?
> 
> But, can you tell use how you built your kernel and on what system?
> COMPILER_TYPE should always be defined...  Are you trying to build
> a HEAD kernel on 9stable w/o using buildkernel or something strange
> like that?
> 


With r255453 everything works as expected again. Thank you very much.

Received on Tue Sep 10 2013 - 16:14:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC