On Mon, Nov 16, 2026 at 07:37:22PM +0000, Tobias Hansen wrote:
> Package: libpari-dev
> Version: 2.19.1-1
> Severity: important
> Affects: src:sagemath
> 
> Dear Maintainer,
> 
> since 2.19.1-1, the public PARI headers cannot be compiled in strict ISO C
> mode (-std=c99/c11/c17), because they use the POSIX type sigjmp_buf, which
> glibc's <setjmp.h> only declares when POSIX features are enabled:

Hello Tobias,

Note that using the PARI headers without __GNUC__ defined can lead to 
significant
performance loss since that disables inline assembly, so it is not something we
should encourage. I would consider building a Debian package this way to be a 
bug.

That aside, if you want to use -std=c17, I suggest you also add 
-D_POSIX_C_SOURCE
Probably this problem could be fixed by adding #define _POSIX_C_SOURCE in pari.h

Cheers,
-- 
Bill. <[email protected]>

Imagine a large red swirl here. 

Reply via email to