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 115AE385840C for ; Sun, 30 Oct 2022 08:26:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 115AE385840C 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 43DE0340CD2; Sun, 30 Oct 2022 08:26:40 +0000 (UTC) Date: Sun, 30 Oct 2022 12:57:18 +0545 From: Mike Frysinger To: Torbjorn SVENSSON Cc: newlib@sourceware.org Subject: Re: Generate porting.info in build tree rather than source tree Message-ID: Mail-Followup-To: Torbjorn SVENSSON , newlib@sourceware.org References: <123f7625-98be-a5ee-40c7-f743dbc326fa@foss.st.com> <407c1d77-494e-b091-3390-4e8415631056@foss.st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aJrSrW2lcJNDw1Jn" Content-Disposition: inline In-Reply-To: <407c1d77-494e-b091-3390-4e8415631056@foss.st.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --aJrSrW2lcJNDw1Jn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 29 Oct 2022 17:38, Torbjorn SVENSSON wrote: > Okay, so in that case, something changed in the newlib build process to= =20 > generate and install the porting.info file porting.info is part of libgloss, not newlib. i understand the source tarb= all is packaged overall as "newlib" so it can be a little confusing. older versions build & install porting.info if you use the install-info tar= get. but it wouldn't do it by default. > as it was not required in the=20 > Arm snapshot included in their 10.3-2021.10 release (commit=20 > 2a3a03972b35377aef8d3d52d873ac3b8fcc512c in newlib tree). >=20 > You can find the source tree of the 10.3-2021.10 release here: > https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc= -arm-none-eabi-10.3-2021.10-src.tar.bz2 i'm not super interested in random vendor drops, so i won't bother looking. > Please note that I do get porting.info, but not libc.info, libm.info or= =20 > any other .info files in my build. I suppose a build should generate all= =20 > .info files or none from the source tree? newlib calls AM_INIT_AUTOMAKE(no-installinfo). this is a holdover from when newlib was using AM_INIT_AUTOMAKE(cygnus) which implies no-installinfo. libgloss has never used cygnus nor no-installinfo with automake. but it al= so wasn't really using automake files in subdirs (like the doc/ dir). and the hand-written libgloss doc/Makefile.in didn't build+install it by default. = so when i converted it to automake, that was subtly enabled by default. imo we should have these enabled by default in newlib for libc & libm as it aligns with the GNU project standards. anyone shipping releases should have the info pages includes so end devs don't generate it themselves. if you're building from git, then having extra tools is kind of expected. -mike --aJrSrW2lcJNDw1Jn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmNeI9IACgkQQWM7n+g3 9YHqng//YaollHLngTXeNgC2U8DRfEKVTWwU1doNAm9ATft0OI+40rWT1ReklBmj GHdMiA57tZNdCJA+QkxAH0tq1dNbjkUARKwP9LOu9oYXlSwB9CX7BXzOh2tmtK4M F06v4K7n04WCJUIXILQ0FPn0uUMuXWo7se85U222Np/HvlVpe3VwNI8Tubeb528x WUBZrqrrTmmAbNWZchP0hUJ3a6KRx6x7jLd4/SYf5vdbyYcKTe4clwvoxXVKdgqD rQIXVNWRN5pQgmK3vmWoe/uBnfTO6Ge8tt1JVNHCqWm0mDUBuVfV4Pg4qR1oC67Y XocCK0f9LRMcqrtfLEYqesc2apKXWHkDC0iJCJruq0aNSnkRj5PPXRKnh/LaSSyf lWZhOebJ5tds0s2YgJZjX02lEEJdMpm3wmorK9849ni3xz/tVCRxFfQYd95iUARF 4aiUDoS+r5uyIwjQtETZAjCIsXL65YjrMAoHHeiEAn9ykuOVLkr4aq3pbnf0P33F y7wELSiOcOzOAE4mGKG98rn8X5yhgnwpJZkKxz95c4xZHwNKAdssHvJBQUAseG+z Ne7+aYI0NHEY9HGKQ1/SxWFD2ibUlF/xiP8FWg/MMCZtV7vn3U+5pB5UHFEJ9Maf 7YrIANG9RH9KIwxLVr9ROptsursE6Krkm6n+3HVnBoTndtSfK6M= =0at5 -----END PGP SIGNATURE----- --aJrSrW2lcJNDw1Jn--