Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2021 20:33:09 +0100
From:      tuexen@freebsd.org
To:        Michael Gmelin <grembo@FreeBSD.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Problems compiling kernel
Message-ID:  <44278863-2C71-4FB2-B848-31E980ADBD82@freebsd.org>
In-Reply-To: <22958DB3-C785-4360-A55C-9ED18598DA68@freebsd.org>
References:  <4E7F3351-4E73-4FB3-AC51-587C9E6EDB51@freebsd.org> <22958DB3-C785-4360-A55C-9ED18598DA68@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 30. Dec 2021, at 20:26, Michael Gmelin <grembo@FreeBSD.org> wrote:
>=20
> This should have been resolved today in =
https://cgit.freebsd.org/src/commit/?id=3D5e6a2d6eb220d780c9128c81b58f1331=
14061415
I do have that commit locally in the tree... But I can't build world or =
kernel.

Looking for libc++.so.1 I get

tuexen@head:~/freebsd-src % ls -l /usr/lib/libc++*
-r--r--r--  1 root  wheel  6939492 Dec 30 11:38 /usr/lib/libc++.a
-r--r--r--  1 root  wheel       68 Jan 28  2021 /usr/lib/libc++.so
-r--r--r--  1 root  wheel    35234 Dec 30 11:38 =
/usr/lib/libc++experimental.a
tuexen@head:~/freebsd-src % ls -l /lib/libc++*
ls: No match.
tuexen@head:~/freebsd-src %=20

How can I build a kernel?

Best regards
Michael
>=20
> -m
>=20
>> On 30. Dec 2021, at 20:17, tuexen@freebsd.org wrote:
>>=20
>> =EF=BB=BFDear all,
>>=20
>> on a system updated yesterday I get
>>=20
>> tuexen@head:~/freebsd-src % git branch
>> * main
>> tuexen@head:~/freebsd-src % git pull
>> Already up to date.
>> tuexen@head:~/freebsd-src % uname -a
>> FreeBSD head 14.0-CURRENT FreeBSD 14.0-CURRENT #1 =
main-n252035-63f7f3921bd: Thu Dec 30 11:33:16 CET 2021     =
root@head:/usr/obj/usr/home/tuexen/freebsd-src/amd64.amd64/sys/TCP  =
amd64
>> tuexen@head:~/freebsd-src % sudo make -j 4 kernel KERNCONF=3DTCP
>> ld-elf.so.1: Shared object "libc++.so.1" not found, required by "cc"
>> make: "/usr/home/tuexen/freebsd-src/share/mk/bsd.compiler.mk" line =
201: warning: "cc -v 2>&1 | grep "gcc version"" returned non-zero status
>> make: "/usr/home/tuexen/freebsd-src/share/mk/bsd.compiler.mk" line =
205: Unable to determine compiler type for CC=3Dcc.  Consider setting =
COMPILER_TYPE.
>>=20
>> make: stopped in /usr/home/tuexen/freebsd-src
>> tuexen@head:~/freebsd-src %=20
>>=20
>> any idea what I did wrong and how to fix it?
>>=20
>> Thanks for any hints.
>>=20
>> Best regards
>> Michael




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44278863-2C71-4FB2-B848-31E980ADBD82>