From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by sourceware.org (Postfix) with ESMTPS id 3E1DC3858C66 for ; Tue, 26 Sep 2023 21:52:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E1DC3858C66 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aarsen.me Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4RwD3v0hlcz9sVy; Tue, 26 Sep 2023 23:52:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1695765131; 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=6q77fHoLikfjHH95ey/5ejKk6Xh/TsBgYF41LM5M9KI=; b=Uzgqr/5Loje9JPUGW3qIoJ49U4KZZJS4y+6z/Zd8KZi5e921HZ0GAvK872/DnNPM5i2h1n MnUP8rYjFoZj0Tx4BfHNCFi79vQtbkinLmo5gBtSFVZhJa3z3+jVOIMZC5aybxIbNe0yjr uA2/WQIoHQ7dZAYxfnYYv77c+MblXAHqyP/JjWiIu0tSH22C3rahU0Z3zp52rT7rfjgsH/ ooBdpRvfgDZOWRHnGoTRiUjnJAI80b1UlE1VkHP90B968Ut+MNnsIg9M8aOaNXio89LWrI Np83g4idCrGqPWX9WejcvDFBbWda2axpOWdIf9njxvAwCWTW+gwU0w0AMxcrbw== References: From: Arsen =?utf-8?Q?Arsenovi=C4=87?= To: jacob navia Cc: binutils@sourceware.org Subject: Re: Trying to install binutils-gdb Date: Tue, 26 Sep 2023 23:49:24 +0200 In-reply-to: Message-ID: <86cyy4r4af.fsf@aarsen.me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_LOW,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: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable jacob navia writes: > Hi > I downloaded the new version of binutils. > > To my surprise, it doesn=E2=80=99t work any more, failing with a message = that I should get the GMP package. > > OK. Tried to download GMP. To my surprise, it isn=E2=80=99t a simple tar = ball any > more. To get the files you need to install a thing called =C2=AB mercuria= l =C2=BB first. It is. In fact, that is the first link on the GMP page under Download. https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz > OK, tried to download =C2=AB mercurial =C2=BB since GMP can=E2=80=99t use= git as almost everybody > else does, or at least provide a git version. You have to get =C2=AB merc= urial =C2=BB. > > OK, that did work, and after typing =C2=AB hg clone=E2=80=A6 etc =C2=BB I= got at last a version > of GMP. There is no configure nor Makefile. You have to run a script call= ed > ".bootstrap =C2=BB. Yes, with a dot as first character so =C2=AB ls =C2= =BB doesn=E2=80=99t see it. > > The doc in GMP site says: > Once you have your own repository, you need to generate some build > files. Perhaps the script .bootstrap works out-of-the box; if it doesn't,= you > need to install automake (at least version 1.11.6) and autoconf (at least > version 2.59) and then try .bootstrap again. You may safely ignore the 4 = lines > of warnings from libtoolize. > > Do not use autoreconf; it will overwrite config.guess which in turn will = cause any builds to be awful. > > OK, I started =C2=AB .bootstrap =C2=BB and obtained: > ./.bootstrap: 7: autoreconf: not found > cp: cannot stat 'ltmain.sh': No such file or directory > rm: cannot remove 'ltmain.sh': No such file or directory > mv: cannot stat 'foo': No such file or directory > cp: cannot stat 'ylwrap': No such file or directory > rm: cannot remove 'ylwrap': No such file or directory > mv: cannot stat 'foo': No such file or directory > cp: cannot stat 'install-sh': No such file or directory > rm: cannot remove 'install-sh': No such file or directory > mv: cannot stat 'foo': No such file or directory > cp: cannot stat 'missing': No such file or directory > rm: cannot remove 'missing': No such file or directory > mv: cannot stat 'foo': No such file or directory > cp: cannot stat 'test-driver': No such file or directory > rm: cannot remove 'test-driver': No such file or directory > mv: cannot stat 'foo': No such file or directory > > I do not understand why they do not want us to use autoreconf and the fir= st > thing that THEIR script does is=E2=80=A6 to call =C2=AB autoreconf =C2=BB= . Luckily it wasn=E2=80=99t > found! > Now I have to download automake and autoconf. Just like that. > > Why do I need to do all this just to compile binutils? Can=E2=80=99t this > complexifying stop somewhere? Why binutils needs GMP now??? They don't. I'm not sure where you got that. GDB requires GMP, though. I assume you downloaded a distribution that contains both Binutils and GDB. You can pass --disable-gdb. > And if that is necessary, why can=E2=80=99t we get some version of GMP th= at ships with > the source of binutils WITHOUT requiring that all users of binutils downl= oad > mercurial, automake and autoconf??? > > Why can=E2=80=99t we keep things simple? > > Here are the first 7 lines of the .bootstrap shell script > 1 #! /bin/sh=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 > 2=20 > 3 # We need to remove the "cache", else things are not regenerated prop= erly > 4 rm -rf autom4te.cache > 5=20 > 6 # for warnings, add: -v -W all > 7 autoreconf -i -s > > So, they tell people not to use autoreconf??? Due to the cache workaround, presumably. > Well all this things aren=E2=80=99t important, just a decision (that is n= owhere > explained or justified) that makes everything more complicated for everyo= ne. > > Jacob Hope that helps, have a lovely day. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZRNSiF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTwQ0BAJV6EpLAyVeW/3w1impbymgI/NLltc3XMIyr MxyQvS8WAP9DK2xArUnx9XhJn909IGVc9Iv/xbuPeKopY9a+1+omAw== =KJhW -----END PGP SIGNATURE----- --=-=-=--