From nobody Sat Dec 3 17:25:11 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 4NPcBv3c11z4hv2q for ; Sat, 3 Dec 2022 17:25:11 +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 4NPcBv2W3Hz45TK for ; Sat, 3 Dec 2022 17:25:11 +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=1670088311; 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=X5AKoOMGX2pIC6OaC2yU3tYua/xiPGIoAk7N0ewrUN4=; b=auoP0v5JL8F9GnuCfiFbv4TLCAwOr6kLc1rdbni7oykKOiq9XDtlNWAxOzmPo8gkWyRBAd sEv/akRJC9goPqAm3YQfYuYO9663tZbRFGV7iB1YwhBlMVcJyLk+9IcgCjiCeksQN4DLhf 0hv70cST8orgLWRNuDRauK+jlsBLp1xEykljDko6Uftw6kPcoqgRQL2h3L8DHLvarPHfiB qMLtXG2oqxiZ9+cv2dJSQV8r+oE5LDfhwfXKA45R8nNM0nhOMQm+6+8NPfj1csxY8mkS3p NsDY9QE3dsF1cd+JaAuMz6St/6FjffXfTQzHa2+pA2iagMssEshcEA3HfVB64A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670088311; a=rsa-sha256; cv=none; b=Urwdtz+US8WiuLw5nemqzXsKbf95vCIMpNZ4/8HVJlOTkM+wiIgk3iK9eVrlB9Ofl+3LVb etK1FQ1Pl8dbZK1qgVKqtzUa3KKQEfsHeQAeecYmCSqBXt7UOunhhJhm+iSjrtTLJ8Q2VE yPGUInOtOriTgmQEMf2RWiyaLmK6OyPJ7Pf7Fm8lLC0OIrhhVuLRT2GzAaArNHxWWrGEnS 6iNtJNLJha+526ZTx19JA3CID6uNwtrkqqAEDPExmo0SApXU8/dBxQreGDuvVYanVQGlJ3 EGfLXaiZIO7weqpFoMrZYXYrwBh2ZffARPvjLD389WRTFsofCZ5T4mAoTZSiMA== 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 4NPcBv1cNlz13PM for ; Sat, 3 Dec 2022 17:25:11 +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 2B3HPBMg058787 for ; Sat, 3 Dec 2022 17:25:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B3HPB4A058786 for toolchain@FreeBSD.org; Sat, 3 Dec 2022 17:25:11 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, 03 Dec 2022 17:25:11 +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 #24 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Da051e5a32dd9b36fe2b03fe152b94ee= 2cdce4926 commit a051e5a32dd9b36fe2b03fe152b94ee2cdce4926 Author: Lorenzo Salvadore AuthorDate: 2022-11-26 22:13:47 +0000 Commit: Lorenzo Salvadore CommitDate: 2022-12-03 17:24:17 +0000 lang/gcc11: 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/gcc11/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.=