From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id C75E83858D28 for ; Wed, 3 Nov 2021 16:55:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C75E83858D28 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A3FqUeI007937; Wed, 3 Nov 2021 16:55:46 GMT Received: from ppma01dal.us.ibm.com (83.d6.3fa9.ip4.static.sl-reverse.com [169.63.214.131]) by mx0b-001b2d01.pphosted.com with ESMTP id 3c3vt9tkgg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Nov 2021 16:55:46 +0000 Received: from pps.filterd (ppma01dal.us.ibm.com [127.0.0.1]) by ppma01dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1A3Gc10Y030317; Wed, 3 Nov 2021 16:55:45 GMT Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by ppma01dal.us.ibm.com with ESMTP id 3c0wpd0ftw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Nov 2021 16:55:45 +0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1A3Gth3c31981850 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Nov 2021 16:55:44 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D6BC9AE063; Wed, 3 Nov 2021 16:55:43 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9500EAE066; Wed, 3 Nov 2021 16:55:43 +0000 (GMT) Received: from lexx (unknown [9.160.166.237]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 3 Nov 2021 16:55:43 +0000 (GMT) Message-ID: <7683f58442c9296c23930476d514b713d522693f.camel@vnet.ibm.com> Subject: Re: [PATCH] sim: ppc: use silent build rules here too From: will schmidt To: Mike Frysinger Cc: gdb-patches@sourceware.org Date: Wed, 03 Nov 2021 11:55:42 -0500 In-Reply-To: References: <20211031092705.5744-1-vapier@gentoo.org> <1ea9acfe0f21e4b430867d75c8b8529b3a27d197.camel@vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-16.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: zQlHBeNdfOJR448g4XykNv8j-UhV1Vuf X-Proofpoint-GUID: zQlHBeNdfOJR448g4XykNv8j-UhV1Vuf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-03_05,2021-11-03_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 malwarescore=0 phishscore=0 adultscore=0 clxscore=1015 suspectscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111030091 X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2021 16:55:49 -0000 On Tue, 2021-11-02 at 23:07 -0400, Mike Frysinger wrote: > On 02 Nov 2021 18:58, will schmidt wrote: > > On Sun, 2021-10-31 at 05:27 -0400, Mike Frysinger via Gdb-patches > > wrote: > > > The ppc codebase is unique and doesn't leverage common/, so have > > > to > > > add silent rules to it specifically. > > > > I may have evidence to the contrary. :-) I don't see any > > changes > > here or in the recent patches that I can specifically identify as > > troublesome, but something seems fishy between sim/ppc/libsim.a and > > sim/common/libcommon.a ; I'm seeing this error during recent > > build > > attempts on ppc64le, sometime since late last week. > > this patch is unrelated to any link failures like this > > > /home/willschm/install/bin/ld: > > ../sim/ppc/libsim.a(callback.o):(.toc+0x10): undefined reference to > > `cb_init_errno_map' > > /home/willschm/install/bin/ld: > > ../sim/ppc/libsim.a(callback.o):(.toc+0x18): undefined reference to > > `cb_init_signal_map' > > /home/willschm/install/bin/ld: > > ../sim/ppc/libsim.a(callback.o):(.toc+0x20): undefined reference to > > `cb_init_open_map' > > you've removed important details from the log ... like what program > is > failing to link here ? > -mike Hi, So.. Git bisect suggests one of the other patches. I don't want to confuse the threads, so will continue to reply on this thread, will hop over to another thread if thats appropriate. :-) # first bad commit: [a7e40a99318c46ec57a9c0a64c622b6ec0ed89ff] sim: nltvals: pull target errno out into a dedicated source file The error with that patch applied is : CXXLD gdb /usr/lib64/gcc/powerpc64le-suse-linux/11/../../../../powerpc64le-suse-linux/bin/ld: ../sim/ppc/libsim.a(callback.o):(.toc+0x10): undefined reference to `cb_init_errno_map' collect2: error: ld returned 1 exit status Presumably the undefined referece to cb_init_signal_map and cb_init_open_map fall in line with these subsequent patches. 670817b94710 sim: nltvals: pull target open flags out into a dedicated source file 88c8370b25c6 sim: nltvals: pull target signal out into a dedicated source file Thanks, -Will