From nobody Sat Apr 20 10:33:32 2024 X-Original-To: ports-bugs@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 4VM7CK3SxPz5HWNG for ; Sat, 20 Apr 2024 10:33:33 +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 4VM7CK0LdVz4RPZ for ; Sat, 20 Apr 2024 10:33:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713609213; a=rsa-sha256; cv=none; b=mr9y/Iclk/QAvDr9xDjEspDH81ovjK/CuXxwtDX/XAlaBQHQEh9mQoVa8fEbNSQmjC6sGj 4eqBd7p3ZPQ2Pgy88GVdPHZHdSDQjIM5zUFdvRDpOeWPegoyJtc8Vf0ALB17jeOgoA04z/ q95mBHnO0erMysAybaQaA9OKiJlxMzVs9gm4QsYG6cpgotrh/+WMvCx3riw7en656wChAc OpSgRnnrw7mrlaYPqow45kk8d+1XUgppsikJA01lFIYna+AYuSOXvm4reo2z3ywRpuo+Bw ZSdALDH/5E3xxUynCpiWRMsnqYn3G04fl6qDe+jC38tXTLB1+BsEcLlO0qXZ3A== 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=1713609213; 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=n53vrMZwpnIIjfTxVEHOJNfBU+IEUD5tUuywsyKAxPw=; b=POX431sc6l2Hz3MS+FkL7QQSrFy7fkTIAdUDvtrX9r9s14mROHckChkxbKfR6ItVmDBHuD 8z9rAPXMljyKe1h7dyko/Zgly/EaWW8dx0myN7UgYU5ByuCqa3KwKYyAqEKUYxONE6/oBS oCXpqjSHK0au3h2Uy5jhB695UNxdfAVv2mhdW880R8iSzXse/X/dnoO7p7mrh4V2opClvB wH+csmd8RyUIaxs76pXoSezZI2xYA4bzZ+aqYRSaA2KHjSo8c4VWaXnJm2Yr4ecky1EFp9 CNB1QvkuM2bPay2ahtdpCYjv0KJL9fSEk91mpCZhXpWR3eSn4iviw36Xz2GoXA== 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 4VM7CJ73sFzYhd for ; Sat, 20 Apr 2024 10:33:32 +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 43KAXWTA051726 for ; Sat, 20 Apr 2024 10:33:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43KAXWtL051718 for ports-bugs@FreeBSD.org; Sat, 20 Apr 2024 10:33:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 276104] [exp-run] Against llvm-18-update branch on GitHub Date: Sat, 20 Apr 2024 10:33:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276104 --- Comment #79 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D18590ac4f0355175003baefa711fcb47f= 041f24e commit 18590ac4f0355175003baefa711fcb47f041f24e Author: Dimitry Andric AuthorDate: 2024-04-14 17:38:42 +0000 Commit: Dimitry Andric CommitDate: 2024-04-20 10:03:26 +0000 sanitizers: mark __elf_aux_vector as weak, to allow linking without lib= sys After libsys was introduced, linking sanitized programs started failing with: # c++ -fsanitize=3Daddress main.cc ld: error: undefined symbol: __elf_aux_vector >>> referenced by sanitizer_linux_libcdep.cpp:950 (/usr/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_l= inux_libcdep.cpp:950) >>> sanitizer_linux_libcdep.o:(__sanitizer::ReExec()) in archive /usr/lib/clang/17/lib/freebsd/libclang_rt.asan-x86_64.a c++: error: linker command failed with exit code 1 (use -v to see invocation) Mark __elf_aux_vector as weak in the internal sanitizer declaration, so the linker will accept it at link time. The dynamic linker will then take care of the symbol at run time. Suggestion by: brooks PR: 276104, 277393 MFC after: 1 month (cherry picked from commit 8b181c2fbaa8c6b32e5510ef6e3a6d364ff4710e) .../compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp | = 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=