From nobody Tue Apr 02 08:58: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 4V81y73g7tz5G4PG for ; Tue, 2 Apr 2024 08:58:39 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V81y70bmWz4VC1 for ; Tue, 2 Apr 2024 08:58:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712048319; a=rsa-sha256; cv=none; b=XeVpBQ3Ltb45fZ34OhncyjM0Baws+EzPi/YYHc5UEfW0SHu8KNlp5pDsNjy8CZ/oR1zyH+ KAmJVHg5Jmgflej3xdabTzuPcTa2+uDCBiWnisBGMxC6UMhZN5FOJzfl+XfnLVOZoy1e/s X5xptwCpEVM7DHkZ5t6bHZW0OfhfBi1Tw9AHJAuo6cp7VGuQUhOaoM4rGGuZxnKnVCl2A6 inQVRDiPP9wOuKVQQcSAkGfd+bMskarBdQBHAPhbohDfomKU0n7h/3MHeabNbmI7L97zff BIzpdXzgjQqzfsLNd/YR9IiVpBPF7n+SOWDMotHA5dK50O40bWIrI1MladMnpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712048319; 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=kTnPPm3UALnX99z131DfHexrohAgxMHBSNv54wBomtw=; b=ABvPc0oEh51bcXyRuHK+7QvM/ZwrIACqvVGAp5lH0t/Aef5XsI4hdMqdBYEwdg+/QiI4Hy csG7y8cZqMJlgx95JteDHjBB7+1BgEvfJToAC9/gtPQBBi+32kuk+fn+Q/qIpPEzr203vE jKQuD1twhldqTFnWeo2tiVVtUp4eMYg3+0Bd9ohgYmEGu4NviUK27IuBavXi5SjSIn13dQ VgJrugnT9TdPorCaRo92SOkQixKvoyUz5Okx93FGqRtdDHspItcRVpJ4xqikLbh5JBCTow 4D06bdRDBt9QvBppbUqBy1EiB/+oKOtQ399JMpM7GB+wuvFKr/HKBIiQpXtPmQ== 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 4V81y70D3wzjvh for ; Tue, 2 Apr 2024 08:58: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 4328wcCS095535 for ; Tue, 2 Apr 2024 08:58:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4328wcdT095528 for toolchain@FreeBSD.org; Tue, 2 Apr 2024 08:58:38 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 278089] Crash with clang++ 16 building stockfish-official Date: Tue, 02 Apr 2024 08:58: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: 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: 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: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278089 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #2 from Dimitry Andric --- With just the files in the tarball, I cannot reproduce the crash, since the profile data file "stockfish.profdata" is not available: $ sh -x benchmark-d729e3.sh + /usr/bin/clang++ -cc1 -triple aarch64-unknown-freebsd14.0 -emit-llvm-bc '-flto=3Dfull' -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name benchmark.cpp -mrelocation-model static '-mframe-pointer=3Dnon-leaf' '-ffp-contract=3Don' -fno-rounding-math -mconstructor-aliases '-funwind-tables=3D2' -target-cpu generic -target-feature +neon -target-feature +v8.2a -target-feature +dotpr= od -target-abi aapcs -mllvm -treat-scalable-fixed-error-as-warning '-debugger-tuning=3Dgdb' '-fprofile-instrument-use-path=3Dstockfish.profdat= a' '-fcoverage-compilation-dir=3D/home/paulf/scratch/Stockfish/src' -D USE_PTH= READS -D NDEBUG -D IS_64BIT -D USE_POPCNT -D 'USE_NEON=3D8' -D USE_NEON_DOTPROD -D 'GIT_SHA=3Dc964942d' -D 'GIT_DATE=3D20240330' -D 'ARCH=3Darmv8-dotprod' -O3= -Wall -Wcast-qual -Wextra -Wshadow -Wmissing-declarations -pedantic '-std=3Dc++17' -fdeprecated-macro '-fdebug-compilation-dir=3D/home/paulf/scratch/Stockfish= /src' -ferror-limit 19 -funroll-loops -fno-signed-char '-fgnuc-version=3D4.2.1' -fcolor-diagnostics -vectorize-loops -vectorize-slp -faddrsig '-D__GCC_HAVE_DWARF2_CFI_ASM=3D1' -x c++ benchmark-d729e3.cpp error: Error in reading profile stockfish.profdata: No such file or directo= ry If I remove the '-fprofile-instrument-use-path=3Dstockfish.profdata' option= , the compile succeeds with both clang 16.0.6 and 17.0.6. So it must be something in the profiling data that is tripping it up. --=20 You are receiving this mail because: You are the assignee for the bug.=