From nobody Sun Nov 27 10:10:58 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 4NKkrg0576z4hSqx for ; Sun, 27 Nov 2022 10:10:59 +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 4NKkrf64Xrz4JpF for ; Sun, 27 Nov 2022 10:10:58 +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=1669543858; 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=Bn521DfJwkmvczwmjWEh9475voeHk0Qy+ja/rh/WTLo=; b=QkKKl166axTPxF1PECZHBaU5Sa7EOgw8Jsx203rSh4/UA89csVVAIWLaC+mCBqXHpCBdap T29f3XGiV0i7drJ46uS36vzH3P1YditWbeGxYmjGLXKLXitVBdfoVqszOV9Hr3YdJF/SEd HFA94EOCij9G8a0Cird0MbOr5LJagimEQ7Mi1dzm6977qLnQt/ki5DlKN2Bocz8UzGu4jE gQB6V8sTUXsgfEtXvc9G+cF0roP2RtdtOd4utb6n4ABqNQ78cKxDffjE9gyXc8XHR15Ytv blRbFoOQJS7sYMumLisNAmyGd7xsNA0wz1npG9nO3xzE41Sj3wRV1sKMyIVf3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669543858; a=rsa-sha256; cv=none; b=ISQgqvzWycd3vfdDXzf79F/uHMUWnX0zyLx9WZsnU8t/KzNJB7/pS+cBIbirmRpWp+z2Mq Sp8exJY0k1kb16rIJkqm7LFd++8wJA4xp3wLRV8xVVS2PnNBjjDY//4isiPmAMlWB4bLzF x1/rzSXC8bYSHzdyJgqboBglRp9idxyijXD2wg38DwpSDQdcMc1yrz5dou3scDodMhGshQ KKBAbpddcrxtWPD7oFYDNTsoyfjh92jPcKIUvou/IllZdi+7V/jrSzrDK55bxgQE7iDSEm FXNqwxNMTjvQ1uaF5LmX3YyHdxWo0ZzlSUlM5YzC7aSZDThDMr+0HxDZ+QCH/w== 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 4NKkrf59fVzvCq for ; Sun, 27 Nov 2022 10:10:58 +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 2ARAAwJg014543 for ; Sun, 27 Nov 2022 10:10:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ARAAw5I014542 for toolchain@FreeBSD.org; Sun, 27 Nov 2022 10:10:58 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: Sun, 27 Nov 2022 10:10:58 +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 #17 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Db185b74b28f80aa7fbeb4122a326741= 211af404d commit b185b74b28f80aa7fbeb4122a326741211af404d Author: Lorenzo Salvadore AuthorDate: 2022-11-26 20:51:57 +0000 Commit: Lorenzo Salvadore CommitDate: 2022-11-27 10:09:05 +0000 lang/gcc12-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/gcc12-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.=