From patchwork Tue Apr 18 06:30:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 84592 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2621124vqo; Mon, 17 Apr 2023 23:31:31 -0700 (PDT) X-Google-Smtp-Source: AKy350aNP4GdnwojWZ9sK6ZGMt5TjZneM/Pfvb7YgphJzWxqJHfyof2WMY5RIDglQyWz53Nb69Xj X-Received: by 2002:a17:906:4955:b0:8f4:ec13:d599 with SMTP id f21-20020a170906495500b008f4ec13d599mr10794335ejt.27.1681799491163; Mon, 17 Apr 2023 23:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681799491; cv=none; d=google.com; s=arc-20160816; b=eAmicGIeLG/sMQ6lsuQPVwX4yjonl9nn1Rnk+glhPoVnFAnkPP4mCmypbCeZe/0uZV rDIarrDB2Ny/zo9R6u8DRtOORQvxVBQ7SnVUZWpmowjLKYy/aZRWLJ+F1eupclM7uZSS VeAMQtS8vqSq/7v2iOkrv7qNcwmEO9eQNk3kh9QpI7QL/2lEzTRU4SmcPc7EmiZjHL39 0x9dtfnQq4m2cJXSrwSA3Oyn2W4vU+tFBC2MRqeXOT8RmvxMZEhIxFaDgFmOvGJKN4hD +BKDHZe2IJPxnCETbpwzdfdRJDndmb/mcAeE+D/m5YNY6w7yyu+BrGGEF1tkUB/oZfUR l0KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=t2/MrME2W8RrC/rOgV62UmQWGFpqhhNrKulbH4TPEcQ=; b=odhoXBxK09e5waJXTPszzIw/vSXjCJg7H9UbYXgbslwlzUV9esyJFfmPhRxxhGGN9X h2kavRjstRGtg2ENSElWlsK3EotfBLvO69Up+iikctjeJQobORmXlxi0SaMppolC1T+6 GwFdFdibI7xOytv+rmnQPCY0CTDPECpKBbsYefHcGIe/l2pXkIwba+NRNUly9fp8ddlv ZM0XvOAjPoHyurY0e3nQm0Ke+vm7Z+pl9Go10ralHz8QnpmA9iR2UzNTuR9rO2087TG9 vn/864b2zyCH5+JtntItvXW1rSa4R2KacyWO/DtQ+3o7Eke4t/KrOLy2ADZbi9//TP2x SRzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=HkcrrgA2; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id fm13-20020a1709072acd00b0094f0b5d04ccsi6927078ejc.592.2023.04.17.23.31.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 23:31:31 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=HkcrrgA2; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CC0E23858D32 for ; Tue, 18 Apr 2023 06:31:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC0E23858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681799489; bh=t2/MrME2W8RrC/rOgV62UmQWGFpqhhNrKulbH4TPEcQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=HkcrrgA28wKAxP+TQb7+a0gs/9hovi14uRZZqPsJkOR4/y4IRnT7kvRZHMQUCdlJX tlbY5Fq0zm/ifenB2gy7tinHVZob86XuS2SGPK8LbicrE8miqrHzjp4nTA/1FFOhXU uXaElm/u0t+/4UNJy8XqYaTia+uDL29SBKuwqUfY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by sourceware.org (Postfix) with ESMTPS id AC0F73858D1E for ; Tue, 18 Apr 2023 06:30:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AC0F73858D1E Received: by mail-wm1-x32c.google.com with SMTP id n9-20020a05600c4f8900b003f05f617f3cso20976422wmq.2 for ; Mon, 17 Apr 2023 23:30:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681799443; x=1684391443; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=t2/MrME2W8RrC/rOgV62UmQWGFpqhhNrKulbH4TPEcQ=; b=TH8JvCxgTD0gBB2WGJVqfSZaenMqAyrV2XT0GT04Td9sBQF3g6gTUHRP4A8tGqv/CD ge46HMTs7VlfFBQ/D0WxNjrbUpL0pkg3ZK5DbwLpvUP9r0ANnPwq0jzPYqFQLWPiwZJZ RiL2B5ACjSyp97UPRzFC+Ca8ZCCVZ7s+aT5JG+xocpRHMPFyqaBYi+mma9a/Ww1WZXtX cBkLxBek0IrdUtHJHpmspwSq/DoFJoDP6xkK5K44xc5OaezcfuUf7JCWGH1DrGGzUNdM 4ve3BByhIYRrQZzPdrM4A4S1InM5Et0r6l3PSIGjZ81y0WhMgKN4h7C0K3C7+Jpxl53s hiUA== X-Gm-Message-State: AAQBX9djZXYBLqVME+JJtfP+2Cav59tXrSzaeRFghC0/2w2bj/CaSeMT O1MyjthGmEKGY+DJBnRFxIRZF621FTE= X-Received: by 2002:a7b:c5d3:0:b0:3f0:7f4b:f3c0 with SMTP id n19-20020a7bc5d3000000b003f07f4bf3c0mr13556600wmk.19.1681799443211; Mon, 17 Apr 2023 23:30:43 -0700 (PDT) Received: from localhost.localdomain (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.gmail.com with ESMTPSA id c10-20020a7bc2aa000000b003f0ad8d1c69sm12721516wmk.25.2023.04.17.23.30.42 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 17 Apr 2023 23:30:42 -0700 (PDT) X-Google-Original-From: Iain Sandoe To: gcc-patches@gcc.gnu.org Subject: [pushed] libsanitizer, darwin: Unsupport Darwin >= 22 for now. Date: Tue, 18 Apr 2023 07:30:41 +0100 Message-Id: <20230418063041.2615-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.37.1 (Apple Git-137.1) MIME-Version: 1.0 X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Iain Sandoe via Gcc-patches From: Iain Sandoe Reply-To: iain@sandoe.co.uk Cc: Iain Sandoe Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763494583470568130?= X-GMAIL-MSGID: =?utf-8?q?1763494583470568130?= Tested on x86_64-darwin21,22, pushed to trunk, needed on 13.1, thanks Iain --- 8< --- The mechanism for location dyld has altered from Darwin22 since dyld is now in the shared cache. The implemented mechanism for walking the cache uses Apple Blocks which GCC does not yet support, and the fallback to the original mechanism does not work there. Until a suitable work-around can be found, unsupport Darwin22+. Signed-off-by: Iain Sandoe libsanitizer/ChangeLog: * configure.tgt: Unsupport Darwin22+ until a mechanism can be found to locate dyld in the shared cache. --- libsanitizer/configure.tgt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index 90b5eaffc48..d24566a2343 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -65,7 +65,7 @@ case "${target}" in HWASAN_SUPPORTED=yes fi ;; - x86_64-*-darwin2* | x86_64-*-darwin1[6-9]* | i?86-*-darwin1[6-8]*) + x86_64-*-darwin2[01]* | x86_64-*-darwin1[6-9]* | i?86-*-darwin1[6-8]*) TSAN_SUPPORTED=no EXTRA_CXXFLAGS="${EXTRA_CXXFLAGS} -Wl,-undefined,dynamic_lookup" ;;