|
From: | Paul Eggert |
Subject: | Re: lib/malloca.c: error when compiling "groff" |
Date: | Wed, 14 Sep 2022 16:43:30 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 9/14/22 16:08, Bruno Haible wrote:
CC lib/libgnu_a-malloca.o ../lib/malloca.c:42:16: error: expected declaration specifiers or '...' before numeric constant 42 | static_assert (2 * sa_alignment_max - 1 <= (small_t) -1); | ^ make[1]: *** [Makefile:8629: lib/libgnu_a-malloca.o] Error 1Can you please show the full compilation command line? (Sometimes you may use "make V=1" to see it.)
I'm not seeing a problem on Fedora 36 x86-64, which has gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1), when I use current (d6f25832c0a02500602e44153e265e10a1d67ce4) Gnulib. When I bootstrap from current groff sources (5a1d89a4b59cc8b91d6b98f699258bf9a14041f5, but with the attached patch), there is no lib/malloca.c and therefore no need or way to build lib/libgnu_a-malloca.o. So it'd be helpful to know exactly what sources were used here, and why malloca.c was being compiled.
0001-build-update-gnulib-submodule-to-latest.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |