I'm trying to use gnulib in the same project as ax_prog_cc_for_build.m4
from the autoconf archive[1]. But it seems that they do not play nicely
together.
Specifically, gnulibs std-gnu11.m4 seems to negate the effect of the former,
resulting in CC_FOR_BUILD always getting defined as the empty
since my libc is musl, tar is using builtin argp implementation, which will
pass NULL as msgid to dgettext without additional checks.
but according to
https://www.gnu.org/software/gettext/manual/html_node/Interface-to-gettext.html,
passing NULL to gettext is undefined. and, musl chose to crash..
bore wrote:
What is causing this is
int _flags; \
int _file; \
on 32bit it needs to be
short _flags; \
short _file; \
Thanks for the suggestion. Does the attached Gnulib patch fix the problem? I
haven't installed it and can't easily test it.
>From 8f87a66104c1e270d3ada0eb2753ba835f7aa498