From nobody Mon Dec 30 23:56:41 2024 X-Original-To: toolchain@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 4YMY0n6Kbjz5jCLL for ; Mon, 30 Dec 2024 23:56:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMY0n2Mjtz4X1w for ; Mon, 30 Dec 2024 23:56:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735603001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HY3V9Lsnmbx+utq56Y0WPFwSD+hObt+2gpGPmaWtaW4=; b=k5ghtUmToEL9wVQ47ZKWdHAotbqbrN/ehOU3aEP1Nh8nQ0c8PoqwT7OHKfdVnnrGO8h4NT AvRIKkuUPBgLz0OCynHdEhIILZVC590WOdgBd4PF4E0b9PM3ILcWdPS0qbwQlgMdkBqcsX UmlAP7ooHaFfI70VB93c8Lt6IooWVqVcw0hf49hLV0y+k4qWfOjR4Pvxc8O3L384bZg3hl hl6b66D5liuyx3oAgS/JVPHkwqs6uhoc3drCFof7nekitDhkb3bJFBp5P+HjIYAtt8Qmst /JrZRNXc36CSO/uRCTnbqiQeEIJUr4NbTkMnTdZ0KBa77dbftpc8P1D9jc6Edw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735603001; a=rsa-sha256; cv=none; b=nve56vKT6/6AwdXVyaHifTC07odA+XSEV/S+jKhH5+UaUtMDhILLkkfp/C+s9cLf19GNLd 0nWQRqoNDWnUldq0UiwQMPq1QI93huOBt75cdZMT1aoXrsT0RZyHZnJaCRBxid/ovLQq7c JGIi4DivOLIbvHysvsHctsHfWV0fTrZqj6NvPfeSaljYiFf0yJGmkvSCQaPMQKbtk5+KNk BYCkJLXZes+XC34gRFh4uSCAP2QuUP6X3Ietou9Jasq0s9sDoqb6BrHnQxDM64bHCPC42h 19uK+fUPGZ3ny/TDxSiuRMaPF6Lqj9Op+gAQ2M/4l60w1Gml1/kEhpCxhgy+fw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMY0n1t05zFqS for ; Mon, 30 Dec 2024 23:56:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BUNufjQ044373 for ; Mon, 30 Dec 2024 23:56:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BUNufeW044372 for toolchain@FreeBSD.org; Mon, 30 Dec 2024 23:56:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Mon, 30 Dec 2024 23:56:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guillaume-freebsd@outters.eu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #30 from Guillaume Outters --- In reply to @Dimitri Andric about comment #25: After having cleaned up my env, I could bissect the crash to a single: export CC=3Dclang before running the configure. Probably the configure chooses its profiling tool depending on the compiler= 's declared name (at least before it inspects the default cc to determine it's= a clang). I start from the original unmodified Python (not the ports patched one), at http://www.python.org/ftp/python/3.13.1/Python-3.13.1.tar.xz on a stock FreeBSD 14.1-RELEASE with a minimalistic configure: ./configure --enable-optimizations --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 00:44:54 2024 X-Original-To: toolchain@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 4YMZ4Q6sFWz5jFrk for ; Tue, 31 Dec 2024 00:44:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMZ4Q3cc4z4ZlL for ; Tue, 31 Dec 2024 00:44:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735605894; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hLjr3IyLaRWHq6ZvbwCL7w4jFIpla2hh9+n5ZAOjEQc=; b=e/p4Czo9S0zk0nkPyVFm5VuSht4nUEGG3t1fzoixt4CiBsZlReKbWc7rw9PxDhbRUmcLRD U25PQP2CuBtDE0LpaQqOyf4HnXRntgCv026Zj5fb3a8wcomxcNgtbWAX0YM1h7gENJVV+k MfAj1fQy4cphxaCL3mrDcHJFMOytSEYbeJwe1p3gBUSyMkl1bzTQ4FIMZ+vzMcrnBzfuaG zVRn+zMadGVK4IGbQOyMkfj9RakCycFe/Ey3dIE9lUSAIsuur30NHalanbiwasQGTfjoUc NjV707J2RKjd5IvHfvLC9h3lF45RAuzEesm8mtpg48IjicVVbUU/axIaP6/D+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735605894; a=rsa-sha256; cv=none; b=hdMEQW3SwrSsQrQtaAMmS6MKwNUarfxlBKXPj9yzkxfXh1g8fatvjdYfFYbA2bS/29R9xS HQw16jgkXtLhZL3S4NS/8KQEuRxyLVZwGrhcCLMXytk7NZ4DGwJrcm86dyr8GPCrZ4NFV8 OmxqTk0IN9UPBVRe+250tc/R1XERmjI5SYeRI2SDNtL0ygxm/C+6YQWlmUAix05xXWKiKA 47ezEKC8HGI3KybyhSyb0UDpM3vTsJ54dsFfK6r9bQ7VIlquLNtUW+D2a+Y7jp0nBACtLX PCGgz4B2MHX0cRXN4hOEvUp0WMLyLF7OGsMi6rN1w5eMmHcpwu68M/6hllb0Zg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMZ4Q34JPzHTm for ; Tue, 31 Dec 2024 00:44:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BV0isp8034878 for ; Tue, 31 Dec 2024 00:44:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BV0isH1034877 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 00:44:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 00:44:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #31 from Mark Millard --- (In reply to Guillaume Outters from comment #30) I tried the following with the final WANRINGs at the end shown below: # tar -xpf Python-3.13.1.tar.xz -C ./ # cd Python-3.13.1 # ./configure --enable-optimizations . . . configure: WARNING: pkg-config is missing. Some dependencies may not be detected correctly. configure: WARNING: Platform "aarch64-unknown-freebsd15.0" with compiler "clang" is not support= ed by the CPython core team, see https://peps.python.org/pep-0011/ for more informati= on. I then did the same in another directory tree, using export CC=3Dclang before the "./configure --enable-optimizations". I also captured and diff'd the outputs of the 2 runs, other than "cc" vs. "clang" text, they matched. # diff -rq Python-3.13.1-noCC/ Python-3.13.1-CC_clang/ | more Files Python-3.13.1-noCC/Makefile and Python-3.13.1-CC_clang/Makefile differ Files Python-3.13.1-noCC/Makefile.pre and Python-3.13.1-CC_clang/Makefile.p= re differ Files Python-3.13.1-noCC/config.log and Python-3.13.1-CC_clang/config.log differ Files Python-3.13.1-noCC/config.status and Python-3.13.1-CC_clang/config.st= atus differ There are interesting Makefile differences and Makefile.pre differences, both, in part, tied to PGO_* and LLVM_PROF_* definition differences: # diff -r Python-3.13.1-noCC/ Python-3.13.1-CC_clang/ | less diff -r Python-3.13.1-noCC/Makefile Python-3.13.1-CC_clang/Makefile 38,39c38,39 < CC=3D cc -pthread < CXX=3D c++ -pthread --- > CC=3D clang -pthread > CXX=3D clang++ -pthread 51,54c51,54 < PGO_PROF_GEN_FLAG=3D < PGO_PROF_USE_FLAG=3D < LLVM_PROF_MERGER=3D < LLVM_PROF_FILE=3D --- > PGO_PROF_GEN_FLAG=3D-fprofile-instr-generate > PGO_PROF_USE_FLAG=3D-fprofile-instr-use=3D"$(shell pwd)/code.profclangd" > LLVM_PROF_MERGER=3D /usr/bin/llvm-profdata merge -output=3D"$(shell pwd)/= code.profclangd" "$(shell pwd)"/*.profclangr=20 > LLVM_PROF_FILE=3DLLVM_PROFILE_FILE=3D"$(shell pwd)/code-%p.profclangr" 377c377 < CONFIG_ARGS=3D '--enable-optimizations' --- > CONFIG_ARGS=3D '--enable-optimizations' 'CC=3Dclang' diff -r Python-3.13.1-noCC/Makefile.pre Python-3.13.1-CC_clang/Makefile.pre 37,38c37,38 < CC=3D cc -pthread < CXX=3D c++ -pthread --- > CC=3D clang -pthread > CXX=3D clang++ -pthread 50,53c50,53 < PGO_PROF_GEN_FLAG=3D < PGO_PROF_USE_FLAG=3D < LLVM_PROF_MERGER=3D < LLVM_PROF_FILE=3D --- > PGO_PROF_GEN_FLAG=3D-fprofile-instr-generate > PGO_PROF_USE_FLAG=3D-fprofile-instr-use=3D"$(shell pwd)/code.profclangd" > LLVM_PROF_MERGER=3D /usr/bin/llvm-profdata merge -output=3D"$(shell pwd)/= code.profclangd" "$(shell pwd)"/*.profclangr=20 > LLVM_PROF_FILE=3DLLVM_PROFILE_FILE=3D"$(shell pwd)/code-%p.profclangr" 376c376 < CONFIG_ARGS=3D '--enable-optimizations' --- > CONFIG_ARGS=3D '--enable-optimizations' 'CC=3Dclang' This much does not seem to be a FreeBSD issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 01:05:00 2024 X-Original-To: toolchain@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 4YMZWc1k1Bz5jGyB for ; Tue, 31 Dec 2024 01:05:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMZWb6SRnz4bVq for ; Tue, 31 Dec 2024 01:04:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735607099; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iny+roDiAmyFqzJYrKIxBe8ei50XFXU3RknjWorlWhI=; b=UCqI7Egv5Bb3x7SLPEwA68K1cA7bzev8BJvIlrQNEKAF+w+rp9jET4hwb2/UYKQiYWKomB StaIRwFOTgFwqHHP0BMM8KCRQuroKju6UC6sKKZOAtQsycixIeR3uaXba14twF5cfSsHsw wSp8JBfs7LOkaUXG8C0zsQTZLKDkVGLN7RQXJwj1NcDWentklGJxoE99vKHSWDynr2I9aC W2pMmasExYbidizHrOkyVgW6WwXaLsiHCNKHbPzPHTfung6Ro12a/KyFR9+xTXLqTHcATF PKyOMtWIaigQlAkfjslu2JPjd1UwhxelVfZeV6uzZyIdZOAjwq65EG7b/NAeuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735607099; a=rsa-sha256; cv=none; b=XKxSslJSqZGDoyvvYjl9PBHTHBD74LGBxGEyGhsCO7FuUmFcwRf0pgov95H2XNJaXbFgx1 ZBwUnjaLqHsnaBXgqzlnVqVacWnQu3H8g3fDjGoNdk7FsiFvZUjC9vfeANg2dfGBjFK7xz veQMLMPEhyA2oPwCGg50UvR255e+KanPCgqrwX2k1OFE6IAKUD4QfN5zlHqr45nOueRgx/ QwG+nz+4hAmcvkNaTSvzIkwHN73pEVUyvt2tMMgDpWJ/OScV7EFcnvRcigf4YlEUqwBKxL ZSOYY6A+GQJ5aj1vIQmFTTUADRS1XNeN2Cckicz6FtRhMomrCXybB8Nce11x1w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMZWb5ymXzJ02 for ; Tue, 31 Dec 2024 01:04:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BV14xZV072331 for ; Tue, 31 Dec 2024 01:04:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BV14xRv072330 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 01:04:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 01:05:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #32 from Mark Millard --- That was enough context for me to replicate getting a failure via a 14.1-RELEASE-p6 poudriere jail based build based on, for example, just adding a CC+clang to CONFIGURE_ENV : diff --git a/lang/python310/Makefile b/lang/python310/Makefile index b352e8a2f9d7..ece416cb52dc 100644 --- a/lang/python310/Makefile +++ b/lang/python310/Makefile @@ -27,8 +27,9 @@ SHEBANG_FILES+=3D Lib/test/ziptestdata/exe_with_z64= \ DISABLED_EXTENSIONS=3D _sqlite3 _tkinter _gdbm CONFIGURE_ARGS+=3D --enable-shared --without-ensurepip \ - --with-system-ffi -CONFIGURE_ENV+=3D OPT=3D"" # Null out OPT to respect user C= FLAGS and remove optimizations + --with-system-ffi --enable-optimizations +CONFIGURE_ENV+=3D CC=3Dclang +#CONFIGURE_ENV+=3D OPT=3D"" # Null out OPT to respect user C= FLAGS and remove optimizations INSTALL_TARGET=3D altinstall=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 # Don't want cloberring of unprefixed files @@ -45,7 +46,7 @@ PLIST_SUB=3D ABI=3D${ABIFLAGS} \ OSMAJOR=3D${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}=20=20= =20=20=20=20=20=20=20=20=20=20 # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554 OPTIONS_DEFINE=3D DEBUG IPV6 LIBMPDEC LTO NLS PYMALLOC -OPTIONS_DEFAULT=3D LIBMPDEC PYMALLOC +OPTIONS_DEFAULT=3D LIBMPDEC PYMALLOC LTO OPTIONS_EXCLUDE_riscv64=3D LTO OPTIONS_RADIO=3D HASH OPTIONS_RADIO_HASH=3D FNV SIPHASH It got: [00:00:05] [01] [00:00:00] Building lang/python310 | python310-3.10.16 [00:04:35] [01] [00:04:30] Saving lang/python310 | python310-3.10.16 wrkdir [00:05:06] [01] [00:05:01] Saved lang/python310 | python310-3.10.16 wrkdir = to: /usr/local/poudriere/data/wrkdirs/R141p6-aarch64-default/default/python310-= 3.10.16.tbz [00:05:06] [01] [00:05:01] Finished lang/python310 | python310-3.10.16: Failed: build I'll check the other test jails as well. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 01:31:18 2024 X-Original-To: toolchain@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 4YMb5y3HXHz5jL0L for ; Tue, 31 Dec 2024 01:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMb5y1JHrz4gvL for ; Tue, 31 Dec 2024 01:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735608678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pflk/DGp2teNYJ9zgo5JfD6sRT/MTm1sD9jRzPhrrT8=; b=hJ8Bnmv+mxV6zODkAn6mtjGiyjmUKxt9M3rtxFIKDF6zlntTR4nysqvO4seDu9p4TqfIE1 od0rrSGwGh8EZkVK8GXj3WOPpnGl6iPdOEs+UBxw4i+yl79ytdUwZVBUmdxpCoojtFI9al TDkLdx8gMHM0b8wqjArEfBR7hj4sjlRNsNAvsKMqnEggAVLSqtY5XGQURFHsYLaRW2LeNf sYwuvFMIDOhzQk4kY+7A31VIA6NnQCocAhzgAZhg11boux1REMY/9H3Be54Jbq/mDeMf5q 6pQZRnHvLmCRGXn89zJ6Y72TgjB2uFgEb2h+CpnTvNPZW7MouKY9H1qxoSg+xw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735608678; a=rsa-sha256; cv=none; b=eiBiyqlJfXSpvJia+eAbEdpZZLIPdebbtG2fWU88A0xy/XacJcuSgOEvdiwTf919KZYRFw 7BHTwIJ/kvKBGXZSvpC/kB0UhihdndfM2HNMub6rK6dDADUNFe7sAJ4GkF3yYQJnXurVIl lqJ2WmFDLHFZH0dzDIyrYGgTkFA1OZMZ/HNvQ15hcLy5uuYfMH/rNGW9LNkKLI2eIdoi+l HuVz7zDpusaaFYNHL0Z+Uqp/IPbX8/+yAMN7SG/IA7QGvG2rNHUjHzVpXPVIWt8OV47Fcg sF7pWSzP6fqN8hhzZJjx1gNOnc+T1Vx5d0QFRn6gQIzbwQe9iOg4qhDOcUvMiQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMb5y0w7bzJjb for ; Tue, 31 Dec 2024 01:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BV1VIm9014390 for ; Tue, 31 Dec 2024 01:31:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BV1VHgj014389 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 01:31:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 01:31:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #33 from Mark Millard --- stable/14 and main build the test case fine but 14.2-RELEASE does not. It appears that LLVM19's clang has the issue fixed. Some details . . . 14.2-RELEASE gets: [00:00:07] [01] [00:00:00] Building lang/python310 | python310-3.10.16 [00:04:14] [01] [00:04:07] Finished lang/python310 | python310-3.10.16: Failed: build stable/14 (some 1402501 vintage) gets: [00:00:06] [01] [00:00:00] Building lang/python310 | python310-3.10.16 [00:07:09] [01] [00:07:03] Finished lang/python310 | python310-3.10.16: Success main [so: 15 as stands] (some 1500029 vintage) gets: [00:00:19] [01] [00:00:00] Building lang/python310 | python310-3.10.16 [00:08:33] [01] [00:08:14] Finished lang/python310 | python310-3.10.16: Success --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 01:36:09 2024 X-Original-To: toolchain@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 4YMbCZ1f2wz5jL1Y for ; Tue, 31 Dec 2024 01:36:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMbCY4rlpz4hl9 for ; Tue, 31 Dec 2024 01:36:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735608969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xErfyrRTnENWCX/5JFBKSJH7C4Ft9fWlhKY2HiGZtrA=; b=xrggc2p7dwo+9HqwjUD1MZh4f/OHUB9dBZPAk3WmhWLrzFyLGwD9jzisJq5dyMLKJm75pu yt/mvKOsuimgl8uvGRk0JhX9mhU/efe8Ki1+CuvnN4+2Mcmn7EXVst76kxLUz+rpoxSTiL kd23j3+TPrTjOxVhssF95AHCeMloAtiKkKtyr/q1AhnuL2v9uKzpG4n2pPDrsc9Tgdtt1M Ebu0FN4ous3vjxKbGpZbvpkDakeu+N0g5cgKFi/oHdjTd2FqpVLH5DVcDs0CiNenXGmSOz nam5ggwuJK6kRakDnc5VULbIi5OEGz7kVwOqnlvfg/cxtVRrHm3NmFAkFGzy6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735608969; a=rsa-sha256; cv=none; b=R2Rns94wVzMavqbra1JLOPmLF6tf6wERm7fjQPoZL2FELXns+/IpYn98gtnJpX0MHBY8qf FY41k14t1ffiJvHdQ47dOuc1kcbQXLElXTsNF1rhWbI3RyE7DbGvnJiUCQy9EpdpepjzR0 puzdXJK6WtE4AG2xqBiAdt2mVJSOXSKB7zXVOBh0QQcUgimCUvP2iU8/S5bprmeQ63uJQx E5189dGr/SjN9SDo9USOeacRHg6NnOOFMtiphZ1JD53n+KwS0MDuGmsnRLQMopyH2TpwL+ cUL5LHYCGwVaL+HMfpGHvcmXpNeoSEoMduaRNr0hJ2IM9Ezqz2tB/37tsltJLg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMbCY49ypzJjw for ; Tue, 31 Dec 2024 01:36:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BV1a914026367 for ; Tue, 31 Dec 2024 01:36:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BV1a9q4026366 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 01:36:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 01:36:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #34 from Mark Millard --- (In reply to Mark Millard from comment #33) By the way: Do not take my Makefile diff as appropriate for committal. For example, the OPTIONS_DEFAULT ignores riscv64 apparently needing to avoid LTO. I just was not building for riscv64. Doing Makefile diff's was just a easy way to configure and show a type of experiment. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 11:09:28 2024 X-Original-To: toolchain@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 4YMqx46Mzcz5jHK7 for ; Tue, 31 Dec 2024 11:09:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMqx43swDz4YJf for ; Tue, 31 Dec 2024 11:09:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735643368; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uSp/RZgXYBwnb8pWuUgALHGFVGjg+/3ZjzDUi1pJ5AQ=; b=O0CTK7Qw+kEZ8Njr5jryqu/l3ca19I5N4XLaO2Xug9+sywp5+lpaxRJSsBz0JalFqTZClb YocOUV/tLJJnLEmoltPRqWfDi5BtY2XDWr7OFUtIvL+9HQEyOoBE5uFqdi+WhRFc/l8wD8 RFxSsvoniwOfrvut2Zpwmwz5tr0tbSo6rcpce+qseRyaFAQdOui94bw+os+D/UlrximMri 00M1EQtzp+HW/tavweH8npDwZLT+UuZWSZtnxm3/GE2dQSAP3och/wJphi3QYbrnKiJfi0 w3EqDKJF+uNktFhb/9aiV2UNv5VJ851m/NUUhYxIP9ewC4xPcUaCxVl4B0EYDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735643368; a=rsa-sha256; cv=none; b=iOJDcboMi+EzU0E9XJz/s1Mc08fl5AsR48Vg4TS0SE/0PT/Sf+syQq0SuhFVzn924AzBTE U51wibKh+tJCMZY7fMZD6XG4gsAsXeQFxxrNKr6nR+M6kOFBiag3yf6Gl9u5gDRo6mDO4Z rFEt+APIjHYOaYpzFAZ8b0eOzBKn/AZXpCzAY//kNsivXSg45DG/zgFT9MpxxeKS5TMP27 zl+ktU4zUBXteI/99piHTX+J5e82oRcF1UYtsvubGDFVrlyykyKGUXPcYPwuurnKFkCwOF W3exEjxKRioDMQCQZUiJaHxnjDmwIW+Vsml3Jf9+WgukAw5WNiq2oggSjPltQw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMqx43K9Jzcgr for ; Tue, 31 Dec 2024 11:09:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BVB9SJ9052576 for ; Tue, 31 Dec 2024 11:09:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVB9Sgl052575 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 11:09:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 11:09:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dmilith@me.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #35 from dmilith --- Very interesting. My build process uses -O3 with LTO enabled, so maybe that= 's why it still fails on my aarch64 build hosts. I will double-check that late= r. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 13:03:40 2024 X-Original-To: toolchain@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 4YMtSr1N5Hz5jR4L for ; Tue, 31 Dec 2024 13:03:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMtSq6Tp1z4jVp for ; Tue, 31 Dec 2024 13:03:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735650219; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w+GcvUU4OjazFyzw8sBE9K4W4yJzNxaZpqZlsQvuq+Y=; b=GCS2R6Uoarhbv1yFkIPc44gFRjxb1cB5HObsVBC3KBEBnknPpUJgGbarjDYzYM3E47EQ1r lQoD9ZQLEfACoFktgsEILoGKqwN/dvrLx76B5sj4cmWWxP5KylRKPL8sMPt1YUtBAncpAu qaSIX/abp+WUZbS8QkaBAfcbwp1OLqzCmBiAqcEMyXNey6nRX753lJF9zYtkxR+HhlZL0A KKoRcl2tqR6kT9oudcHb1qVSiExYXnNLof3zY8dwxzIO21UshBR6KsbqpxyJFtued41REA ltfMhHzccEBtFMXhOBEul4yf/SKvFPTaNAtAMqsnLKpdYNQl7NN3cc5Q/xdAYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735650219; a=rsa-sha256; cv=none; b=tsOZ0cFKcf+A7WnB1fPwWBFa2bmIDHMuxZ6ivbXWDBjh5PJn36fqFCg9wnCFdoEdROc9op m9gu2KpL2PJNhx/i0+t64X1r2Qi3SGoO28fhZ6MKvLaBFJDOaExJUcscPI0Q03MpPXxqXo tPv773eZiQMMNjGI3LWxfIl6a+jUGMZOgkN8+ZIZPPVHgV/CJwIk6zm8iIihPXm4lvH4Qp vcXUKG/ZL7jtVSOkImBE/AvyT097ZZsPKUVzPEYRgF7IpKwS0ZRlzKkIr5taYKwaaufVb2 Rp1chRUmkGi+uPkLtnboiFY2+0sTCu2yHlMhl9gKkoZLSPgdHrJsIg8OkSVnZw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMtSq65Hpzggn for ; Tue, 31 Dec 2024 13:03:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BVD3dB2066571 for ; Tue, 31 Dec 2024 13:03:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVD3dd2066569 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 13:03:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 13:03:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #36 from Dimitry Andric --- (In reply to Guillaume Outters from comment #30) Yeah, I've done that too now, and CC=3Dclang CXX=3Dclang++ makes it at least generate and use profiling information, e.g.:=20 clang -pthread -c -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -std=3Dc11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=3Dimplicit-function-declaration -fvisibility=3Dhidden -fprofile-instr-use=3D/home/dim/obj/cpython-3.13.1/code.profclangd -I/share/dim/src/python/cpython/Include/internal -I/share/dim/src/python/cpython/Include/internal/mimalloc -IObjects -IInclu= de -IPython -I. -I/share/dim/src/python/cpython/Include -DPy_BUILD_CORE -o Programs/python.o /share/dim/src/python/cpython/Programs/python.c But I see no crashes at all, it builds just fine to the end. Currently runn= ing the test suite. I'm not sure if LTO is enabled in this case, though. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 13:07:37 2024 X-Original-To: toolchain@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 4YMtYP2VL8z5jR0J for ; Tue, 31 Dec 2024 13:07:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMtYN6f8Bz4jcw for ; Tue, 31 Dec 2024 13:07:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735650456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5m1mYa5r/YJdW+N5b6wO3iXX/tke9llGk3Q/exMivtw=; b=myCyeGZQc/UCNjVRlX5+91nB8U5hBOl41uda2lWtMSgxBMWzlbUwsAlBhInVDJkTlY5gox yCfKHM4voNrCBO7eOfwrc/gugm0e9rvtAF4VczwHFR1VhKFMYIIhDQsQ9nKQ8JTNTsRO8q bwqzUncloqnAW7Z5CXb8p7H5taun4jZNokcPFxlpJtgC7C7jJcS9ZuP+lrNXBWLAiHNqWj Ta8NLlZCozea53f8wEaaz87mOSNvvQAg5pwjgVX9xHICnfjolGG26V6VclkfuU5mgE+2bk Jru1/sDNhQmiWSJNOhM9ww3LZBnnAvE7F/KD5TjsD8VWGdJan5YykBrUvLknVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735650456; a=rsa-sha256; cv=none; b=NNDoV6GQ6P2oMJYs1DATE/KpRiLL9uC5bS6Dl8hHFVTu7eb56GDn6f/TghbVTp6vY4ggex Qavzt+YYU5WnBsFyjJdKv5oTu5M/SbJH9aNgOnVxl1mICcSFMEvSO9tktZxqqbqJ3lS3gS BT/nT8MLO6nGb0w/N7RzrrfuW6SeHvEn31ETclfG5r2BSq5jos5QXGndLKhDRqfzQXsiBi q4BXRUkYuoaw6GmEfcEXNsMcc39F4tVzeOajCNjYldQQE/YcziD13m1kHnIdPjNIVgSkIb 3eUyqmEowQDVYjqpyotfPVav5J8ZeVpXEbPX3/Za9VrcXYSBoDzcmPccuNRXNQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMtYN6FLqzh6N for ; Tue, 31 Dec 2024 13:07:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BVD7awF071384 for ; Tue, 31 Dec 2024 13:07:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVD7a1g071383 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 13:07:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 13:07:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #37 from Mark Millard --- (In reply to dmilith from comment #35) Looking in the build log of the successful stable/14 build, for example: clang -pthread -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DND= EBUG -g -fwrapv -O3 -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasi= ng=20=20 -flto -g -std=3Dc99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=3Dimplicit-function-declaration -fvisibility=3Dhidden -fprofile-instr-generate -I./Include/internal -I. -I./Include -I/usr/local/include -I/usr/local/include -fPIC -DPy_BUILD_CORE= -o Programs/python.o ./Programs/python.c So both -O3 and -O2 were listed, in that order. For reference: --MAKE_ENV-- OPENSSLBASE=3D/usr OPENSSLDIR=3D/etc/ssl OPENSSLINC=3D/usr/include OPENSSLLIB=3D/usr/lib XDG_DATA_HOME=3D/wrkdirs/usr/ports/lang/python310/wor= k=20 XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/lang/python310/work=20 XDG_CACHE_HOME=3D/wrkdirs/usr/ports/lang/python310/work/.cache=20 HOME=3D/wrkdirs/usr/ports/lang/python310/work TMPDIR=3D"/tmp" PATH=3D/wrkdirs/usr/ports/lang/python310/work/.bin:/sbin:/bin:/usr/sbin:/us= r/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=3D/wrkdirs/usr/ports/lang/python310/work/.pkgconfig:/usr/= local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_LINT=3DYES PREFIX=3D/usr/local LOCALBASE=3D/usr/local CC=3D"cc" CFLAGS=3D"-O2 -pipe= =20 -fstack-protector-strong -fno-strict-aliasing " CPP=3D"cpp" CPPFLAGS=3D"-I/usr/local/include -I/usr/local/include" LDFLAGS=3D" -L/usr/local/lib -fstack-protector-strong " LIBS=3D"-L/usr/local/lib -lint= l"=20 CXX=3D"c++" CXXFLAGS=3D"-O2 -pipe -fstack-protector-strong -fno-strict-alia= sing " BSD_INSTALL_PROGRAM=3D"install -s -m 555" BSD_INSTALL_LIB=3D"install -s = -m 0644" BSD_INSTALL_SCRIPT=3D"install -m 555" BSD_INSTALL_DATA=3D"install -m 06= 44"=20 BSD_INSTALL_MAN=3D"install -m 444" --End MAKE_ENV-- which has both: CFLAGS=3D"-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CXXFLAGS=3D"-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 13:15:50 2024 X-Original-To: toolchain@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 4YMtkv0jXGz5jRK6 for ; Tue, 31 Dec 2024 13:15:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMtkt6Qkfz4kCB for ; Tue, 31 Dec 2024 13:15:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735650950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AnxHIU6+3jxAozIxYgJrdvB8SMsUymNvQ/N2ufspZ3s=; b=YOgmQp3pK4nM4WgbCcn1bsMxvbTYRrEoQbHPUxBqz7ZkJh/wn9iCOUKNKP3aZcN9lTnSKv DCAQllSTLIiIhzsB3NLW4bD649g/GMut9L00a/znKcM/Fr2mAsqOvA8CDJR/hmFK+XNEXg PFN0UZ+RNBet0T4HkRfKYl1/tNeMDjVH0KA91Hiaq9Badru6AsYbyQz37IGKZuagdhjENn CHuBvmR14ZQ/cNPMmGPJ9JGaYtcws9EBwyEQGIwJtFaCadNy4W3TaRVxGO7xQTu3It8sxX qv7bwiw+noib/18oEtYopvT5Gh4nRlUDKVvPsDfjpnK2wqlDORTFVHQ+tCqyBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735650950; a=rsa-sha256; cv=none; b=nzwoFXyICf9SiBsqnUkf1di5MzUHgSmo6essXHVkZXOX5vvjBYOdVpqNfw6E65QzWgmMnk t/V6GDNQVdbJfquf1JRCns9TzIViBapaaCN3RXnY+EtTkIpddkCgX5tUaeQ/axSWFv8oku 7m9qaZH7B/3vw2TNUqPUzb2cKLRbM1VpUX9Gz87bDB0sNDL7mMAGP2kZAhoYf3tHItUwxM 9IrxyWrHcgUZNhVqIWOJCgjXxHjSn3RNZXTt2D+h/CpteAU8Zcik2BdeCzfddIG7EiAj0w QorrWXuC637ErGNKPXNR2rAxFRD1OcD/mlHpC9FMsoee/DK1cZJ+74O6uR4DPA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMtkt5VZDzgsY for ; Tue, 31 Dec 2024 13:15:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BVDFoaE090622 for ; Tue, 31 Dec 2024 13:15:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVDFoFI090621 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 13:15:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 13:15:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #38 from Mark Millard --- (In reply to Dimitry Andric from comment #36) FYI: # grep "clang[+][+]" /usr/local/poudriere/data/logs/bulk/official-aarch64-default/2024-12-30_17h= 08m08s/logs/python310-3.10.16.log # grep "c[+][+]" /usr/local/poudriere/data/logs/bulk/official-aarch64-default/2024-12-30_17h= 08m08s/logs/python310-3.10.16.log OPENSSLBASE=3D/usr OPENSSLDIR=3D/etc/ssl OPENSSLINC=3D/usr/include OPENSSLLIB=3D/usr/lib XDG_DATA_HOME=3D/wrkdirs/usr/ports/lang/python310/wor= k=20 XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/lang/python310/work=20 XDG_CACHE_HOME=3D/wrkdirs/usr/ports/lang/python310/work/.cache=20 HOME=3D/wrkdirs/usr/ports/lang/python310/work TMPDIR=3D"/tmp" PATH=3D/wrkdirs/usr/ports/lang/python310/work/.bin:/sbin:/bin:/usr/sbin:/us= r/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=3D/wrkdirs/usr/ports/lang/python310/work/.pkgconfig:/usr/= local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_LINT=3DYES PREFIX=3D/usr/local LOCALBASE=3D/usr/local CC=3D"cc" CFLAGS=3D"-O2 -pipe= =20 -fstack-protector-strong -fno-strict-aliasing " CPP=3D"cpp" CPPFLAGS=3D"-I/usr/local/include -I/usr/local/include" LDFLAGS=3D" -L/usr/local/lib -fstack-protector-strong " LIBS=3D"-L/usr/local/lib -lint= l"=20 CXX=3D"c++" CXXFLAGS=3D"-O2 -pipe -fstack-protector-strong -fno-strict-alia= sing " BSD_INSTALL_PROGRAM=3D"install -s -m 555" BSD_INSTALL_LIB=3D"install -s = -m 0644" BSD_INSTALL_SCRIPT=3D"install -m 555" BSD_INSTALL_DATA=3D"install -m 06= 44"=20 BSD_INSTALL_MAN=3D"install -m 444" checking whether c++ also accepts flags for thread support... yes Looks to me like there is no actual use of C++ in the build. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 13:20:11 2024 X-Original-To: toolchain@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 4YMtqv5C8hz5jRpZ for ; Tue, 31 Dec 2024 13:20:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMtqv2ssHz4jxD for ; Tue, 31 Dec 2024 13:20:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735651211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uwE+6taQ3cOW7TwAoP10lKhX+hOrorWm0qXm9GqG5WI=; b=oUxiKT8BmdHdTPhClSkTt05MLSbZJzTewVQEP6Ba/Oy82Rrros6GTtZL8vrFTTGglpr3Rk MYfrEgwfos1hNaDa5ugaMpoXxDioJmcLTxfvVGGHOH55BkhoRBQaWOwkCYfdQJ5X+XqWh9 O6HzstEZjVJMxviTcSNfNxrSSZ0ZdT9nNtqhlxIR+DMm9nAx4/31eQ2MiUigKfdjtJn6u+ zkZSuAZZQNpPUfxcm4Vg+nNLwFiHI+40Ov2UzOqSI7Ll/IU8ZWLhPjkeY5MVyB62w1qyM8 upLgO6J6biWq+Qi7gWMYJ6ruiyiEcvPD8s/VQ1VuLKMzk43VeqVg6IatXQEnQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735651211; a=rsa-sha256; cv=none; b=Vyt8FAdbjXxtQui/cJTXnRaFuYXKqYgkdY/1coQF6jOPsC3W13cj95rINIc0uwwq5ARoP6 4ft/Y++P0auCKQtJ8GdOoKaRECpO30+7+uNmwXDJGw4A32bidrafPJFEU2aVEVtc4VwS9D famxt6Pu1z7rEonvBzIP0+TegYZMEBmXQQ4CJJcf5wuCRpfaUexsydo5xWOSPSK7SXp0jA bTHNzGfw57NDAMO6lGlvKb6ItBYgxzfw8zDyIWZX2ci5PjFfgYGUT6cAuccasO2grqkHID U8qF74x6pPV2czBEv7f4KnZNHxK9mnqpAoDP3VTYYR+wI4L4VwnsgLeuAtp0Sw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMtqv1xdWzghP for ; Tue, 31 Dec 2024 13:20:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BVDKBi8096136 for ; Tue, 31 Dec 2024 13:20:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVDKBOc096134 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 13:20:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 13:20:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #39 from Mark Millard --- The stable/14 test context got: [00:00:07] [01] [00:00:00] Building lang/python310 | python310-3.10.16 [00:07:55] [01] [00:07:48] Finished lang/python310 | python310-3.10.16: Success for: # cat ~/mmjnk.txt diff --git a/lang/python310/Makefile b/lang/python310/Makefile index b352e8a2f9d7..f09113380dcc 100644 --- a/lang/python310/Makefile +++ b/lang/python310/Makefile @@ -27,8 +27,10 @@ SHEBANG_FILES+=3D Lib/test/ziptestdata/exe_with_z64= \ DISABLED_EXTENSIONS=3D _sqlite3 _tkinter _gdbm CONFIGURE_ARGS+=3D --enable-shared --without-ensurepip \ - --with-system-ffi -CONFIGURE_ENV+=3D OPT=3D"" # Null out OPT to respect user C= FLAGS and remove optimizations + --with-system-ffi --enable-optimizations +CONFIGURE_ENV+=3D CC=3Dclang +#CONFIGURE_ENV+=3D OPT=3D"" # Null out OPT to respect user C= FLAGS and remove optimizations +CFLAGS+=3D -O3 INSTALL_TARGET=3D altinstall=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 # Don't want cloberring of unprefixed files @@ -45,7 +47,7 @@ PLIST_SUB=3D ABI=3D${ABIFLAGS} \ OSMAJOR=3D${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}=20=20= =20=20=20=20=20=20=20=20=20=20 # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554 OPTIONS_DEFINE=3D DEBUG IPV6 LIBMPDEC LTO NLS PYMALLOC -OPTIONS_DEFAULT=3D LIBMPDEC PYMALLOC +OPTIONS_DEFAULT=3D LIBMPDEC PYMALLOC LTO OPTIONS_EXCLUDE_riscv64=3D LTO OPTIONS_RADIO=3D HASH OPTIONS_RADIO_HASH=3D FNV SIPHASH that had commands like: clang -pthread -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DND= EBUG -g -fwrapv -O3 -Wall -O2 -pipe -O3 -fstack-protector-strong -fno-strict-aliasing -flto -g -std=3Dc99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=3Dimplicit-function-declaration -fvisibility=3Dhidden -fprofile-instr-generate -I./Include/internal -I. -I./Include -I/usr/local/include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c So, the order: -O3 -O2 -O3 It does not appear like -O3 leads to any crashes for LLVM19's clang. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 13:27:07 2024 X-Original-To: toolchain@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 4YMtzv68ggz5jSHl for ; Tue, 31 Dec 2024 13:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMtzv2pQFz4lCl for ; Tue, 31 Dec 2024 13:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735651627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LFAAXrVs/N1+T5yTdv5pzhsTpBdXkQZ/8LH2Pz274i4=; b=s/8mQT8YokHWjE/DJKMxEUq1/hP5DokMa1NfWYxSwATS7LOXOowaxUNw9VvuDqdRRdnL5+ DJNSlY3IPslS65z3VhGOqpxPMjYj2JwZVSPI0w7JhQlFObOq/NdYBdQo27zA48GvMMp/kQ PV907ldtFer8I4dyXScBfXrzfe373JVo5JdWdSnPKm4iWtWyJcH9n3CQQCPPbc7ZK9wmw1 covgkZ8XgcITAeCdsqKW6FI8l563PWDf3UOZH/Fx8CewTYPXp/LslRqmbRI9Dbp/ziY3N5 oFWYRDI64hh9P/xanWMIFsvxJdu9MAR3Mq1Aa/zX9vSz57ofjYD+SRMNPHwQuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735651627; a=rsa-sha256; cv=none; b=firdSbyZpkySYB5SfohljGrhBjvmk6G/be5cUSilcBH66zCJtHc5NLKyuYzrUJZ+funj1y IoqQBCk+LT0NdWzIDwGIaa7XnxH2Hz+mPKqskbKRpyR4nwoRVHXrE9BpdPRXpuj26XW+kX 7I4AMTzBj2TWcCRuuYCmE9Jqo4YzbhfO98UL4VQFiIrCcJ3kWA7TFN5ykeUX40Jmvs7Tmu uMnvDAxRA/KKuD+zmVNM0TsLXY5UGoJSq3GHSdJaZ+Skn72wF+Gmr7WlXkDoOQE6d+MKBH ofa7EHsmA4CfDO5YGcocjPN2hcr6yzLkRXNHRsep1+cIb6hsts/qLl5trraPSg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMtzv2GwczhXn for ; Tue, 31 Dec 2024 13:27:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BVDR79E009611 for ; Tue, 31 Dec 2024 13:27:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVDR7La009610 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 13:27:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 13:27:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #40 from Mark Millard --- I'll note that for that stable/14 test: # grep "no profile data" /usr/local/poudriere/data/logs/bulk/official-aarch64-default/2024-12-30_17h= 08m08s/logs/python310-3.10.16.log warning: no profile data available for file "_zoneinfo.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_lsprof.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "rotatingtree.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "grpmodule.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "syslogmodule.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "mmapmodule.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_xxsubinterpretersmodule.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "audioop.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_csv.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_testclinic.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_testimportmultiple.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_testmultiphase.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_xxtestfuzz.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "fuzzer.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_curses_panel.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_cryptmodule.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_cursesmodule.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "termios.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "ossaudiodev.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "nismodule.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_ctypes_test.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "_uuidmodule.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "posixshmem.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "xxlimited.c" [-Wprofile-instr-unprofiled] warning: no profile data available for file "xxlimited_35.c" [-Wprofile-instr-unprofiled] --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 13:34:50 2024 X-Original-To: toolchain@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 4YMv8q1VHyz5jShb for ; Tue, 31 Dec 2024 13:34:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMv8q0JlVz4lQf for ; Tue, 31 Dec 2024 13:34:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735652091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r0U73FR359iTqEP7Dz1iid1S1/TSKcr6leGABbTs0b4=; b=veudYeQtsAk6uiP2UHTIfdFfT/AbELhLbuOlsUiY1dkiHWy53Oybwb8XN74HYYnqW+D79I N7ulBC5eIV3RWYddyA7Wa3HXsLPkASu3bCkjv3kDG3BCK+Ba9nXkl+uvOtJ6nURBSAJ3au Ujr3nNPpWu0rciSdiqd9rlbMQc8qh0k0SuHqyQ9+YGWHCv/XLQGqBqs3bnVSriO+flBBg2 p/YAI+KjNu/sFuvJ15g0sXcrGZGWDTIfOHQvlfMZvNkn9u6A0PY2lfcHN/IziEojYLIuP5 3d6kk83ij8DfY2DCluldZjptZnlKhDy29fQeGUQTBgZrLXvgssYLcsjoep6aHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735652091; a=rsa-sha256; cv=none; b=IZECCPFCk/3TZbwbTukZJrkw4y9yshVSECsfsc7ygy7o5ACYjfVmSTBw1EtPVWL0sHVeg3 JyzFnPup4/iV75Turo0e3XY3dH/+ciJmqXBs8+PS5zzMZWa+Au2qlbX2f/e1NMN3v2uq79 7RQKtbwlHOua9iUhA4VYPybQM9r1pI9ywJE+KLnMxx9HQS186NWuzMppL7yT4OBxWJbS5C TlnZwyyqN9eCZUE1bToS4qx5ClmxIEvtqobOZ5TBNb/wWw/3FAGVlpne3LNdp1RHF8n8uM hUikdqUd2SEwUfNnORhyxIc2IqcuhZCMHwAwlKU8ytB3SJh7nEo3zcmAgQkPHQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMv8p721Nzhm0 for ; Tue, 31 Dec 2024 13:34:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BVDYoP4025034 for ; Tue, 31 Dec 2024 13:34:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVDYoOX025033 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 13:34:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 13:34:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #41 from Mark Millard --- (In reply to Mark Millard from comment #39) For the -O3 test with lto and --enable-optimizations use on aarch64, main [so: 15 as stands] got: [00:00:09] [01] [00:00:00] Building lang/python310 | python310-3.10.16 [00:09:31] [01] [00:09:22] Finished lang/python310 | python310-3.10.16: Success as well. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 14:07:37 2024 X-Original-To: toolchain@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 4YMvtd1xRVz5jVnn for ; Tue, 31 Dec 2024 14:07:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMvtd0CVFz4qTj for ; Tue, 31 Dec 2024 14:07:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735654057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Fv2abZpr5sZ76Ji7ibtV6MAyOpL5RBmgoYFKeZqiHa4=; b=eAxedWWcP9aeC8IukCwmD4tIIn4Y8lZGcHy1oHkifC74kAiOMl5P4mMQpE1oEpjY3TCyfW kEXjVXlzpZyPX+s5mAfGBTzsFNm2V0lUNJWk4koy/gCElkalsVbLJPE+ta6RCoRb8YhIBR CYpAxnCNs6H0u+JcWsqNXAL/ztQ6jZ5a+i5ocL1QhCpRurh26waKleKiwTO+8VrotbMZOT mTqp64Q/CjlrBkMKa24twYAqN4j/8YKYFDFr4Mo1rB9RQbOsx5rY9U9wj1h4PltiweVHkH 14b2qJDKarW792FwF2DCVrhr0RrxS6OksZQOBqt1pWBcYFHfns2PL0G/d0fBfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735654057; a=rsa-sha256; cv=none; b=PNAze97zI9B+0tH04dqcpcICRDItbllQyBBjDEbHZT2hSzHQPMywCYUR28H8Ka/0WuMD8w HuQB1dOp15G8acSpZNoVkF4Q441NZ0YuJ/tlTlcfcRlJzVgNKEDbpEq2c3Vz/gTf4fWvT6 8aZoVHrm8eBNfivK4fii1NuEv93c8rpLuDGFZ4jxYDFXisHTRa/uMNa9zCo0ER85NtGEad Z4Re0bx2JbV3Q4CHLWP/QnNS/pU+MFDPoN/KdVJ2UYFviRnTg21DLxizmFQ8q5HgQhwcWd VrYO5CekKi/JHClbXp+PJSH8XQilr8IXH7iqm2Ge1osKiFac5gJ5U3tgXtTv+Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMvtc6l8RzjTt for ; Tue, 31 Dec 2024 14:07:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BVE7a6D074036 for ; Tue, 31 Dec 2024 14:07:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVE7al2074035 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 14:07:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 14:07:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #42 from Dimitry Andric --- (In reply to Mark Millard from comment #38) > Looks to me like there is no actual use of C++ in the build. It's just a habit of passing CC and CXX. :) (In reply to Mark Millard from comment #40) > warning: no profile data available for file "_zoneinfo.c" [-Wprofile-inst= r-unprofiled] These can be safely ignored. It looks like they are explicitly excluded from profiling. Upstream will probably have their reasons. In any case, I also tried a build on 15-CURRENT main-n273771-e8263ace39c8 aarch64, and with both --enable-optimizations and --with-lto, but it all wo= rked fine. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Dec 31 17:02:43 2024 X-Original-To: toolchain@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 4YMzmg3R9Sz5jlZL for ; Tue, 31 Dec 2024 17:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMzmg1cfZz4ftJ for ; Tue, 31 Dec 2024 17:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735664563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3XCte1AhTL4yTQYZyoAIES0SMqnWnQ6TKQirot0BfG4=; b=As7nn8US6k5RftJ4ehXv/SnI4bQ7kNMwknhR2xafQ6P36SKe+bhFKgql5lpC08M2wGPevK UglzPEp7jNDztD8bOcbTcVyLOOEKmxT83MBicrf9TUeN35hXxwywV+zVkJBk9ga2YyU6ie QhkZPxE1BvxalWLsbTQuUMRcEcAxle5axxAn4MKEOYnABTRB+ZtANaOoIk3KqtgYCZhI/t apRLc6ljc3mWbTNpZeFnavMUalW81aC+gM+nZxPY4Prk93EJx9BKzGXZ53AOEavidLbdvh 7g7EEdpwdIDKwQnVEcJZnD/xWBv8mvkcX5+NXehqH9IWLu5cb2bbXxN8f+SS3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735664563; a=rsa-sha256; cv=none; b=E8EiyPXEmBSxWgeyjLvSWwBoDwIXR9U3C2TWsgM4CGP3+qHEnZ8EqNbvqaB4MD7qdisj8S 4T807S5qMCSOPr4agYt8nPU42r1y83wMVLcLXR5tYVEuIH0ZVav84XveidoN0VQeOhsl9p zX12GyjzALy3awOs5clMSTVwg6yWb9GVfEHh9x5oCxgEMSOIVR3zev/9f86gmQMsWrNWeK tsYB1yDxL1M4LcRSf3/lgTbk71n472MD7635nR5P60s76uxBzyseDm0SkE3Rke5+j6gvJP xmemc32E7hv+XuB08Z9tkeu4YslMCbhD2CsT1rqBlL+WvMBm0jjmznHJd+zf5w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMzmg1DzMzpJt for ; Tue, 31 Dec 2024 17:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BVH2hRu074703 for ; Tue, 31 Dec 2024 17:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BVH2hIH074702 for toolchain@FreeBSD.org; Tue, 31 Dec 2024 17:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Tue, 31 Dec 2024 17:02:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- Comment #43 from Mark Millard --- (In reply to Dimitry Andric from comment #42) The presence of the checking for "no profile data available for file", and the limited number of files reported for lack of coverage, suggests use of profile data for the rest of the files. In other words: my build was probably valid relative to PGO. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Jan 1 23:24:19 2025 X-Original-To: toolchain@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 4YNmBY2jsPz5jNN8 for ; Wed, 01 Jan 2025 23:24:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YNmBY1PJDz3wjN for ; Wed, 1 Jan 2025 23:24:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735773861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iyYDAn3S2L51PV/TQQR4xqxrOB5focFx3h+4ZYkytuo=; b=lzlyl3BmrBNYjMaGVvU1PO34PmhfjJP2rSqYNqD2N2ljcPYiy+WMakHKx5UhIN0lxICriy BXvPESGEchD9vvDS9w2/c3pCAgGsNizjZIobkGHwS+otbC08Eu6ydLagBWLTLRHR7rT7QS sHbkyO2V75KTHue0luVNq6Sy7VY5g9c2olBBx2plMew5zkUfMhsI7y9iaw96v/jTnTWhvd rRPa/jvYB0KDVJmAeuWDXUnkjAzvwGgtUxRnaXnGBGgkjYJWK1r3sKVoWXqOG3K+S1F0LM D+my5Kt7HeKcV0H3ISydbtlB3XY16IRBYo4tRpHgQhFcj/XLzCqJEpXUXI3zxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735773861; a=rsa-sha256; cv=none; b=vBcJPuO2Xth4wNYc7t0iHeyrzjjq3S5jzQDORoamdF1YWb33peab0BLs5pFiD7/YcPZ5fK /gqPIPHdOjdTSyDBct4l4Ao9zUz6AGrDYHAoWB2Qpvup9BaNNKIvzFYt+wZIh5i5t6BKzJ SKRpabFeKbCh2u8lS5532if5pYHPLN6eJcZ7bIoQy2m/bxOgkQOnmDFjNxZ4/JUmfJTua0 LSgt45eglFNrI1T+vB6CuF9NncLwqcCAcgprptdE08hk9fkJd4fi88H2E46fK0Y0b8hUfo blMEtk9tjByWiw+xf9+04iFVXY01Gfuoc7ARGpaLDtFhYHET2BUQno4MHcoZNA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YNmBY0sc7zl1y for ; Wed, 1 Jan 2025 23:24:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 501NOK2U077318 for ; Wed, 1 Jan 2025 23:24:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 501NOKQQ077317 for toolchain@FreeBSD.org; Wed, 1 Jan 2025 23:24:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Date: Wed, 01 Jan 2025 23:24:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress CC| |emaste@freebsd.org --- Comment #44 from Dimitry Andric --- After some more investigation I found the cause, which is (again) the fact = that assertions are _disabled_ on stable and release branches. This particular "error" is occurring in contrib/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp, on line 422: 414 if (CodeGenOpts.hasProfileClangUse()) { 415 auto ReaderOrErr =3D llvm::IndexedInstrProfReader::create( 416 CodeGenOpts.ProfileInstrumentUsePath, *FS, 417 CodeGenOpts.ProfileRemappingFile); 418 // We're checking for profile read errors in CompilerInvocation= , so if 419 // there was an error it should've already been caught. If it hasn't been 420 // somehow, trip an assertion. 421 assert(ReaderOrErr); 422 PGOReader =3D std::move(ReaderOrErr.get()); 423 } llvm::IndexedInstrProfReader::create() returns a llvm::Expected<> instance, which is similar to std::expected: it can contain either a "good" return va= lue, or an error. In some llvm build configurations, when you attempt to use the return value without checking whether it contains an error, you get "Expected must be checked before access or destruction". This occurs even if the Expected<> object contains a valid value, in which case you get "Expected value was= in success state". When llvm is built with assertions (WITH_LLVM_ASSERTIONS, which is on by default on -CURRENT, but not on stable or release branches), the assert() statement on line 421 is calling llvm::Expected<>::operator bool(), which checks whether the contained object is valid, and if so it resets the check= ed state: /// Bool conversion. Returns true if this Error is in a failure state, /// and false if it is in an accept state. If the error is in a Success s= tate /// it will be considered checked. explicit operator bool() { setChecked(getPtr() =3D=3D nullptr); return getPtr() !=3D nullptr; } Then in line 422 the contained object is moved out of the 'ReaderOrErr' variable, into the 'PGOReader' variable. Finally, the 'ReaderOrErr' variabl= e, which is now empty, is destroyed. However, when llvm is built without assertions (WITHOUT_LLVM_ASSERTIONS), t= he assert() statement on line 421 does nothing, and the 'ReaderOrErr' variabl= e is unaffected. Then in line 422, llvm::Expected<>::get() is called: /// Returns a reference to the stored T value. reference get() { assertIsChecked(); return *getStorage(); } The first thing get() does is looking if the Expected<> object was checked,= and if not, it prints "Expected must be checked before access or destruction" and the whole program dies. Finally, assertIsChecked() is only really doing something if the global llvm macro LLVM_ENABLE_ABI_BREAKING_CHECKS is defined: void assertIsChecked() const { #if LLVM_ENABLE_ABI_BREAKING_CHECKS if (LLVM_UNLIKELY(Unchecked)) fatalUncheckedExpected(); #endif } In the upstream build system, LLVM_ENABLE_ABI_BREAKING_CHECKS is typically 0 when assertions are off, and 1 when assertions are on. In the FreeBSD case, this use to always be defined as 1 in lib/clang/include/llvm/Config/abi-breaking.h, until base 1c83996beda7 ("Adj= ust LLVM_ENABLE_ABI_BREAKING_CHECKS depending on NDEBUG"): 15 /* Define to enable checks that alter the LLVM C++ ABI */ 16 #ifdef NDEBUG 17 #define LLVM_ENABLE_ABI_BREAKING_CHECKS 0 18 #else 19 #define LLVM_ENABLE_ABI_BREAKING_CHECKS 1 20 #endif Unfortunately 14.2 does not have this commit, so the combination of MK_LLVM_ASSERTIONS=3Dno and LLVM_ENABLE_ABI_BREAKING_CHECKS=3D1 leads to the scenario describe above: the assert() statement in CodeGenModule.cpp line 4= 21 does nothing, but ReaderOrErr.get() still performs the check and aborts. I merged base 1c83996beda7 to stable/14 in base 86de9cd1f1b5, and to stable= /13 in base 44be5a00bedd, but this is unfortunately not available in 14.2-RELEA= SE or 13.4-RELEASE, so for those releases there isn't much I can do except to = try to roll it into a Erratum. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jan 4 09:32:09 2025 X-Original-To: toolchain@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 4YQFZx284Pz5k1mc for ; Sat, 04 Jan 2025 09:32:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQFZw6b3Jz41m3 for ; Sat, 4 Jan 2025 09:32:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735983128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U6IbpLItrR9v9pKr6pBgj2iONXnT+QP6OVCd9QWfYxM=; b=smvc48JIrSURnHwC4HIAjHoXxc7aQGFVrVIwjRa38OV9S9YL/QV0wAxxCz6qE8nTQxg1cl Pb7oJvNT6wMkMoi7YD9M1BpCmbmkF4dfDjNhHdL4e1Vq1TOdLYxfNd+nLp2+noJR51gfi3 oWCEDClVd5ZAXijDk8tQZS4hWOVH64REqelDvq3NEc1jcKrwrIFOA/tvOWYz0ycwHUukK/ 5Yd7cWB5UDOfhjub/nkaID1DAld0+sL8W3jrO/Sm96rMuV9S8vNCdSJXYFNebr+kSRtYxW gK1khaMYG+Hp3DLZKiXlqtvjIRkOAJcIGSBTUyYJmuzuqnF/EtfHF1Qx4NPx/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735983128; a=rsa-sha256; cv=none; b=tDZsIY7VmO5VfTp/eWlB76fBV8NIAZtIraYBvuPtyMsH2PIQ0XW47u9jc/eaHy2XQbK34v 0xSj1nSyruwd+bQsUb622EDpb4eXA2ti0V2Lrif5DS+h8o2lBm4SCaIxnhxoWOHA2QEm5E DeOWdsyEbRMzg+Mtpqbn3X3wiEXGiv9sgrcP6EMr4UAKH/wmt+MjA1SGr+J565riw9XUWt /G685H8wMBVs1HbrhgSHBw1IJ+jQ1J5n9Zb0BZD7rXEz9Id0zIrqq0do6l+kc2esL9GbRW woUzUP0/JYwYh03DtoQ4kedSkjVVNep84I441GIoAIeGcZY8ufg/PgE9fG0d2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YQFZw69ggznHp for ; Sat, 04 Jan 2025 09:32:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5049W8jx089162 for ; Sat, 4 Jan 2025 09:32:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5049W8jN089161 for toolchain@FreeBSD.org; Sat, 4 Jan 2025 09:32:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 283840] inline asm error on armv7: expected '%' or "" (port devel/outcome) Date: Sat, 04 Jan 2025 09:32:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283840 Yuri Victorovich changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-arm@FreeBSD.org |toolchain@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jan 4 09:35:17 2025 X-Original-To: toolchain@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 4YQFfY6pPvz5k1yV for ; Sat, 04 Jan 2025 09:35:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQFfY02sgz41xW for ; Sat, 4 Jan 2025 09:35:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735983317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZF84fexaKFhWNeGnkRJAc9+sQOapmq64z0sJ2fiUnm8=; b=Uj+Acn61gSLSXgcFloZEl47KhFQupzXCw7OuGVF1fYViXa70IdqERt1qOejJQAq3nj4Eeh kFkQE/THB6al/1CV/e/09Zc6WizqdafSjWkR0Bb/K9/SNXVgvkscx2cU9wHnPUgAcuQGWO ix/eU6eMpLbEdAwiYo9GGAy39t5HmYGsVVgoT7sun1WBogZrVOJ+TrC7HP1+hJVYJ3dw4k jiOdtwn/SP1zlu7KQwfgAtmYj+RsUZw4vEa2/oS/ZCFkaDl3tSueaFn9S+IxXWVTSUQddk 6EZPxhzoVFA5O/g1nE1Tdq3ifQ6UASWPvHJ2t24FEeF/Yy6W9mEqPZZfALpCNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735983317; a=rsa-sha256; cv=none; b=kMWGTjJrShKlQtaa3PeJgBI6M66BvEYz4QxNgWj2PkehhjWCV9xVTW/5iUGEehJWXZxvxk bVJhjZeYo3pTHTV+OByQ2wFm5ay9HJAJd0OOu2PHI6f0DebUHTPr8RXWoaw5jd5MddEBtK OpOTI6g3iR8z+20/3e1/ld5/l8nWONdk5GsD5Nqwre2G7BxqlYgkernAA0YD6sJanhDXrR vce4swdl1aBxZlWFXyTw0gTKJsvF4gYqXVBLOY3+EQGY7ASOKQAOrkeDV4JFsC8cfbHWhg 5fA9SDi/zPOTC3AlHH7haAULkbe1DNKhAzt8Qq3kTsL2FoALKS1csGqaCzcdkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YQFfX6gT4znFC for ; Sat, 04 Jan 2025 09:35:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5049ZG4H092754 for ; Sat, 4 Jan 2025 09:35:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5049ZGg3092753 for toolchain@FreeBSD.org; Sat, 4 Jan 2025 09:35:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 283840] inline asm error on armv7: expected '%' or "" (port devel/outcome) Date: Sat, 04 Jan 2025 09:35:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283840 Yuri Victorovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Not A Bug --- Comment #1 from Yuri Victorovich --- Sorry, this turned out to be a bug in the upstream. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jan 4 11:02:40 2025 X-Original-To: toolchain@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 4YQHbP2ccQz5k71J for ; Sat, 04 Jan 2025 11:02:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQHbN6LWFz47pc for ; Sat, 4 Jan 2025 11:02:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735988560; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lCRUF6jP7YeIszqxdIE7O3oPr5GcsA6QTRIUUhxn1gc=; b=a7MyahXapcGsnSMKPMvdd1Kjqcyk+xwtcG19i2x2LguANpVUIdtOKld07wZM76PZdcZ6Ar YUAZC30LY3vGDpVf0Wp97oe3aYiW+/X/ZxjCxotl1z/N0B93lkVWmxyDW5EhsorlwF3UAV lXkvWvdSZeKyFoqafm1mpllDHW+0AUVUqnS6F/ZUR3AKIOYXTXbA8z+O2x043jj76IaXNZ JqsYVOs9VBxwnGPI164TJC5djcT9IhFiAbrMuL/u/Ic0IdbRXeMt7Dwq1JL7RbsQVmj2dw MJEV0+NYmzcWxGhadk7Fj/CH9U/I7eyYUmT4TeIde3mTfaFj2FTorjoNoxnvuw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735988560; a=rsa-sha256; cv=none; b=u3M9XwWnJdD63t5km/Riv8UR5rx/KC2YOQm7C9eRsXCY9s4pZ40bV1dXrDG3uhGY0mcyN0 9LJEoIWxuH7Oruo20X73C2ZWFHpQvVGEiRat8X1B14MMcMVRtV3Bd8EnzZFL6t01q6+6vN XRfeFR+XSdsQTBw520nE8vHi7wllgBX6klSFXyIrxL/2nhPn8bK4C/NB2758+6ZIzLBoez Nt1eVRZgQ1Pa/bAeI3q7AMW5eOFK4pDtUhjzAHXbFVe9cyikF/bJ3E8T/qYweNcy2X5edj 5XISvScgVKm+IWbrfO22RrYX3hSsYhAVQ3LKdBhxECNniwJTeAwRRyoZKs+F/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YQHbN5wGNzqqp for ; Sat, 04 Jan 2025 11:02:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 504B2e5f055402 for ; Sat, 4 Jan 2025 11:02:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 504B2eX3055399 for toolchain@FreeBSD.org; Sat, 4 Jan 2025 11:02:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 283840] inline asm error on armv7: expected '%' or "" (port devel/outcome) Date: Sat, 04 Jan 2025 11:02:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283840 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fuz@FreeBSD.org --- Comment #2 from Robert Clausecker --- This is easy to workaround: add a patch that changes @progbits to %progbits= on armv7. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Jan 5 21:39:01 2025 X-Original-To: toolchain@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 4YR9g94ym9z5kHyl for ; Sun, 05 Jan 2025 21:39:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YR9g91qXxz4Wlc for ; Sun, 5 Jan 2025 21:39:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736113141; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BQ8m8TLszWNc7ZSRtL4Xg28TAIfynwmevZQNEr+FwuQ=; b=Bv56bS6gk+faCzNzCP8weSjegX1s8LQ9DLwjUGgRci18++ogM7P0pLnEchHRbNKxCiZMBz bBPeUOSSlQ3APKr2BbeeEyLg6TDLkq/wCN5J22pGhZuevGkc6wBJIMkY9W8/cDcJQLvLZJ jpBZR+C23FXzdTf1aLhwG94auOUvE6unN1dUaWbeUEoU/zDbq7pyWjXc4ahBDH6MMBKAc4 BzQDdNXXuJVOHKUidI1er0IP5o9v88gHCpxJ7rL0vzy9m2FqSES25/8pnRFp1xbRmqZSMp WhDCXl9MM0lgSjWapg8ctrMPqswK4M1uvBKUnM8zZpQIUXaufHJh2BJzQ+CSVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736113141; a=rsa-sha256; cv=none; b=MsmP8JVPQ3h2deQPBEiLee/YMeRELv7OF0MVZu3VZt4WjYrU9q+cHVYI9EZ8WelhpQk/zq 5aRwpugRKpZydgFwMJ6UvdvAUmw/8SvQkG9SYFOVMQzpjSTE0vJmOezDx6sv41o6ISfQDy GeShgFWdVMR7wnxB60+xrwQTmE2fe8Jg8tNFb0AviQ5ILH+q9Tk8NjhDlna9pJBXXY0sxT MJAoVXTE98KID5+8jjOogyBmMeaelwm/9ZagieVY+OyfqDm4FsYpscSpkjcNyzqxdS9XQL sWQvLAea9ITVbzWmQ8JNyJ5iZl9qtAgsFAZDUyOVQsG7pSSR+M01M8SbinOpTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YR9g91P6Xzw0m for ; Sun, 05 Jan 2025 21:39:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 505Ld1ah022308 for ; Sun, 5 Jan 2025 21:39:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 505Ld1JS022307 for toolchain@FreeBSD.org; Sun, 5 Jan 2025 21:39:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 283840] inline asm error on armv7: expected '%' or "" (port devel/outcome) Date: Sun, 05 Jan 2025 21:39:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283840 --- Comment #3 from Yuri Victorovich --- Fixed upstream: https://github.com/ned14/outcome/issues/309#issuecomment-2571613444 --=20 You are receiving this mail because: You are the assignee for the bug.=