From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by sourceware.org (Postfix) with ESMTPS id E501A3858D20; Thu, 6 Jul 2023 01:30:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E501A3858D20 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-oi1-x232.google.com with SMTP id 5614622812f47-39ca48cd4c6so264014b6e.0; Wed, 05 Jul 2023 18:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688607057; x=1691199057; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=DHpp6BYJQUrfuOk/QjKLgo4j8KSzP8lbh6Rnxqu5EAQ=; b=Vp/t3/6WMq1erkwDteBgE8Mf671Zb+VhUhP3VObk5nzE+vQLw+Rjb73Mp+dWHIZ4je 1kViHxzRMaSuqVE4GClKA92HHctwvoNj6UThug0MImdes/bFTw/xa6GQJyxe6PXx3S11 BnAtxzemAKZT7UlpHJKGW8AJV1AP9tVJIyCFQFa9Qvk5RXnqgRvJ8Et3ncvmz9Ld3i+h 5QMsG+Ph4YBteCzzv9bc1I5rwm09lXG/jAjoJ5Tj3XZJDve4kdC3ncCNwb47deZAIXDV t6fY0I7Xlva/LMG9UMU8sUGYVlgisOZrIxM4oS5FneZHCjkZn3g9LInn/C0L4wgO/pQF zB7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688607057; x=1691199057; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DHpp6BYJQUrfuOk/QjKLgo4j8KSzP8lbh6Rnxqu5EAQ=; b=V+4xn2A4mgIfkw99AMwahncVEJkRd2xmNX20DJA16Y7yzcLODFHI3lEp/bxFTG2qnG 8JVTHEdwYAZO2O24O1u4VkcXvExp2NPcztKWfW+Mm5ORQafMjcq4z2YOc27Uh1KjOg1h CcYweDCIyyHUp+3j63QVpKsXfL84gIv24mLaxznEpzjzODoZZHYOeDcUQDT7d6TxWZOw pAR6UAVU92ZQXUWkd3jEUgaQI3QBu3Ue9reGqrs8lOj5WDiX8ZRaWFH6hafTG9g3k4so r2Kos8NOPciPuaecRCO/IV0RnzwM+7Qj75pCZSYbLZfvniTTJMa1PWz2rSU80Ztyypkv zyuw== X-Gm-Message-State: ABy/qLaKhwG3NuUwpDn6/uprTuU0yxaa1ZFswbpLSx90jI6fZWK547da aWmFM9NVDvU/gkLuvPIA7Nd238yy8Zo= X-Google-Smtp-Source: APBJJlHxV9L/GhUo77q+Oq5quT725hWXvnVpqnr5gC2X+Ec9cr7y5hc5pEl0Ps9c2GypzQizfIusFg== X-Received: by 2002:a54:4518:0:b0:3a3:69dd:6a72 with SMTP id l24-20020a544518000000b003a369dd6a72mr194725oil.59.1688607057564; Wed, 05 Jul 2023 18:30:57 -0700 (PDT) Received: from squeak.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id d2-20020aa78142000000b00672401787c6sm139260pfn.109.2023.07.05.18.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 18:30:56 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 4AD751140AED; Thu, 6 Jul 2023 11:00:53 +0930 (ACST) Date: Thu, 6 Jul 2023 11:00:53 +0930 From: Alan Modra To: Nick Clifton Cc: binutils@sourceware.org Subject: Re: [binutils-gdb] Stop the linker's --dependency-file option from including temporary lto files. Message-ID: References: <20230628125039.3B9B43858D35@sourceware.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230628125039.3B9B43858D35@sourceware.org> X-Spam-Status: No, score=-3034.6 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 List-Id: PR 30568 * ldfile.c (ldfile_try_open_bfd): Fix build failure when !BFD_SUPPORTS_PLUGINS. diff --git a/ld/ldfile.c b/ld/ldfile.c index c8a6874978b..9d9c036dfab 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -353,7 +353,9 @@ ldfile_try_open_bfd (const char *attempt, } /* PR 30568: Do not track lto generated temporary object files. */ +#if BFD_SUPPORTS_PLUGINS if (!entry->flags.lto_output) +#endif track_dependency_files (attempt); /* Linker needs to decompress sections. */ -- Alan Modra Australia Development Lab, IBM