From nobody Wed Nov 30 12:54:19 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 4NMfKl6bDfz4fwD8 for ; Wed, 30 Nov 2022 12:54:19 +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 4NMfKl5SWsz3P2S for ; Wed, 30 Nov 2022 12:54:19 +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=1669812859; 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=PNj9PmrKSDlwApUE+dTHdFj4UNsOZ9DWC29yerd4ovs=; b=Egqy/+LWvpbRk160WOBNV9J1go8kweYl1YxfcMQeTtj5ezBpDGssFAxaQW4Wl/b0rP43fj InvfztAlE9zjHb0kEkN7mw2fZ7BsWU+Yf76DYgQScmQ5DgXXEJMcP4GqlPyk6bXKSX4Aqy 1JqdIpuB4f9Kaikzs1YHeU8QFpTF9wURVQz8oVH6E77pfBf27cwByJjfzM3krs8h5za2CZ ii8skqEo0BNEQYbIAjx3RRzLIAIZrny6fecLh9oS3JsO1tSEJeGfUzXc/D0hce1qeWEIbh DeHIbgUZEOw2G+mPU/wHrmxL6K5biqI7BICkcDjfd63MukWgarNW4CZwFOaWiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669812859; a=rsa-sha256; cv=none; b=Z9sJiV04p4aglOYl58qddtIrhSi5kY2juOGjxtxi8kKcbToRD9oPA3I6+FR7gcQd5vC5GS bNfuMdPvg7r8H4ncU358vdWLaURKtaqvgv1WDer/3W7+mLY9ySYc1IvVSwKdeLpcjgzJxx HdFcIRKprR5IJzRiPxnpMHKCS8mP9Dj0lMNGgWT/bLVXYWDqDMHYm4PPRr6CPdBz55Yd1u q+E4ZZIR9AtyOuX+Ci4NbutWun3oUvvDMbeEpvUpKKsWiFIp2NmszZPQWkiejRFDFx5VoD +kevu1uG+6zbrjsHJsOURRf5j29DvVV5PEKIE82wKQnhB9LtXPx6wQuLhnKenQ== 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 4NMfKl4XlXzxMR for ; Wed, 30 Nov 2022 12:54:19 +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 2AUCsJST067748 for ; Wed, 30 Nov 2022 12:54:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AUCsJfc067747 for toolchain@FreeBSD.org; Wed, 30 Nov 2022 12:54:19 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: Wed, 30 Nov 2022 12:54:19 +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 #21 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D27141421f69cb2d2bc6a462d005b251= 921f2c52b commit 27141421f69cb2d2bc6a462d005b251921f2c52b Author: Lorenzo Salvadore AuthorDate: 2022-11-26 22:02:08 +0000 Commit: Lorenzo Salvadore CommitDate: 2022-11-30 12:52:52 +0000 lang/gcc12: 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/gcc12/Makefile | 2 +- .../patch-libsanitizer_asan_asan__linux.cpp (new) | 18 ++++++++++++++= ++++ 2 files changed, 19 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=