From nobody Sat Nov 26 15:05:12 2022 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 4NKFQd119lz4jYhZ for ; Sat, 26 Nov 2022 15:05:13 +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 4NKFQc6xkzz3nF6 for ; Sat, 26 Nov 2022 15:05:12 +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=1669475113; 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=egDFTxsULFHPTA+riIZy6nqDPl12sA1ZTNTBZc9SySQ=; b=kw0iQSntgRbO8my/pPoY8y749xXOK9At6ZGSGU2jmiyTvTY48GU0gx981XMK+LNmury1lA SrVeMrbudUc9gUXClZzqKE/LqspKNOT+XgcWNogPBkyEGmnQ7kvkPGE06KqzoXJityFQOl 8tknDkihDQKbJ3JHWExhubV4tbWuTfCDtBtdqFjFVC7o18jJ7GK0YI5e9vmUl4Dkxb2DlS IwjYgx/faTggZRmXsnavDNx9PbjXHM+5PN612KROUusLjRYgCfLLnQZWYwcuByHmsXUyIJ kUBtylwSqD0W8DGIo8p5E1ycbRyCZj70hET0XMrZMk9QjF/TnRhrPPdmJM07YQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669475113; a=rsa-sha256; cv=none; b=EY3J9RsRy+CND3mezZu9XUWr8R0qbwdw2OKwSPvAS3GcDSlo2NuqKYrdpfopfpqc9wBhmN xcT7DFKqPi/LnZX4OWYsfQ5yycn2Hfy1RntXdnhW0+8rN/hqzGegTGeekvVOQNuTL0O5Wf b/ER4/E+eCAPM6FH5kh/f74dFPz5OdyqSye3kA5LRZIvz+/XoYqbsOoC/p+6C24TTo6zSr A+eqVBuf8l6yxiM+L7A+bKBQoh9ovLFbyu5oz4A5UGPJF4IC88yvC+2npPbnjjVfqxPN5Y XWFhJYRFqPOWm2Q/bBAM33zqaSwvgyHTbzJL6FMLqPg6UYn6hrKEopx4vW5xKw== 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 4NKFQc63P0zNy7 for ; Sat, 26 Nov 2022 15:05:12 +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 2AQF5C7W083223 for ; Sat, 26 Nov 2022 15:05:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AQF5CAW083222 for toolchain@FreeBSD.org; Sat, 26 Nov 2022 15:05:12 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: toolchain@FreeBSD.org Subject: [Bug 267751] lang/gcc*: Address sanitizer isn't properly enabled: ASan runtime does not come first in initial library list Date: Sat, 26 Nov 2022 15:05:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: salvadore@freebsd.org X-Bugzilla-Flags: maintainer-feedback+ 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: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267751 --- Comment #14 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D7375f3899ae994888d48e099476d4a6= aabf310b2 commit 7375f3899ae994888d48e099476d4a6aabf310b2 Author: Lorenzo Salvadore AuthorDate: 2022-11-23 22:35:46 +0000 Commit: Lorenzo Salvadore CommitDate: 2022-11-26 15:01:55 +0000 lang/gcc11-devel: Fix Address sanitizer Software compiled with -fsanitize=3Daddress fails to run with the error message "ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD". This commit fixes the issue by ignoring the [vdso] loaded shared library instead of linux-vdso.so. PR: 267751 Reported by: yuri lang/gcc11-devel/Makefile | 1 + .../patch-libsanitizer_asan_asan__linux.cpp (new) | 18 ++++++++++++++= ++++ 2 files changed, 19 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=