From nobody Wed Nov 30 12:54:18 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 4NMfKk4b3Rz4fw5R for ; Wed, 30 Nov 2022 12:54:18 +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 4NMfKk3Thnz3P8l for ; Wed, 30 Nov 2022 12:54:18 +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=1669812858; 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=9NVf8zul7TJ1CWE4yVtAZoe37DK0yY/Qh3iM+sCVL20=; b=WPU/PenkTTEMQgK+f2jOPJS4GIAWlZhapokB2h8A52iLK56LHaGYzc+G6cYgBciS0ljMeU vbN4VVvjc/JXRFQ7tKMNJ91GsiohmiOrNy67Lzum08LEnMwEKKMk/13WPev5lQgtr15Ura 32WpnuciJFq/Ez1sFUISsPuS8VmSg4q7gFU8OrChG+vVcXRb1sHmgoa8PRpcZWKmqYml4R IGHBxXdFtYzv3lWLm/mGKtTWPRcRYxGmBkRfttxCK+BzmOXXM5KEfYrJeK2QRMzPIiV+Br +izvc5kQkoXDPTwehw3WVK437TeuM2PiGxIV5fs/D8ZXHlwVygD6V9KynqmgqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669812858; a=rsa-sha256; cv=none; b=npZAwvdOh7wYP2XXw6H2fxq/KdLbd9eykBQ3fXf/EVojJgU2JR8fqAC6XtkO6XfLNavP8X 8jVsLG4S1Bz/IfFP1OmWiPc0Ds9FeSRJrgCPGT3AoKYONhts7a8LhUrb3SnbIyC285RG8P 8H2bhSGuLgoX0BYeYHOouvppRpD1CsrpsewHr4rodneFnuhmiWV88/rOwsEmNVItB8xyrB 1c9uvfeX29lB1IZaWtDfCrzudglBUCDIxCedcNJX7pyIRbR/cy0hi3kvlSRFnxXQCihT3y V/5K7oOz3RUjWoXc39kfUFqqKF4spgMLCxuhPRttDaBHJ573BlBNzW3p4rYQtQ== 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 4NMfKk2HSNzxdW for ; Wed, 30 Nov 2022 12:54:18 +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 2AUCsIpg067713 for ; Wed, 30 Nov 2022 12:54:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AUCsIbc067712 for toolchain@FreeBSD.org; Wed, 30 Nov 2022 12:54:18 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:18 +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 #20 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dd187c559f003650fe5eb4b9bcdc499f= 623d3b4a3 commit d187c559f003650fe5eb4b9bcdc499f623d3b4a3 Author: Lorenzo Salvadore AuthorDate: 2022-11-26 22:04:19 +0000 Commit: Lorenzo Salvadore CommitDate: 2022-11-30 12:52:57 +0000 lang/gcc12: Re-execute program with ASLR disabled when necessary Software compiled with -fsanitize=3Daddress needs ASLR to be disabled to run successfully. Add patches taken from the commits listed below that improve ASLR detection and re-execute the program with ASLR disabled if necessary. =20=20=20 https://cgit.freebsd.org/src/commit/?id=3D7cafe89f9ce33effe6e471b185339d413= da1ca46 =20=20=20 https://cgit.freebsd.org/src/commit/?id=3D930a7c2ac67e1e8e511aa1d0a31a16c63= 2060ebb =20=20=20 https://cgit.freebsd.org/src/commit/?id=3D96fe7c8ab0f65cf829619abd74ae6c126= b21e15f PR: 267751 lang/gcc12/Makefile | 2 +- ...er_sanitizer__common_sanitizer__linux.cpp (new) | 61 ++++++++++++++++++= ++++ ...zer__common_sanitizer__linux__libcdep.cpp (new) | 32 ++++++++++++ 3 files changed, 94 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=