From nobody Sun Nov 27 10:10:57 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 4NKkrd2y5kz4hSdk for ; Sun, 27 Nov 2022 10:10:57 +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 4NKkrd0qdDz4JrJ for ; Sun, 27 Nov 2022 10:10:57 +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=1669543857; 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=l90sbqA2dt+2v5JX07iB6WBeqbYb0Jxq+4Cpw3cp2YE=; b=iKExXXSs9ePCGVvZUlPTEqYoQ4OljnRdM4NDw16VbCxt5xFG6etl+a4WcNxrbRn90YHqBD QgycCj9GctCmi0PGKOSXTmu73/k8/uEsXMjypNRTkwbPCXqOKZRcq0esrvnJLwPhGp0FDt AjJ3Zm9Q/+wBZgiGpFQWVUycVuDm2kIMRecdIZ7Rtieqel/9mqCTaK5H/+zFresNSmkS3i AOwkwY8lluq8Q6nrgEowlfDiJvbApNyPifIWtVQ2eONTl/9KAdGC0JqbxEL3XueDuG2SyT +82fiCvBNasYbx8XffAkrGwtAtO8x99Ga1Qr++upyf18qonw+xeDM5TeEQ7vRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669543857; a=rsa-sha256; cv=none; b=TX6qr1YSMDk+giSlpZcJCAPJACUS07cQ3o4Whi2+8V68fHYUiCLngzb8+GF1VsZZ5x4tee XKntaprnBqE/3Xr5mcugKe0+onLdbxP2c7ABJoRB891K5npPyFfZeZw9rRjYOynuCT4y73 YhrWxIp8Fs39I8NnEWtSfVi/RYsNTk7ChjPNAMDOEWcSLxFjEVbGP4JRpYXX5LPhCY9Rjs VxXXkRc1W9zZkzFnI3xcfK/Y8stT8FOcAOb8j+pXOHS2IdjgNNJs1rRM12owYJLJGStFu5 y5ENLvqKk/9q7Hk934ZD4eoAb+5tLC2Ii6Z4vEE+hw1yiSFx4ziZLDMmiDfjcQ== 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 4NKkrc71xtzvKc for ; Sun, 27 Nov 2022 10:10:56 +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 2ARAAuP3014494 for ; Sun, 27 Nov 2022 10:10:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ARAAuxx014493 for toolchain@FreeBSD.org; Sun, 27 Nov 2022 10:10:56 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:57 +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 #16 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D12c4b8c968b78bcfe2532bedf26c5da= 31d75c60b commit 12c4b8c968b78bcfe2532bedf26c5da31d75c60b Author: Lorenzo Salvadore AuthorDate: 2022-11-26 20:55:26 +0000 Commit: Lorenzo Salvadore CommitDate: 2022-11-27 10:09:11 +0000 lang/gcc12-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/gcc12-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.=