From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id A90ED396D80B for ; Fri, 16 Sep 2022 11:54:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A90ED396D80B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663329241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xE7eFkbPd9fXIprQ5qwOjV7Vhx3G35TVK6LPl/g6cqo=; b=iE2MAzcbqrGWrTD5gGaUfBjlHE4DJSAB+Yn6anhzbmaopm9TCDUmaC9s1odlNzvl/gbYf5 1D1Tz1ISarpUM9F2E6kuQ9Aqatn6XcsPUYRWJWug4sbFqCgqwTM1C41vt78wJY3ML1NFOY i5iWj0XJojvNwjAczTkGK+hqoAjHflU= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-63-QmOnh7VvP6Wwz1PHTtSerA-1; Fri, 16 Sep 2022 07:54:00 -0400 X-MC-Unique: QmOnh7VvP6Wwz1PHTtSerA-1 Received: by mail-ej1-f70.google.com with SMTP id oz30-20020a1709077d9e00b0077239b6a915so9015003ejc.11 for ; Fri, 16 Sep 2022 04:54:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=xE7eFkbPd9fXIprQ5qwOjV7Vhx3G35TVK6LPl/g6cqo=; b=lgELuTWN0h5TKkN+SeE2Gc1uXjQffAkldZ8cLkD2GIy7hA5DcEhoa12UFquIgvQtUd lBKdOCmUSeeYCDfyNMsBRDuhk9g9Zv7QVNDwuLMuKCQNj4aNKWiiNtpk5d1QTWNaPpJh f53RTys0BRVm+EC0INq/Qy97ruycQ1oGNo3rBp8m2kP7Anqu/MghkQVptOcrw09eiAf7 MrVIsOOPkDOYqAym37xSYVPrV/AlvgKDEkyV//Z6SofpnPyqr4Onh4BqMH/4UZrVJQ4h prpNFuIgAA0t+TTxRGZyYSafydZimwrt8HsGxIk4iav8xHZmNScg0FxvmQ2TPp7At7SQ lrNA== X-Gm-Message-State: ACrzQf3wVhK2hR86lBzyV2J27kDoXFkUYC2KgwN3p1nDrvnxw7X8rwT8 QlBHI2eEjcrzOmHrr5zgc3tlxrMbrGh8nreMfv6Q8FFe0sh1AjXgFaIE4uxKQU5uEUSi7P4B4wJ EWqbZI7x+XnoYMvAUNQ== X-Received: by 2002:aa7:cdc8:0:b0:451:e570:882c with SMTP id h8-20020aa7cdc8000000b00451e570882cmr3675387edw.334.1663329239232; Fri, 16 Sep 2022 04:53:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM73dgLQfKWfutheSYAg96ykAVVVfXQ+xMWb/oQSdOQABqBz+wnXNqsxAw9pqg7M0TADCl8ftg== X-Received: by 2002:aa7:cdc8:0:b0:451:e570:882c with SMTP id h8-20020aa7cdc8000000b00451e570882cmr3675373edw.334.1663329239006; Fri, 16 Sep 2022 04:53:59 -0700 (PDT) Received: from [10.9.7.96] (vpn-konference.ms.mff.cuni.cz. [195.113.20.101]) by smtp.gmail.com with ESMTPSA id k14-20020a170906a38e00b0078009d3e0b8sm4825477ejz.52.2022.09.16.04.53.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Sep 2022 04:53:58 -0700 (PDT) Message-ID: <6923afb0-d4eb-2714-e74f-30c9672427a9@redhat.com> Date: Fri, 16 Sep 2022 13:53:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH] Introduce -nolibstdc++ option From: Jason Merrill To: Alexandre Oliva , Iain Sandoe Cc: Joseph Myers , GCC Patches , Nathan Sidwell References: <82f812d9-5d3c-ab08-528c-61f64e7fc4e1@redhat.com> In-Reply-To: <82f812d9-5d3c-ab08-528c-61f64e7fc4e1@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,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 List-Id: On 9/16/22 07:52, Jason Merrill wrote: > On 6/24/22 01:23, Alexandre Oliva via Gcc-patches wrote: >> On Jun 23, 2022, Alexandre Oliva wrote: >> >>> Here's the patch.  Regstrapped on x86_64-linux-gnu, also tested with a >>> cross to aarch64-rtems6.  Ok to install? >> >>> Introduce -nostdlib++ option >> >> Uhh, I went ahead and installed this.  The earlier patch was approved if >> nobody objected, and so, having overcome the objection to the option >> spelling, it ended up in my "approved" patchset. >> >> In case there are objections to it, please let me know, and I'll revert >> it promptly, but I guess it makes little sense to revert it on the odd >> change that someone does.  Thanks for your understanding. > > I'm getting failures from pure-virtual1.C with > > xg++: error: unrecognized command-line option '-nostdlib++' > > I guess that's because it isn't handled by the specs in the way nostdlib > and nodefautlibs are.  Maybe the solution is to set SKIPOPT in the driver? > > Are you not seeing this problem? Now of course I notice that it's been months since you installed the patch, I wonder what broke it...