Package: gcc-arm-none-eabi
Version: 15:8-2019-q3-1
Severity: normal

Dear Maintainer,

Code containing PRIx64 macro after inclusion of <inttypes.h> does not
compile anymore,
the macro doesn't exist contrarily to the situation with
gcc-arm-none-eabi_7-2018-q2-6.

I tracked it down to the following difference between 7.3.1 and 8.3.1:

/usr/lib/gcc/arm-none-eabi/7.3.1/include/stdint.h is a wrapper:

#ifndef _GCC_WRAP_STDINT_H
#if __STDC_HOSTED__
# if defined __cplusplus && __cplusplus >= 201103L
#  undef __STDC_LIMIT_MACROS
#  define __STDC_LIMIT_MACROS
#  undef __STDC_CONSTANT_MACROS
#  define __STDC_CONSTANT_MACROS
# endif
# include_next <stdint.h>
#else
# include "stdint-gcc.h"
#endif
#define _GCC_WRAP_STDINT_H
#endif

while
/usr/lib/gcc/arm-none-eabi/8.3.1/include/stdint.h is the same as
/usr/lib/gcc/arm-none-eabi/7.3.1/include/stdint-gcc.h

So in 8.3.1 we don't have anymore the include_next <stdint.h>
which includes /usr/include/newlib/stdint.h
which includes /usr/include/newlib/sys/_stdint.h
which defines __int64_t_defined
and /usr/include/newlib/inttypes.h defines PRIx64 only if
__int64_t_defined is defined.


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-3-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gcc-arm-none-eabi depends on:
ii  binutils-arm-none-eabi  2.32.51.20190909-1+13
ii  libc6                   2.29-9
ii  libgcc-s1               10-20200204-1
ii  libgmp10                2:6.1.2+dfsg-4
ii  libisl22                0.22-2
ii  libmpc3                 1.1.0-1
ii  libmpfr6                4.0.2-1
ii  libstdc++6              9.2.1-25
ii  zlib1g                  1:1.2.11.dfsg-1+b1

Versions of packages gcc-arm-none-eabi recommends:
ii  libnewlib-arm-none-eabi  3.1.0.20181231-1

gcc-arm-none-eabi suggests no packages.

-- no debconf information

Reply via email to