From nobody Sat Apr 20 10:36:15 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 4VM7GT34tlz5HX03 for ; Sat, 20 Apr 2024 10:36: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VM7GR2Cl6z4WP3 for ; Sat, 20 Apr 2024 10:36:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713609375; a=rsa-sha256; cv=none; b=dfPf9nOx4L+H3DV491F8M4snLfGU2O4YW7sRnjvOL/MiA2D9f+oHxDrjL/oYLBSS77G64I uo13veIaQm5K6Fo2e5LnK5LKqA1xb+978vVxm2TT/4RvyQvti40Q11r4x3juKFW5zIxz+l ql8np23FmJVlLy4O7BWn48SWbqgS3iUtYECQ09wnJR+Qzu4OJ3KpnIkzPrr8TurjgklDTm uG6Zcn5OWr8tvMzE1AqbKyQBojIc6aLhj/mqYZn6WBA0C3+ef43mEBkAmdq6w9KxitcXpf Tf6m+4YlPQ9Ls1wHQOTGFBEbFkHpMImnrisX6LN5tgciiDF3naRpoNQSKetdJA== 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=1713609375; 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=ICaVx0boUjqSehwE/L9rArLlgHB0NJp/DMJKP5BiO18=; b=QFmuLOKh1fvLrYTPQnpzuODyiOqtz1/OgM02n5LhPOfZ8mfF0VSsNjYV49cRmCImgvFTYY TGv1tis/O6NfWaUr0JdD5NScW5ocjLj7WRRGqYVcRKzK5w0rzhAEHk2mYzbMAJZSQcJGTD 4ALKr/klSdSYxXAsOuhKhwzG4VsWg2To0+ad7kjGpD0+k5/imABaZNLjAQ/6gjava2Exn/ E6GgGhh8ktfK622SelyROSUUGSyQXBUopQ8EKg4jN6+JDRtB1OY7Zx69khHgUhLHhdSFSp R70N89PnLYK1SEm68+c2nGYfH7yNt/XYMcQMTAjtgt1CvlYjWJ706om3ynZmtg== 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 4VM7GR1nMtzZJs for ; Sat, 20 Apr 2024 10:36:15 +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 43KAaFFh064438 for ; Sat, 20 Apr 2024 10:36:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43KAaF6c064437 for ports-bugs@FreeBSD.org; Sat, 20 Apr 2024 10:36:15 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:36:15 +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 #111 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dbf7e13e690c32a86fa2cb4aa31343c935= dc6cdcb commit bf7e13e690c32a86fa2cb4aa31343c935dc6cdcb Author: Dimitry Andric AuthorDate: 2024-04-14 17:38:42 +0000 Commit: Dimitry Andric CommitDate: 2024-04-20 10:29:10 +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.=