Re: uninorm/composition.c:75:22: runtime error

2022-03-13 Thread Paul Eggert
On 3/13/22 00:04, Simon Josefsson wrote: Reading the ideas in your responses, I think gnulib could help developers to use ASan/UBSan in their project by assisting with these choices. I'll see if I can come up with anything that is generally useful, once I get a couple of projects to build and se

Re: adapting relocatable-prog to non-recursive make

2022-03-13 Thread Ben Pfaff
On Sun, Mar 13, 2022 at 3:44 PM Bruno Haible wrote: > > Hi Ben, > > > When I try to use the Gnulib relocatable-prog module with a program > > that has an uninstall-hook, Automake gives a warning like this: > > > > po/automake.mk:97: warning: uninstall-hook was already defined in > > condition RELO

Re: adapting relocatable-prog to non-recursive make

2022-03-13 Thread Bruno Haible
Hi Ben, > When I try to use the Gnulib relocatable-prog module with a program > that has an uninstall-hook, Automake gives a warning like this: > > po/automake.mk:97: warning: uninstall-hook was already defined in > condition RELOCATABLE_VIA_WRAPPER, which is included in condition TRUE > ... > Ma

[PATCH] NEWS: Document Automake 1.14 requirement here too.

2022-03-13 Thread Ben Pfaff
It had been documented there before for the Automake 1.11 requirement. * NEWS: Mention the change. --- ChangeLog | 6 ++ NEWS | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index dcdb38f8c8..0586a854d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2

adapting relocatable-prog to non-recursive make

2022-03-13 Thread Ben Pfaff
When I try to use the Gnulib relocatable-prog module with a program that has an uninstall-hook, Automake gives a warning like this: po/automake.mk:97: warning: uninstall-hook was already defined in condition RELOCATABLE_VIA_WRAPPER, which is included in condition TRUE ... Makefile.am:84: 'po/aut

Re: Problem using library-specific CPPFLAGS with new --automake-subdir option

2022-03-13 Thread Bruno Haible
Hi John, > In the Octave sources, we limit the direct use of gnulib header files to > one convenience library so we add > >-Ilibgnu -I$(srcdir)/libgnu > > to one library-specific CPPFLAGS variable, > %canon_reldir%_libwrappers_la_CPPFLAGS. We don't want to add them to > AM_CPPFLAGS and h

Re: [PATCH] sigsegv: Fix build on ppc/musl

2022-03-13 Thread Khem Raj
On Sun, Mar 13, 2022 at 9:14 AM Sam wrote: > > > > > On 13 Mar 2022, at 14:17, Bruno Haible wrote: > > > > Eric Blake wrote: > >> On Wed, Mar 09, 2022 at 11:37:14PM -0800, Khem Raj wrote: > >>> mcontext is not a standard layout so glibc and musl differ sadly. > >>> > >>> Fixes > >>> ../../m4-1.4.

Re: [PATCH] sigsegv: Fix build on ppc/musl

2022-03-13 Thread Sam
> On 13 Mar 2022, at 14:17, Bruno Haible wrote: > > Eric Blake wrote: >> On Wed, Mar 09, 2022 at 11:37:14PM -0800, Khem Raj wrote: >>> mcontext is not a standard layout so glibc and musl differ sadly. >>> >>> Fixes >>> ../../m4-1.4.19/lib/sigsegv.c: In function 'sigsegv_handler':

Re: [PATCH] build-aux/announce-gen: Use Release keyrings on Savannah for GnuPG

2022-03-13 Thread Darshit Shah
On Sun, Mar 13, 2022, at 09:10, Simon Josefsson wrote: > Darshit Shah writes: > >> + --gpg-keyring-url=URLURL pointing to the GnuPG Keyring containing >> +the key used to sign the tarballs > ... >> If that command fails because you don't have the requi

Re: [PATCH] sigsegv: Fix build on ppc/musl

2022-03-13 Thread Bruno Haible
Eric Blake wrote: > On Wed, Mar 09, 2022 at 11:37:14PM -0800, Khem Raj wrote: > > mcontext is not a standard layout so glibc and musl differ sadly. > > > > Fixes > > ../../m4-1.4.19/lib/sigsegv.c: In function 'sigsegv_handler': > >

Re: [PATCH] build-aux/announce-gen: Use Release keyrings on Savannah for GnuPG

2022-03-13 Thread Simon Josefsson via Gnulib discussion list
Darshit Shah writes: > + --gpg-keyring-url=URLURL pointing to the GnuPG Keyring containing > +the key used to sign the tarballs ... > If that command fails because you don't have the required public key, > then run this command to import it: > > - gp

Re: uninorm/composition.c:75:22: runtime error

2022-03-13 Thread Simon Josefsson via Gnulib discussion list
Thanks for quick debugging and conclusion! Reading the ideas in your responses, I think gnulib could help developers to use ASan/UBSan in their project by assisting with these choices. I'll see if I can come up with anything that is generally useful, once I get a couple of projects to build and s