[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU poke 2.90.0 on FreeBSD 12.0
From: |
Bruno Haible |
Subject: |
Re: GNU poke 2.90.0 on FreeBSD 12.0 |
Date: |
Tue, 24 Jan 2023 14:18:03 +0100 |
On FreeBSD 12.0 / i386, I see a compilation error:
libtool: compile: cc -ferror-limit=0 -DHAVE_CONFIG_H -I.
-I../../../jitter/gnulib-local -I../config-private -I../jitter
-I/home/bruno/include -Wall -Wno-cast-qual -Wno-conversion -Wno-float-equal
-Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter
-Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion
-Wno-type-limits -g -O2 -MT libgnulib_la-argp-eexst.lo -MD -MP -MF
.deps/libgnulib_la-argp-eexst.Tpo -c ../../../jitter/gnulib-local/argp-eexst.c
-fPIC -DPIC -o .libs/libgnulib_la-argp-eexst.o
In file included from ../../../jitter/gnulib-local/argp-eexst.c:20:
In file included from ../config-private/config.h:2229:
In file included from ./stdalign.h:131:
In file included from /usr/include/stddef.h:41:
/usr/include/sys/_types.h:106:35: error: expected expression
long long __max_align1 __aligned(_Alignof(long long));
^
./stdalign.h:70:36: note: expanded from macro '_Alignof'
# define _Alignof(type) offsetof (struct { char __a; type __b; }, __b)
^
This is due to a Gnulib bug, now fixed in Gnulib, see
https://lists.gnu.org/archive/html/bug-gnulib/2023-01/msg00200.html
To get the fix into poke, I would not recommend to upgrade to the
newest version on the master branch, since there were many commits
there recently and some of them may be destabilizing. Instead,
I would recommend to upgrade to the newest version on the 'stable-202301'
branch. You do this by adding these two lines to bootstrap.conf:
# Choose a specific version of gnulib, when checking out
GNULIB_REVISION=stable-202301
Bruno
- Re: GNU poke 2.90.0 on FreeBSD 12.0,
Bruno Haible <=