From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 94FE33858D20 for ; Mon, 7 Feb 2022 12:45:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 94FE33858D20 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 DF93D342F6D; Mon, 7 Feb 2022 12:45:44 +0000 (UTC) Date: Mon, 7 Feb 2022 07:45:46 -0500 From: Mike Frysinger To: newlib@sourceware.org Subject: Re: [PATCH 0/5] start converting libgloss to non-recursive automake Message-ID: Mail-Followup-To: newlib@sourceware.org References: <20220205054656.11443-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bwKiIpBUEDVn23/c" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2022 12:45:47 -0000 --bwKiIpBUEDVn23/c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 07 Feb 2022 12:36, Corinna Vinschen wrote: > On Feb 5 00:46, Mike Frysinger wrote: > > This converts the top-level to automake, and then cuts a few subdirs ov= er > > to non-recursive automake. I didn't cut all the subdirs over to automa= ke, > > but should be easy to convert more over. > >=20 > > Mike Frysinger (5): > > libgloss: convert top level to automake > > libgloss: merge doc into top-level Makefile > > libgloss: merge libgloss into top-level Makefile > > libgloss: merge iq2000 into top-level Makefile > > libgloss: merge bfin into top-level Makefile >=20 > $ autoreconf > configure.ac:46: warning: macro 'AM_ENABLE_MULTILIB' not found in library > configure.ac:31: warning: macro 'AM_ENABLE_MULTILIB' not found in library > [...] >=20 > Problem? A dependency to another not yet applied patch? this isn't new behavior. although i understand the mismatch in expectation= s. if you run `autoreconf` in libgloss/ today, you will see these same warning= s. it's because the only way to have aclocal search extra dirs for m4 macros is either pass the -I flags to autoreconf directly, or have a Makefile.am with ACLOCAL_AMFLAGS set in it (which autoreconf extracts and passes to aclocal). w/out automake, ACLOCAL_AMFLAGS doesn't work, so you have to add all the -I flags yourself with absolute paths: $ autoreconf -I $PWD -I $PWD/.. -I $PWD/../config yes, i'm converting the top-level to automake, so the ACLOCAL_AMFLAGS are picked up from there, but that's only the top-level. autoreconf will go into each subdir and run autoreconf in there, and that's where these are coming from. once all the subdirs convert over to automake, then you can go back to running plain `autoreconf` and it'll all just work for you. if you run `autoreconf -v`, it's a little more obvious that it's coming =66rom the subdirs as it'll show: autoreconf-2.69: configure.ac: adding subdirectory aarch64 to autoreconf autoreconf-2.69: Entering directory `aarch64' autoreconf-2.69: running: aclocal configure.ac:46: warning: macro 'AM_ENABLE_MULTILIB' not found in library -mike --bwKiIpBUEDVn23/c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmIBFHoACgkQQWM7n+g3 9YGGqhAA2qlDnBuRKoAoRjGetL4XU5n2+x5J1yeJYUdiAHGwfI/GMgt0pVW33FpN qlewJ8E0uzclr9ZE27piOJOBEL/6bULWAZWXeBiJO/N/hwg9TKzexPJ26SaE1UK/ z1eVVM+7FtpwrQR8NiRrVwycuMjIYh/8v9g4TLApk96oNzbYpb2/R5/eN1m7NY96 7aNQ82JJJnBhN9UpxuRnrjurUtCOAP2QcYTa3FwqcIkWWwc4qqxpydZfYtjD6MV3 hw8g5cQOC3orCy0qhJbqNZPGb0sgQa94pc+yoWsB4Su8n+QIgn5lOeKNhb+l/SGT qyNOlWG/y/yCGm/CIhYszVa47EiazIbZ5F0igllK9uteGqTdwcJiAOnxZVc/5Drl BIKOhe2x8jOpkwtXVrkOz19SHzygDIV5GNHt4prNHMENctvQfJwunKKYiw5wK4bG GbW4BwWjoNwNXCt4VLfWtGg+DydGwKENOGN/aCZLpi9ZzmRpq4/QyOteLEi26bNE l73CgRbMf+6KLh0N4MFU7TCYKkG1F/1yFtd37EyNAWivQVfT8ucqnVkO06lGXe0f qXEAaimVY9rYRP0Jn3uAX6nenOdKSXaCCBMBaTFr8Navj2U7rRbKt3Lo+6J0soE0 u87oSycudEPul8rs7bC8wEeWzpqU879x2H22L/CCoCZkOCIj+8Q= =dJZT -----END PGP SIGNATURE----- --bwKiIpBUEDVn23/c--