poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU poke 3.90.2 pre-released in alpha.gnu.org


From: Florian Weimer
Subject: Re: GNU poke 3.90.2 pre-released in alpha.gnu.org
Date: Mon, 12 Feb 2024 10:24:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux)

* Jose E. Marchesi:

> GNU poke (http://www.jemarch.net/poke) is an interactive, extensible
> editor for binary data.  Not limited to editing basic entities such as
> bits and bytes, it provides a full-fledged procedural, interactive
> programming language designed to describe data structures and to
> operate on them.
>
> The pre-release poke-3.90.2.tar.gz is now available at
> https://alpha.gnu.org/gnu/poke/poke-3.90.2.tar.gz.
>
> The planned date for releasing 4.0 is Saturday 10 February 2024, but
> this may change depending on the amount of problems found in this
> pre-release, and the subsequent needed additional pre-releases.
>
> Please report any problem found with the pre-release, comments or
> patches to poke-devel@gnu.org.

It looks like the autoconf probe for pthread_spin_init goes wrong with
GCC 14:

configure:56173: checking for pthread_spin_init
configure:56195: gcc -o conftest -O2  -fexceptions -g -grecord-gcc-switches 
-pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 
-march=x86-64 -mtune=generic -fasynchronous-unwind-tables 
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  
-Wl,-z,pack-relative-relocs -Wl,-z,now 
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors 
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 
-specs=/usr/lib/rpm/redhat/redhat-package-notes  conftest.c   >&5
conftest.c: In function 'main':
conftest.c:363:45: error: passing argument 1 of 'pthread_spin_init' from 
incompatible pointer type [-Wincompatible-pointer-types]
  363 |                   return pthread_spin_init (&lock, 0);
      |                                             ^~~~~
      |                                             |
      |                                             volatile pthread_spinlock_t 
** {aka volatile int **}
In file included from conftest.c:357:
/usr/include/pthread.h:1230:51: note: expected 'volatile pthread_spinlock_t *' 
{aka 'volatile int *'} but argument is of type 'volatile pthread_spinlock_t **' 
{aka 'volatile int **'}
 1230 | extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
      |                               ~~~~~~~~~~~~~~~~~~~~^~~~~~

Sadly this is still unfixed in gnulib.  I'll send a patch over there.

Thanks,
Florian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]