Date: Wed, 22 May 2019 07:37:09 -0600 From: Warner Losh <imp@bsdimp.com> To: Andriy Gapon <avg@freebsd.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: impossible to installkernel without a compiler? Message-ID: <CANCZdfqb9ueskyXt1EBSVUQzf-ks16a_teYshPPBrc4zs1JwPQ@mail.gmail.com> In-Reply-To: <5f15aa33-cd2f-da5a-9f9b-412f81467736@FreeBSD.org> References: <5f15aa33-cd2f-da5a-9f9b-412f81467736@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Try setting _NO_INCLUDE_COMPILERMK=t in your environment and then doing the make install. Warner On Wed, May 22, 2019 at 2:09 AM Andriy Gapon <avg@freebsd.org> wrote: > > Trying to update a small system with a kernel built for it on a bigger > machine I > get this: > > sh: cc: not found > make: "/usr/devel/svn/head/share/mk/bsd.compiler.mk" line 176: Unable to > determine compiler type for CC=cc. Consider setting COMPILER_TYPE. > > Sources and objects are mounted over NFS, all configuration knobs match. > Just adding COMPILER_TYPE=gcc to the command line allows the installation > to > succeed with a little bit of noise: > > sh: cc: not found > sh: ld: not found > make: "/usr/devel/svn/head/share/mk/bsd.linker.mk" line 58: warning: > Unable to > determine linker type from LD=ld > make: "/usr/devel/svn/head/share/mk/bsd.linker.mk" line 71: warning: > Unknown > linker from LD=ld: none, defaulting to bfd > sh: cc: not found > sh: ld: not found > make[1]: "/usr/devel/svn/head/share/mk/bsd.linker.mk" line 58: warning: > Unable > to determine linker type from LD=ld > make[1]: "/usr/devel/svn/head/share/mk/bsd.linker.mk" line 71: warning: > Unknown > linker from LD=ld: none, defaulting to bfd > sh: cc: not found > sh: cc: not found > -------------------------------------------------------------- > >>> Install check kernel > -------------------------------------------------------------- > -------------------------------------------------------------- > >>> Installing kernel KERNEL on Wed May 22 08:00:33 UTC 2019 > -------------------------------------------------------------- > ... > -------------------------------------------------------------- > >>> Installing kernel KERNEL completed on Wed May 22 08:00:42 UTC 2019 > -------------------------------------------------------------- > > I think that installkernel should not care about cc (and ld) at all. > > -- > Andriy Gapon > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqb9ueskyXt1EBSVUQzf-ks16a_teYshPPBrc4zs1JwPQ>