From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 10FD83858D38 for ; Fri, 30 Sep 2022 09:26:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 10FD83858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28U9Dedg018420; Fri, 30 Sep 2022 09:26:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=rvfvD8KPfQl3TzuVVImdnd/OI5zhkclogrI037YGgMM=; b=gU90VGnNTCgd+tfXv80mhTHQGWOLVBA8Q+kVC995KR6JvaRPXhWP0+7XzD4xXEhZMVoY aJLTRb05WLQPqMEKknCIkPE7odDZVco1V7xa7QUI7yukWEQ1CT/9ZslTtGhWdWCimj9Y AxeYSAg+fdLQcianxHcLmkGm7QzbpzmQOr7kCFveRUHdLS2ruAflZw0sNi8rQi1Cm9WM M/biVK5qIR4xOhsNdMWiXf4jg4sw6s89nmHFbPAomKKMgAENK5IJdqi52HkZwPI58BAJ VmDHuFFVT5WVlgvd3Bx2bJW8VCuzCcoBdGqlTKd6rjbKbrJRtPdhfkcLHU7A6JNk5NTi vQ== Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3jwwmy89mc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Sep 2022 09:26:54 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 28U9LfgI018643; Fri, 30 Sep 2022 09:26:52 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04ams.nl.ibm.com with ESMTP id 3juapunhds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Sep 2022 09:26:52 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 28U9QoHv66519370 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Sep 2022 09:26:50 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EF58B52050; Fri, 30 Sep 2022 09:26:49 +0000 (GMT) Received: from [9.197.236.39] (unknown [9.197.236.39]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id C977A5204E; Fri, 30 Sep 2022 09:26:48 +0000 (GMT) Message-ID: <196abae2-10a3-6463-b3bb-66b5e583de43@linux.ibm.com> Date: Fri, 30 Sep 2022 17:26:44 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH] rs6000: Rework option -mpowerpc64 handling [PR106680] Content-Language: en-US To: Segher Boessenkool , Iain Sandoe Cc: GCC Patches References: <9d9f1f43-b528-387d-45a7-1d89400de0fc@linux.ibm.com> <5B4DCBBB-3237-4A9F-ACCA-6669DE6905B8@sandoe.co.uk> <92415AC8-4A5A-4119-BFCC-D7C66472F961@sandoe.co.uk> <5e64fed0-7e79-3d60-da62-5c2bf3e2c707@linux.ibm.com> <75315B0E-9812-4726-A7FA-57762A2E47B7@sandoe.co.uk> <20220929170437.GX25951@gate.crashing.org> <20220929183758.GB25951@gate.crashing.org> From: "Kewen.Lin" In-Reply-To: <20220929183758.GB25951@gate.crashing.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: yXCvz5ytkBd1RyQlWbFQ-YRJM5LzTU1U X-Proofpoint-GUID: yXCvz5ytkBd1RyQlWbFQ-YRJM5LzTU1U X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-30_04,2022-09-29_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 mlxlogscore=919 spamscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 adultscore=0 bulkscore=0 mlxscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209300056 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,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: Hi Segher & Iain! on 2022/9/30 02:37, Segher Boessenkool wrote: > Hi! > > On Thu, Sep 29, 2022 at 07:25:44PM +0100, Iain Sandoe wrote: >>> On 29 Sep 2022, at 18:04, Segher Boessenkool wrote: >>> On Thu, Sep 29, 2022 at 09:16:33AM +0100, Iain Sandoe wrote: >>>> Which means that we do not report an error, but a warning, and then we force 64b on (taking >>>> the user’s intention to be specified by the explicit ‘-m64’). >>> >>> And that is wrong. Any silent overriding of what the user says is bad. >> >> It is not silent - it warns and then carries on, > > Yes, but I meant the status quo. We agree :-) > >>> Not overriding it (and then later ICEing) is bad as well, so it should >>> be an error here. And in generic code anyway. >> >> As noted, if that change is made we will see what the fallout is :) > > Hopefully it magically makes everything fine ;-) Okay, if we want to unify the behavior everywhere in generic code, I'll make a separated follow-up patch for it. :) BR, Kewen