emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#53347: closed (Compilation error on package Papi 5.5.1)


From: GNU bug Tracking System
Subject: bug#53347: closed (Compilation error on package Papi 5.5.1)
Date: Tue, 18 Jan 2022 17:51:02 +0000

Your message dated Tue, 18 Jan 2022 18:50:08 +0100
with message-id <877daxdjcf.fsf@gnu.org>
and subject line Re: bug#53347: Compilation error on package Papi 5.5.1
has caused the debbugs.gnu.org bug report #53347,
regarding Compilation error on package Papi 5.5.1
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
53347: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53347
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Compilation error on package Papi 5.5.1 Date: Tue, 18 Jan 2022 11:58:03 +0100 (CET)
Hi,

The package papi@5.5.1 does not compile. It fails with an error during the 
build phase :

‘%s’ directive output may be truncated writing up to 255 bytes into a region of 
size between 0 and 4095 [-Werror=format-truncation=]

While this is a problem in the application itself, GCC started diagnosing these 
problems in version 7.1¹ and expanded coverage in version 8², so a change in 
the compiler version probably triggered the problem.

Also, I believe this is fixed in newer releases of PAPI³ but I don't know if 
updating the version would be acceptable.


Clément


1. https://gcc.gnu.org/gcc-7/changes.html section -Wformat-truncation=level
2. https://gcc.gnu.org/gcc-8/changes.html
3. https://bitbucket.org/icl/papi/issues/51/build-failed-using-gcc-810



--- End Message ---
--- Begin Message --- Subject: Re: bug#53347: Compilation error on package Papi 5.5.1 Date: Tue, 18 Jan 2022 18:50:08 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi,

Clement Barthelemy <clement.barthelemy@inria.fr> skribis:

> The package papi@5.5.1 does not compile. It fails with an error during the 
> build phase :
>
> ‘%s’ directive output may be truncated writing up to 255 bytes into a region 
> of size between 0 and 4095 [-Werror=format-truncation=]

Indeed, and that was in a bundled library.

Fixed with the upgrade in 775203e52083235a067e7a737a75b24eae375afb.

Thanks!

Ludo’.


--- End Message ---

reply via email to

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