From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id kJ3pCKWugmEDRwAAWB0awg (envelope-from ) for ; Wed, 03 Nov 2021 11:45:41 -0400 Received: by simark.ca (Postfix, from userid 112) id 1478D1F0C1; Wed, 3 Nov 2021 11:45:41 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 19D351EDDB for ; Wed, 3 Nov 2021 11:45:40 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CFEA13858419 for ; Wed, 3 Nov 2021 15:45:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFEA13858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1635954338; bh=QBDZ8aiN63gXrKAlsKg7CUkgFJzlSI/+q2tpDyN9QcQ=; h=Subject:To:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=RYXRbS5ZY1Qi+EicBupKGRcDi4ODEMyaiMFihfDlcG9O43GbBnScM+okuXmIacURW aUCDmhztl4UBrjLKncZ3yWqdJyYPy0SwjchyzvRXQpDrvnqnrGofUCp1ZVzBDTwUAt vrVrfgMipi7gLOvIU+31iqIYh7jd4Q3/tmHfnnco= Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 5CD113858013 for ; Wed, 3 Nov 2021 15:38:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5CD113858013 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A3FToNx012398; Wed, 3 Nov 2021 15:38:52 GMT Received: from ppma01dal.us.ibm.com (83.d6.3fa9.ip4.static.sl-reverse.com [169.63.214.131]) by mx0a-001b2d01.pphosted.com with ESMTP id 3c3vsygra0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Nov 2021 15:38:52 +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 1A3FO0KP021081; Wed, 3 Nov 2021 15:38:51 GMT Received: from b03cxnp07028.gho.boulder.ibm.com (b03cxnp07028.gho.boulder.ibm.com [9.17.130.15]) by ppma01dal.us.ibm.com with ESMTP id 3c0wpcxgv5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Nov 2021 15:38:51 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1A3Fcm8t32178708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Nov 2021 15:38:48 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7835A6A04D; Wed, 3 Nov 2021 15:38:48 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0ECD16A047; Wed, 3 Nov 2021 15:38:47 +0000 (GMT) Received: from lexx (unknown [9.160.166.237]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Wed, 3 Nov 2021 15:38:47 +0000 (GMT) Message-ID: Subject: Re: [PATCH] sim: ppc: use silent build rules here too To: Mike Frysinger Date: Wed, 03 Nov 2021 10:38:47 -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-GUID: ZYglB9ADxBpkoODwEv_mujS92eo5jZv2 X-Proofpoint-ORIG-GUID: ZYglB9ADxBpkoODwEv_mujS92eo5jZv2 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 mlxlogscore=999 mlxscore=0 impostorscore=0 malwarescore=0 adultscore=0 bulkscore=0 suspectscore=0 phishscore=0 priorityscore=1501 spamscore=0 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111030089 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: , From: will schmidt via Gdb-patches Reply-To: will schmidt Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" 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 Hi, Agree.. I don't see anything obvious. Just the combination of sim and ppc and common catch my eye and seem to be the involved pieces. A bit more below. > > > /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 GDB itself, in this case. I respun without my local patches this morning, and still see an issue. More context around the error is below. I plan to bisect back in time a bit to confirm when this was introduced. I believe recently, but can't prove it. :-) Thanks, -Will --><-- $> make ... make[3]: Entering directory '/home/willschm/gdb_builds/gdb/sim' Making all in ppc make[4]: Entering directory '/home/willschm/gdb_builds/gdb/sim/ppc' make[4]: Leaving directory '/home/willschm/gdb_builds/gdb/sim/ppc' make[4]: Entering directory '/home/willschm/gdb_builds/gdb/sim' make[4]: Leaving directory '/home/willschm/gdb_builds/gdb/sim' make[3]: Leaving directory '/home/willschm/gdb_builds/gdb/sim' make[2]: Leaving directory '/home/willschm/gdb_builds/gdb/sim' make[2]: Entering directory '/home/willschm/gdb_builds/gdb/gdbsupport' make all-am make[3]: Entering directory '/home/willschm/gdb_builds/gdb/gdbsupport' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/willschm/gdb_builds/gdb/gdbsupport' make[2]: Leaving directory '/home/willschm/gdb_builds/gdb/gdbsupport' make[2]: Entering directory '/home/willschm/gdb_builds/gdb/gdbserver' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/willschm/gdb_builds/gdb/gdbserver' make[2]: Entering directory '/home/willschm/gdb_builds/gdb/gdb' 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' /usr/lib64/gcc/powerpc64le-suse-linux/11/../../../../powerpc64le-suse-linux/bin/ld: ../sim/ppc/libsim.a(callback.o):(.toc+0x18): undefined reference to `cb_init_signal_map' /usr/lib64/gcc/powerpc64le-suse-linux/11/../../../../powerpc64le-suse-linux/bin/ld: ../sim/ppc/libsim.a(callback.o):(.toc+0x20): undefined reference to `cb_init_open_map' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1904: gdb] Error 1 make[2]: Leaving directory '/home/willschm/gdb_builds/gdb.ltcd97-lp4.le.Nov03_2021_0940/gdb' make[1]: *** [Makefile:12064: all-gdb] Error 2 make[1]: Leaving directory '/home/willschm/gdb_builds/gdb.ltcd97-lp4.le.Nov03_2021_0940' make: *** [Makefile:903: all] Error 2