From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.smtpout.orange.fr (smtp-18.smtpout.orange.fr [80.12.242.18]) by sourceware.org (Postfix) with ESMTPS id 20F363858D28 for ; Sat, 20 Aug 2022 09:45:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 20F363858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=orange.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=orange.fr Received: from [192.168.1.17] ([83.205.188.89]) by smtp.orange.fr with ESMTPA id PL2tohHWWXaejPL2zopTPt; Sat, 20 Aug 2022 11:45:41 +0200 X-ME-Helo: [192.168.1.17] X-ME-Auth: bW9yaW4tbWlrYWVsQG9yYW5nZS5mcg== X-ME-Date: Sat, 20 Aug 2022 11:45:41 +0200 X-ME-IP: 83.205.188.89 Message-ID: <6f1d4007-34c4-088d-c0d7-9a68282fc1c4@orange.fr> Date: Sat, 20 Aug 2022 11:45:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH] fortran: Drop -static-lib{gfortran,quadmath} from f951 [PR46539] To: Jakub Jelinek , gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org References: Content-Language: fr From: Mikael Morin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2022 09:45:44 -0000 Le 20/08/2022 à 10:41, Jakub Jelinek via Fortran a écrit : > Hi! > > As discussed earlier, all other -static-lib* options are Driver only, > these 2 are Driver in common.opt and Fortran in lang.opt. > > The spec files never pass the -static-lib* options down to any compiler > (f951 etc.), so the 2 errors below are reported only when one > runs ./f951 -static-libgfortran by hand. > > The following patch just removes f951 support of these options, the > gfortran driver behavior remains as before. For other -static-lib* > option (and even these because it is never passed to f951) we never > error if we can't support those options, and e.g. Darwin is actually > able to handle those options through other means. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > OK, thanks.