From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 55FBF3858419 for ; Sat, 5 Nov 2022 08:25:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 55FBF3858419 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id C159733BEE9; Sat, 5 Nov 2022 08:25:05 +0000 (UTC) Date: Sat, 5 Nov 2022 15:25:03 +0700 From: Mike Frysinger To: Simon Marchi Cc: "Jose E. Marchesi" , "Jose E. Marchesi via Gdb-patches" , indu.bhagat@oracle.com, elena.zannoni@oracle.com Subject: Re: [Mike Frysinger] Re: [PATCH, V3 10/15] gdb: sim: buildsystem changes to accommodate libsframe Message-ID: Mail-Followup-To: Simon Marchi , "Jose E. Marchesi" , "Jose E. Marchesi via Gdb-patches" , indu.bhagat@oracle.com, elena.zannoni@oracle.com References: <87y1srrkpy.fsf@oracle.com> <87eduipx0f.fsf@oracle.com> <877d0apw9p.fsf@oracle.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DOdQ/cmoaZUWNY/7" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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: --DOdQ/cmoaZUWNY/7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 04 Nov 2022 12:04, Simon Marchi via Gdb-patches wrote: > > It may be as easy as the following, plus start referring to libraries > > like ../libbacktrace/libbacktrace.la in CLIBS, plus the bits in > > configure.ac to search and SUBST LIBTOOL, etc. > >=20 > > diff --git a/gdb/Makefile.in b/gdb/Makefile.in > > index c528ee5aa80..d554e62b698 100644 > > --- a/gdb/Makefile.in > > +++ b/gdb/Makefile.in > > @@ -146,7 +146,7 @@ MAKEHTMLFLAGS =3D > > # Set this up with gcc if you have gnu ld and the loader will print out > > # line numbers for undefined references. > > #CC_LD =3D g++ -static > > -CC_LD =3D $(CXX) $(CXX_DIALECT) > > +CC_LD =3D $(LIBTOOL) --tag=3DCC --mode=3Dlink $(CXX) $(CXX_DIALECT) >=20 > I'd be fine with that, especially if it simplifies other spots so we > don't have to do different things based on enable_static. looks like someone posted a patch back in June in https://sourceware.org/PR29372 -mike --DOdQ/cmoaZUWNY/7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmNmHd8ACgkQQWM7n+g3 9YGIcQ/9FRkxRwFtXGWj6xQ3rJy9s1saJgbeUk2AWCm77sMxuAY2nbSIzCprSVSZ vpsgQoHJZi+1Wahr4sFCvW3e2+pLkgRh0rNG6ZTaP/WC28D09Xmb63Ze33HbFsfo q4EQDfkzwwuIZUorGWEMwaQSEqmFW3TNpXfRDQmp3N9ILUYKKDSOsxANeyguWom5 h0PBiBnJX3KAda5J/58JET+U/t3QzsUBbmoWa8dijWIBzLtkVY4EG0HhkgF07Q4f fAIXCtUaCtr1NHG8X+dShsMkCyAzAWt+FvM8ov8FcABNBLdnzC5+oS9PJ+/356F8 379lEd8L2haow4nEKn5oPWP1QE22dma3gB8UybFF7lNqH8O8fqa6ACMWtzFi1ZXT 2kQteqlkGmK8hR4mtxTO/m+upjDs69A0vqpV3ej9HE9vp+8OrXXyjcVhA1RnyM4d wGakUCPGkJLAUVIhOx2+o9TaT9E81miIj3G9nMpc5PBIJY+SI1JM+QSvzL+De0tU cCPvhEhUAaUt0g7vEKavnQ9UYkvtWkMUXwMZlvEys4FE7cGgZCS5wLny/dA/iz1m 8AnAM790zf0eSeQt6vt4krBTdRYQPQDPmtKoRNa4CU2hOGgMsO/V78W3v+4cGNE3 9ohPph+PeRDQoeUeX8aYQxz+8/OUTvyU3D6l2iRvured69w3lhA= =FpvT -----END PGP SIGNATURE----- --DOdQ/cmoaZUWNY/7--