From nobody Wed Mar 20 20:44:13 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 4V0LDL0pRdz5Dtyk for ; Wed, 20 Mar 2024 20:44:18 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V0LDK1z0fz4R5d for ; Wed, 20 Mar 2024 20:44:17 +0000 (UTC) (envelope-from tuexen@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=freebsd.org (policy=none); spf=softfail (mx1.freebsd.org: 193.175.24.27 is neither permitted nor denied by domain of tuexen@freebsd.org) smtp.mailfrom=tuexen@freebsd.org Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:499b:2fb4:e4d2:c5fd]) (Authenticated sender: micmac) by drew.franken.de (Postfix) with ESMTPSA id 8E11B721E2806 for ; Wed, 20 Mar 2024 21:44:13 +0100 (CET) From: tuexen@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 \(3774.500.171.1.1\)) Subject: Problem with make installworld Message-Id: <3DCD0639-057D-4BC9-96B7-FDD6F05E6BB5@freebsd.org> Date: Wed, 20 Mar 2024 21:44:13 +0100 To: current@freebsd.org X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_SCC_BODY_TEXT_LINE autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.37 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.77)[-0.775]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, No valid DKIM,none]; RCVD_IN_DNSWL_LOW(-0.10)[193.175.24.27:from]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[tuexen]; ARC_NA(0.00)[]; FROM_NO_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; FROM_EQ_ENVFROM(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4V0LDK1z0fz4R5d Dear all, I'm trying to run make buildworld / make installworld on a recent main = branch (some days old). 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} 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 Therefore, h_raw to NOT built. However, when make installworld runs, we have ${SYSROOT} =3D ${SANITIZER_LIBDIR} =3D /usr/lib/clang/17/lib/freebsd and so the script is looking for /usr/lib/clang/17/lib/freebsd/libclang_rt.ubsan_standalone-powerpc64.a which does exist: tuexen@blackbird:~ % ls -l /usr/lib/clang/17/lib/freebsd/ total 47320 -r--r--r-- 1 root wheel 14485032 Dec 24 22:48 = libclang_rt.asan-powerpc64.a -r--r--r-- 1 root wheel 1249352 Dec 24 22:48 = libclang_rt.asan-powerpc64.so -r--r--r-- 1 root wheel 9820 Dec 24 22:48 = libclang_rt.asan-preinit-powerpc64.a -r--r--r-- 1 root wheel 176354 Dec 24 22:48 = libclang_rt.asan_cxx-powerpc64.a -r--r--r-- 1 root wheel 10154 Dec 24 22:48 = libclang_rt.asan_static-powerpc64.a -r--r--r-- 1 root wheel 8261052 Dec 24 22:48 = libclang_rt.msan-powerpc64.a -r--r--r-- 1 root wheel 166924 Dec 24 22:48 = libclang_rt.msan_cxx-powerpc64.a -r--r--r-- 1 root wheel 284316 Dec 24 22:51 = libclang_rt.profile-powerpc.a -r--r--r-- 1 root wheel 380704 Dec 24 22:48 = libclang_rt.profile-powerpc64.a -r--r--r-- 1 root wheel 3925468 Dec 24 22:48 = libclang_rt.stats-powerpc64.a -r--r--r-- 1 root wheel 9770 Dec 24 22:48 = libclang_rt.stats_client-powerpc64.a -r--r--r-- 1 root wheel 14144552 Dec 24 22:48 = libclang_rt.tsan-powerpc64.a -r--r--r-- 1 root wheel 295650 Dec 24 22:48 = libclang_rt.tsan_cxx-powerpc64.a -r--r--r-- 1 root wheel 64462 Dec 24 22:48 = libclang_rt.ubsan_minimal-powerpc64.a -r--r--r-- 1 root wheel 4550190 Dec 24 22:48 = libclang_rt.ubsan_standalone-powerpc64.a -r--r--r-- 1 root wheel 113638 Dec 24 22:48 = libclang_rt.ubsan_standalone_cxx-powerpc64.a Therefore, h_raw is tried to be installed, which fails since it wasn't = built. Is it intended that ${SYSROOT} is different during make installworld and = make buildworld? This is on a Power9 system, but I guess this is not relevant... But = maybe I'm wrong. Best regards Michael