Message ID | 20230926085228.9962-1-iain@sandoe.co.uk |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1767253vqu; Tue, 26 Sep 2023 01:53:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEp5KB25/oZliXE7/ldMUByVemLFpcNPbhvDtp3w8FAQyCSz5hMHfyMSOFSMAAvJ+8FM9kh X-Received: by 2002:a2e:854b:0:b0:2c0:c9e:e276 with SMTP id u11-20020a2e854b000000b002c00c9ee276mr8185094ljj.31.1695718387144; Tue, 26 Sep 2023 01:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695718387; cv=none; d=google.com; s=arc-20160816; b=YGgLP5Ja+o5FvAvKBETcO7UtCFUNOBe+I5fWNF7Df28Bj71swPgdDd2nPwPPxOu/M6 /rwd/zQt4RTZVpOC3yuZwQXEJI4pBjl4bjEI1m5i4ROx+OfU3rVjg8Fgx+eIFeFjGvP0 DUVa6ZXiFbwf3jVMtWfYjw/aMKCFUJfocOWO6+wiv/qg8fstQJaWpq87smt6Z9vmXA4I QwJHzO2htw0DipIQe1Xfi8mm3rtHtdErsKxHVok13VvfItTMgh/QJJEIdXfqcSgTTXKP COZvy8sM7idI3SJ8BhmDFqDJio2dhNpQFfFm9BqPNG6d4dGPzpgl5U3dsC+zaLYWbyTo fEBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :dmarc-filter:delivered-to; bh=KCrQEcDHzFBCwN3xcnJPee+CpmTvC92yOkFNXkhqNSI=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=IoBjc2gdCBgqQdCaaTzpE/5J7AHFtH++EI2Ufxgwc2UbgQSR/RJt9kas78OQxat2rz +tKZZF/i44I6IpaX5n2zkqxKz4+gyFXxj0mpZ6IQEkuaBYBPYukvIfMEsUtiIwkeCtqu Y14lYnIDoIhRAji00g29g3papjD5Xcq5xvkYt/fNbZeiav3qWvTlIizC2bh2n1jnnD15 DfDSlJXphRf1mc/6C8ohQ4cqeH+f0MyuV6lLUDO/B9I9IjktSGUvjiNypIVRb0Kt3tFM EVfoBDmOZ5ckPiUk5ifS26tOcdL7MzO4XuFeiGPYXYOpXZL1yFqotuG95gjlQvzNxWch bdjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ck/3U6XB"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id bi16-20020a170906a25000b0099e09f0a544si11449576ejb.871.2023.09.26.01.53.06 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 01:53:07 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ck/3U6XB"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 53D6C385E012 for <ouuuleilei@gmail.com>; Tue, 26 Sep 2023 08:52:56 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id B76BA385C6E2 for <gcc-patches@gcc.gnu.org>; Tue, 26 Sep 2023 08:52:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B76BA385C6E2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3231df054c4so4366559f8f.0 for <gcc-patches@gcc.gnu.org>; Tue, 26 Sep 2023 01:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695718350; x=1696323150; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=KCrQEcDHzFBCwN3xcnJPee+CpmTvC92yOkFNXkhqNSI=; b=ck/3U6XBKuZLC0tRCs40iDCo3NkCAKmH4W1yBBvl9R1P5iLt1z0D+RnnEPVUMbUg2v r7N7a9ZAplrHRn7Qts/KVOkNJIxcOZ0tSF/UrudAH4d1f/GTylaWb/9SZCEdMcvlzd99 mTE1D6roQGT43FEcHxr2f+MIjZqoQqCmGVb7lQ/HL0vO2Y+w5YxaqBbRGaozz8BWe1j3 2f50Z0bQarebBWzxM+Bzfhq1viZSOFWKRAu7/3yF/e9GbgyjJ8CO2vSsY9T4NSYxFguJ eu1WC8s25zRrA8FcuDsdMkRaQPiGdgqYEarl75Vcyw8cjrHHuLFgrsrAj1fM80cZLCTK 5Ubw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695718350; x=1696323150; 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=KCrQEcDHzFBCwN3xcnJPee+CpmTvC92yOkFNXkhqNSI=; b=VqSVAm4xQYDdXUf8lHsKhjnDMyiTlqHZrRgH0f4u3Flkft5RP2lvCOElrqI6XERygW vQWOTRWHkMT8mjbBhErtavA/uz8BHLAkgw3d1jB96R341vhcd7VZFL82Vr88ub9PBQiL 1zPTcBQkXv3kSxQKGAd4gfC6iazenIQWxmjI/sGG06sDEynH5RnyycF06rBZzsKpZqFp RZVCcdSSm3Lm8dCPJT0MBBaxP1r1mbTZoN7Upun0/HLHLRyLIT2msxGM9nvcUKborba3 EUKfiV1Fg4Aa5+aKKitkIt+J46tpOS0P82QS7Jna7R6NFBWlhdyfVhqFToPR4xfcWQfj rYBw== X-Gm-Message-State: AOJu0YzFnFd9+0fDJ4nAJaYJtsITS7PIbSHpVL+LiaYMUbbSP3DjKYea jfdgU/zrNfvgvF5pDpORZezbXMv3/0Q= X-Received: by 2002:adf:fcc5:0:b0:320:b2a:4ea6 with SMTP id f5-20020adffcc5000000b003200b2a4ea6mr8962485wrs.9.1695718350179; Tue, 26 Sep 2023 01:52:30 -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 c4-20020adfc044000000b003231a0ca5ebsm8515999wrf.49.2023.09.26.01.52.29 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 26 Sep 2023 01:52:29 -0700 (PDT) From: Iain Sandoe <iains.gcc@gmail.com> X-Google-Original-From: Iain Sandoe <iain@sandoe.co.uk> To: gcc-patches@gcc.gnu.org Subject: [pushed] Darwin: Handle -dynamiclib on cc1 lines. Date: Tue, 26 Sep 2023 09:52:28 +0100 Message-Id: <20230926085228.9962-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.39.2 (Apple Git-143) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.4 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 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.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Reply-To: iain@sandoe.co.uk Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778089603245482978 X-GMAIL-MSGID: 1778089603245482978 |
Series |
[pushed] Darwin: Handle -dynamiclib on cc1 lines.
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Iain Sandoe
Sept. 26, 2023, 8:52 a.m. UTC
Tested on x86_64-darwin21, pushed to trunk, thanks
Iain
--- 8< ---
The changes of r14-4172 missed a case where we accept -dynamiclib on the
command line and then pass it to cc1 (which does not accept it).
This prunes the -dynamiclib from cc1 lines.
gcc/ChangeLog:
* config/darwin.h (DARWIN_CC1_SPEC): Remove -dynamiclib.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
---
gcc/config/darwin.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 61e46f76b22..2ee66c1a3d1 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -307,7 +307,7 @@ extern GTY(()) int darwin_ms_struct; %:version-compare(>= 10.7 mmacosx-version-min= -no_pie) }" #define DARWIN_CC1_SPEC \ - "%<dynamic %<force_cpusubtype_ALL %<multiply_defined* " + "%<dynamic %<force_cpusubtype_ALL %<multiply_defined* %<dynamiclib" #define SUBSUBTARGET_OVERRIDE_OPTIONS \ do { \