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 807C7395A454 for ; Fri, 16 Sep 2022 11:53:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 807C7395A454 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=1663329183; 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: in-reply-to:in-reply-to:references:references; bh=wam3mXrm9VxnpGZ4CiGOJcMq7JZ2nNxoN4MUweRXZXw=; b=IFyX4lcM+StHbiKnEGHxnqylebc9j7Lkg9UYvI1de1AMzTBJ/DeXwsutnth7UMfwnEiuP3 ZTsBkdZM9z+QgSROJWjNDrsDKfd30DspJz0Wmyv+4g+S49QtSoQFzKgJMRjPcEE8EOYzSO pFUWvMSYhYhFEJYlDdaHoiNrwAN0FBc= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-85-XnpJN6aZOeqmEdVjKDxHzw-1; Fri, 16 Sep 2022 07:53:01 -0400 X-MC-Unique: XnpJN6aZOeqmEdVjKDxHzw-1 Received: by mail-ed1-f69.google.com with SMTP id f10-20020a0564021e8a00b00451be6582d5so10993739edf.15 for ; Fri, 16 Sep 2022 04:53:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date; bh=fLN8okwKYxxtcu0T4F5y0dUeb0S1DJkGfyG1qaGk4g8=; b=KyQYQ5v4D6uWYpIzwfLirIrYlBpF+iRyXhZiaEOQ7mWt7KSG6zIgybhhgBebFuQxxZ 31wSZ48QlJuXTb2UToAeMLTHAoq5RPFj8kKjQnXnzdF3w+0RFHVGgqKzT/NHshS+j2MC h6kgOhihAb15DHjvxoyboor3sS3vZ75aj4UkLkLMXSLRylsdJgA10FQv0Rw7xwzT2f3n uCPteVCfz5ZbG1+acBKFnjf94I7kTLtqoXp1zYavEENBMvTKDCgNUF0VtG/QNUVKFgnt 49AoKP3v/Zf/NRL7WpYLwgou2VNMeKvT59WOIPMXJfG+q3VtG4+nFgmsNHKxAFNUol2s vfhg== X-Gm-Message-State: ACrzQf3yxuHK+Nmw2LM79cfzW33apvPS+taGBB8LOB8FpSKFIkVHoySN vPRTe2UviCg18+dmdGqBz6eLvGDjDwjjIAS3rxgvwu3kHB+K/hXSPrYbM2tpnIqBu3pz6Y638Z+ 7tnRt2dXUVDnyf97dfg== X-Received: by 2002:a17:906:846b:b0:77a:6e22:7311 with SMTP id hx11-20020a170906846b00b0077a6e227311mr3375815ejc.524.1663329180528; Fri, 16 Sep 2022 04:53:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7TBN5mPIjbspt24mWv+A1ZWTW/qME74YLAyZ1x2bg2ajZXnP4rG/RJekTDVLy6hDztw0vuvQ== X-Received: by 2002:a17:906:846b:b0:77a:6e22:7311 with SMTP id hx11-20020a170906846b00b0077a6e227311mr3375804ejc.524.1663329180231; Fri, 16 Sep 2022 04:53:00 -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 x17-20020a170906297100b0074136cac2e7sm10095933ejd.81.2022.09.16.04.52.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Sep 2022 04:52:59 -0700 (PDT) Message-ID: <82f812d9-5d3c-ab08-528c-61f64e7fc4e1@redhat.com> Date: Fri, 16 Sep 2022 13:52:58 +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 To: Alexandre Oliva , Iain Sandoe Cc: Joseph Myers , GCC Patches , Nathan Sidwell References: From: Jason Merrill In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/mixed; boundary="------------C6wH177EnDbH8XpCW0zPgSjh" Content-Language: en-US X-Spam-Status: No, score=-13.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,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: This is a multi-part message in MIME format. --------------C6wH177EnDbH8XpCW0zPgSjh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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? --------------C6wH177EnDbH8XpCW0zPgSjh Content-Type: text/x-patch; charset=UTF-8; name="0001-c-fix-nostdlib.patch" Content-Disposition: attachment; filename="0001-c-fix-nostdlib.patch" Content-Transfer-Encoding: base64 RnJvbSBlNjQ4ZmY1NzliYjRiNGE2OTA1NTNkNGM2ZjRhM2ExYjdmZjdhMjg3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKYXNvbiBNZXJyaWxsIDxqYXNvbkByZWRoYXQuY29tPgpEYXRl OiBGcmksIDE2IFNlcCAyMDIyIDEzOjUxOjQ5ICswMjAwClN1YmplY3Q6IFtQQVRDSF0gYysrOiBm aXggLW5vc3RkbGliKysKVG86IGdjYy1wYXRjaGVzQGdjYy5nbnUub3JnCgpnY2MvY3AvQ2hhbmdl TG9nOgoKCSogZysrc3BlYy5jYyAobGFuZ19zcGVjaWZpY19kcml2ZXIpOiBTZXQgU0tJUE9QVCBv biAtbm9zdGRsaWIrKy4KLS0tCiBnY2MvY3AvZysrc3BlYy5jYyB8IDQgKysrLQogMSBmaWxlIGNo YW5nZWQsIDMgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2djYy9j cC9nKytzcGVjLmNjIGIvZ2NjL2NwL2crK3NwZWMuY2MKaW5kZXggYjYzZDgzNTBiYTEuLjMxMzQ1 Zjc4NjllIDEwMDY0NAotLS0gYS9nY2MvY3AvZysrc3BlYy5jYworKysgYi9nY2MvY3AvZysrc3Bl Yy5jYwpAQCAtMTU4LDggKzE1OCwxMCBAQCBsYW5nX3NwZWNpZmljX2RyaXZlciAoc3RydWN0IGNs X2RlY29kZWRfb3B0aW9uICoqaW5fZGVjb2RlZF9vcHRpb25zLAogCiAgICAgICBzd2l0Y2ggKGRl Y29kZWRfb3B0aW9uc1tpXS5vcHRfaW5kZXgpCiAJewotCWNhc2UgT1BUX25vc3RkbGliOgogCWNh c2UgT1BUX25vc3RkbGliX186CisJICBhcmdzW2ldIHw9IFNLSVBPUFQ7CisJICAvKiBGQUxMVEhS VSAqLworCWNhc2UgT1BUX25vc3RkbGliOgogCWNhc2UgT1BUX25vZGVmYXVsdGxpYnM6CiAJICBs aWJyYXJ5ID0gLTE7CiAJICBicmVhazsKLS0gCjIuMzEuMQoK --------------C6wH177EnDbH8XpCW0zPgSjh--