From nobody Fri Dec 15 14:04:44 2023 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 4Ss9vd413Kz52rdY for ; Fri, 15 Dec 2023 14:04:45 +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 4Ss9vd2qXzz4Kn1 for ; Fri, 15 Dec 2023 14:04:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702649085; a=rsa-sha256; cv=none; b=yWzCTMVdS0uvDmZbvJtQ4yBB7g0GTWe1oDot7Ekk3e/ycUT49RREhtGU1MffIWBpnuxd71 aGrjph0ch8cff3IbVH1c1KJU6nsrK/qdU38rCSh6lXsy1AM3rYo+gsSfiLd22gRCTjw6pj LBc+8tZCSZl1vwPvPkdVT/4hgYWIbfB6kDVH7nABTQmeudDuaOver5HUV6lVMDOEWdKjD2 2GI1kikikmhREygAiI9w0y2ZlYZIhEx6BkIfpUDSlIIgzlVtHzIXD3WR2J0F+LsyE0WmJZ 4Qi1RQkBpLJdtoBc05LATVTQt6LS6llw0ki9JZ0H8/+L/cH3oKOVOmlNPCmkmQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702649085; 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=t7KWayYoJtyt34BlO34vysL6o/2/tXVZSeJDouNm1co=; b=B5nEcqOlwGv9szAL0aF4l6XSYo06nnBiEd6XLDvd7KsosIuryyUr/5HDlhesNIUL1SE5hi xOEOjM7NCZo/K0ctiftJKYDZpz6R1X4fe+Q+EljiRUxy9J3kNCvJ1S/9bVGwdsDPeMlCfA BcjaQlOhbshjUHH9TKuoi4C3sJ5SFLO8BBEQFWMhR/CeqMJhlmyeCrcPSdKZVLviltcKfP tQ8AEaaffRk4Z5gFg83Q1dlkRMwC9Yaw+M8RAabkhoFLLR+h497ZNfC03tXOp9p85BBPV2 IVGDu/eW92gZE60X6WuitCK5zZfwKaP9YYB+O+smPYGko9jKA0tbk8tXn6sHsg== 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 4Ss9vd1tjmz1CMq for ; Fri, 15 Dec 2023 14:04:45 +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 3BFE4jQX024956 for ; Fri, 15 Dec 2023 14:04:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BFE4jXd024955 for toolchain@FreeBSD.org; Fri, 15 Dec 2023 14:04:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www 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: Fri, 15 Dec 2023 14:04:44 +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: andreast@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: cc attachments.created 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267751 Andreas Tobler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreast@FreeBSD.org --- Comment #25 from Andreas Tobler --- Created attachment 247061 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247061&action= =3Dedit Possible fix for BUS error on asan init This is a possible fix for the bus error happening on gcc-13 and up when running asan tests. (Or other binaries compiled with -fsanitize=3Daddress).= I tested it with gmake check-gcc RUNTESTFLAGS=3Dasan.exp on current gcc-13 git branch. (including the patch in FindFirstDSOCallback). There are only the known swapcontext failures. As said, a possible fix. Maybe we have to investigate more in deep. But at least it is a starting point. --=20 You are receiving this mail because: You are on the CC list for the bug.=