From nobody Sat Nov 26 15:05: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 4NKFQb4C07z4jYss for ; Sat, 26 Nov 2022 15:05: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 4NKFQb3491z3mq0 for ; Sat, 26 Nov 2022 15:05: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=1669475111; 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=eIzfiGNXK2ftlZDAwknc12QzBI1B9iA0KObAHf5a7lQ=; b=oAlDkhhZuvBPQLJoUA91AWEIUIlgeOc76Fnj71x+4duuEhTvHmrE0/BgWt/Yy6SiDMAxeh vEwliApNW0A2vSdN16Tq5lkCHLpcUysm3Z5O7zYjESaOF6F6oOSycLG+O73R1PNED3L+Uf B6QdpV/Ul50sZ90xh8okH9FHTtWGyKeilvgWvw1cl1/X8woiWlIJuzUkTYVr21XNkfA13y Mjhx4+Fo6EqWRRliS93XxsEj2JxurWC8m6pA/OYb0kUKKOyp4dfjGjy2j56vCvq4AxPYpp XEBSYy5711dTvd/AtDNVktHxG5+WFbwWllJ7jTS04bBHdSY/mpXQRaSGh9ybFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669475111; a=rsa-sha256; cv=none; b=nvC6wMRHNr9MUFubmQccwzFposlYNQPmPU3LS8Ee6xac5ydWcG+bdwhH2lf1BUystW/NNd 6PA7vAlOz4+wNGs313uxPjLAbQRNcgsYD8gp9e/BNvrhsqJhCdNpNTj5fkjfIwsaqF96XS FnD4REMctxD5OgSzwpggb0Cwu5UMtGGkBP9/eXnosUjSbiy8zwdIGkXOihuTVBOsS+hmcH 0cfUnIbCgrX8zBOKfJcmqlfbSjZyHgNkS4qbMVJ3aeNkggMBXxQ9misWkxKINTwuWLO9nQ IBy3ITQYBEXjh27Fm967hMSn2lox0MEg6oooi91pqXhP5srDLTDvoDVINg6FGg== 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 4NKFQb28CCzNy5 for ; Sat, 26 Nov 2022 15:05: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 2AQF5Bo1083181 for ; Sat, 26 Nov 2022 15:05:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AQF5BLX083180 for toolchain@FreeBSD.org; Sat, 26 Nov 2022 15:05: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, 26 Nov 2022 15:05: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 #13 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D2b4f6e6f7a0b36f4592dc0058e12f55= b668d6be2 commit 2b4f6e6f7a0b36f4592dc0058e12f55b668d6be2 Author: Lorenzo Salvadore AuthorDate: 2022-11-25 22:52:13 +0000 Commit: Lorenzo Salvadore CommitDate: 2022-11-26 15:02:45 +0000 lang/gcc11-devel: 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-devel/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.=