From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id 61A1C385B805 for ; Sat, 8 Jan 2022 16:34:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 61A1C385B805 Received: by mail-pl1-x62a.google.com with SMTP id q14so7912426plx.4 for ; Sat, 08 Jan 2022 08:34:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=a3VlCiDFHrjPu9oGgNNPqnnW81Xzfh0nKTrTAHGAx84=; b=C0TquudM69aeG9RVK+67V676HJBtAz9azLmQFb7pFw4iyoWQAJ5J0pO/LCs8EQ+6Xo RMFTUh4HgfOTGj92kmkU4g9zn66iwQXp5BDWJHPRghhhZcA9qx83YoGUETY1OHKwIpJC 3jEmxWFLHPO207nJWPv7BBmH5Ykvn9HMsmNOiU/dmWOC7c9Sm7XlqdJA6iBA89x9xls3 CnfdhV0GgzU6DA0Ls+Q/CCPDLku3CIvOuc+C0PfKejujuyaZvgrgtfasouGg3r7aaWNL wwCx592XdLa910leZ3dYAiXTJX12Epawsos2n1L5XAVcRyvjYHeHnZRy76aaVvYZNq1k 2IBg== X-Gm-Message-State: AOAM531JTZHMZEXZKyj8vOUStKpLOYV/Cu3fbPlpmHnRyWgdfwjoZ690 dfaj7oZ0/TJxWv4R/AoEU7rXbXBB5sE= X-Google-Smtp-Source: ABdhPJzbsIH9jLrDJhz4EBC3fTy4aPVhY+YAg0+VcSOcVBDc9YM1lgfLbk8otLaY5mY9qwnvathM/g== X-Received: by 2002:a17:90b:4ac6:: with SMTP id mh6mr21330377pjb.47.1641659661482; Sat, 08 Jan 2022 08:34:21 -0800 (PST) Received: from [192.168.1.15] (65-130-85-11.slkc.qwest.net. [65.130.85.11]) by smtp.gmail.com with ESMTPSA id s9sm2469459pfw.174.2022.01.08.08.34.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Jan 2022 08:34:21 -0800 (PST) Message-ID: Date: Sat, 8 Jan 2022 09:34:19 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH 1/1] [PATCH] Fix canadian compile for mingw-w64 copies the wrong dlls for mingw-w64 multilibs [PR100427] Content-Language: en-US To: NightStrike , cqwrteur Cc: GCC Patches References: From: Jeff Law In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-List-Received-Date: Sat, 08 Jan 2022 16:34:24 -0000 On 1/8/2022 2:04 AM, NightStrike via Gcc-patches wrote: > On Thu, Jan 6, 2022, 18:31 cqwrteur via Gcc-patches > wrote: > >> When building GCC hosted on windows with Canadian/native compilation >> (host==target), the build scripts in GCC would override DLLs with each >> other. For example, for MinGW-w64, 32-bit DLLs would override 64 bits >> because build scripts copy them both to /bin. >> >> This patch fixes the issue by avoiding copying DLLs with multilibs. >> However, it would still copy when we do not build multilibs, usually the >> native build for GCC on windows. >> --- >> gcc/configure | 26 ++++++++++++++++++++++++++ >> > You should probably not be modifying configure directly. Umm, the patch modifies libtool.m4 (two instances) and presumably the configure changes are just rebuilds with the autotools. jeff