[Buildroot] [PATCH 1/1] package/rwmem: fix build with gcc 13

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Nov 4 21:31:39 UTC 2023


On Sun,  1 Oct 2023 16:37:08 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Fix the following build failure with gcc 13:
> 
> In file included from ../librwmem/itarget.h:3,
>                  from ../librwmem/i2ctarget.h:4,
>                  from ../librwmem/i2ctarget.cpp:1:
> ../librwmem/helpers.h:51:39: error: 'uint64_t' has not been declared
>    51 | int parse_u64(const std::string& str, uint64_t* value);
>       |                                       ^~~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/38f6d0fb007c3dc3c21243721395f85649442407
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  .../rwmem/0001-include-missing-cstdint.patch  | 30 +++++++++++++++++++
>  1 file changed, 30 insertions(+)
>  create mode 100644 package/rwmem/0001-include-missing-cstdint.patch

Thanks, but in the mean time, rwmem was bumped to a version that
already includes this fix.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list