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

O. Hartmann ohartman at zedat.fu-berlin.de
Tue Sep 10 18:14:33 UTC 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130910/90ddeaaa/attachment.sig>


More information about the freebsd-current mailing list