Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2013 09:24:45 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: r255449: kernel compilation fails due to : cc: error: no input files
Message-ID:  <20130910162445.GV68682@funkthat.com>
In-Reply-To: <20130910150322.0d5674f7@thor.walstatt.dyndns.org>
References:  <20130910150322.0d5674f7@thor.walstatt.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130910162445.GV68682>