From nobody Thu Mar 21 17:12:21 2024 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V0sTN6Z3Rz5F5QJ for ; Thu, 21 Mar 2024 17:12:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V0sTM6w2tz40WP; Thu, 21 Mar 2024 17:12:23 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711041144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Zw4iV44QY8RjhkCgoMeti3ht5uIFNqJt7bVTU4/g7G8=; b=C8oi04yjpprCrz3Hr0FCNZU/XuuIAGOB8tCAJjZpbutfi+wo8HeNe5rE7KeePyCTTl3uV1 GuAaFUdjAD1orMG8cMzvHb7mYFefPfU8deTCy2w+ioB6P8qx0wkjkJ8UpTN3EO68SawEL5 LEiAFg3cUtJoAW5hZd89RWBc5aZsD999pVyTYy9wRPY5q6mDsr7wuAmj2xbkDPyVz1L05O gFwUb9KztCgkJ2Il+ZQyMITDD4kUEUWB4L8dHDlviMCV1toXOKlD3kjlrOBTCtYHEB3L9A QQeH/9lJS1fYkFc9O+pZmFE++FvrMe7wjyYiR6VyjQuRfEhgOHoPGG94h2OmBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711041144; a=rsa-sha256; cv=none; b=Ib8v1KNqHGGf8IW8lSvJzkMVNGDHczTJFRWJsJ0vwJDFM3aRcQlQy3q3t4Qvr2YtOzfZds EiVwBirmvMnIJovyTqeEC7tQjV7c2XsmAOiWUqlgqho7Q1zx5XDGZEMAD2DKBqvYimMvSM +1yB1Nm6AmuDGJQ4RFWyaDKYcqOP0sPoZy1c9Sz5PfDpcHwLpqq0WV2hMiJJjza70ltBpA w0wtOKz931cq2QaNCK8e0qxxdcYiHO/ZG/PfwQ3ryBGUKlJBrZ7aDxWr5iUUG3AkH0y+4A L5DWcwQGlPkuzQfPEsgJDXJJCz1RScG71iSdDcSL6WYnr7Q6+Awli+tRSHlwsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711041144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Zw4iV44QY8RjhkCgoMeti3ht5uIFNqJt7bVTU4/g7G8=; b=yznXI4J0dcFVtvqr1o9HImDfFDeBi2S/so9BrHYDHj9nx5pdXwRU4zukPv6tzVjC8x6u+f LZIIxY31d49wryGC3NhNPij6DBKZwiVNd3Q7XkCe3HjoqOleLWZDm9Bqx5ZvvSVmXwi+sJ lS9t+uCSU8F5v5mZ1Be8YODJmeOgvp+jvMCI/81mKvriLnyPJQxDtCBjEME7uiO2qC6mjb ZUIX6Q1o66B8SXEKPGYwEF5fRX6rgHs78Ts1T+/H8O52uQlKgoe7SalzMCFJDVft7o8ytR 4IL6T3ScY94+48vxkmuL7JrgrO5Jye9Mnv1BK3eFX0u6/I+4QuQDXoMgNONZ7w== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4V0sTL5brrz15Bb; Thu, 21 Mar 2024 17:12:22 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 93CCD2A206; Thu, 21 Mar 2024 18:12:21 +0100 (CET) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: Problem with make installworld From: Dimitry Andric In-Reply-To: Date: Thu, 21 Mar 2024 18:12:21 +0100 Cc: current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <3DCD0639-057D-4BC9-96B7-FDD6F05E6BB5@freebsd.org> To: tuexen@freebsd.org X-Mailer: Apple Mail (2.3731.700.6.1.1) On 21 Mar 2024, at 01:12, tuexen@freebsd.org wrote: >=20 >> On 21. Mar 2024, at 00:27, Dimitry Andric wrote: >>=20 >> On 20 Mar 2024, at 21:44, tuexen@freebsd.org wrote: >>>=20 >>> I'm trying to run make buildworld / make installworld on a recent = main branch >>> (some days old). >>>=20 >>> The problem is related to lib/libc/tests/ssp/Makefile >>> which contains: >>> _libclang_rt_ubsan=3D = ${SYSROOT}${SANITIZER_LIBDIR}/libclang_rt.ubsan_standalone-${CRTARCH}.a >>> if exists(${_libclang_rt_ubsan}) >>> PROGS+=3D h_raw >>> LDADD.h_raw+=3D ${SANITIZER_LDFLAGS} >>>=20 >>> When running make buildworld, we have >>> ${SYSROOT} =3D = /usr/obj/usr/home/tuexen/freebsd-src/powerpc.powerpc64/tmp >>> ${SANITIZER_LIBDIR} =3D /usr/lib/clang/17/lib/freebsd >>> and so the script is looking for >>> = /usr/obj/usr/home/tuexen/freebsd-src/powerpc.powerpc64/tmp/usr/lib/clang/1= 7/lib/freebsd/libclang_rt.ubsan_standalone-powerpc64.a >>> which does not exist: >>> tuexen@blackbird:~ % ls -l = /usr/obj/usr/home/tuexen/freebsd-src/powerpc.powerpc64/tmp/usr/lib/clang/1= 7/lib/freebsd/ >>> total 652 >>> -r--r--r-- 1 root wheel 284316 Mar 20 18:03 = libclang_rt.profile-powerpc.a >>> -r--r--r-- 1 root wheel 380704 Mar 20 17:41 = libclang_rt.profile-powerpc64.a >>>=20 >>> Therefore, h_raw to NOT built. >>=20 >> As far as I can see, for powerpc64 it should have been built = somewhere during the libraries stage. So it's a bit strange that you = don't have the file. Did you use any special options to build? > No, not any I'm aware of. I can run tests or provide further = information. This was my mistake: I recently refactored lib/libclang_rt/Makefile to = make it more readable and maintainable, but it accidentally broke = building of most of the libclang_rt*.a files for powerpc64. It should = now be fixed by https://cgit.freebsd.org/src/commit/?id=3Df0620ceeccf0 . -Dimitry