--- Begin Message ---
Package: cpp-9
Version: 9.3.0-1
Severity: grave
Justification: renders package unusable
The compilation of a simple program like
#include <limits.h>
int main (void)
{
return 0;
}
now fails:
cventin:~> gcc-9 tst.c -o tst
In file included from tst.c:1:
/usr/include/limits.h:124:26: error: no include path in which to search for limits.h
124 | # include_next <limits.h>
| ^
or directly with "cpp-9 tst.c".
Since this issue does not occur with other GCC versions, I suppose
that this is a bug in cpp-9, not in libc6-dev.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-4-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cpp-9 depends on:
ii gcc-9-base 9.3.0-1
ii libc6 2.30-2
ii libgmp10 2:6.2.0+dfsg-4
ii libisl22 0.22.1-1
ii libmpc3 1.1.0-1
ii libmpfr6 4.0.2-1
ii zlib1g 1:1.2.11.dfsg-2
cpp-9 recommends no packages.
Versions of packages cpp-9 suggests:
ii gcc-9-locales 9.3.0-1
-- no debconf information
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
--- End Message ---
--- Begin Message ---
Package: gcc-9
Version: 9.3.0-3
On 2020-03-13 19:15 +0100, Vincent Lefevre wrote:
> Compare:
>
> cventin:~> cpp-8 tst.c
> # 1 "tst.c"
> # 1 "<built-in>"
> # 1 "<command-line>"
> # 31 "<command-line>"
> # 1 "/usr/include/stdc-predef.h" 1 3 4
> # 32 "<command-line>" 2
> # 1 "tst.c"
> # 1 "/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h" 1 3 4
> [...]
>
> cventin:~> cpp-9 tst.c
> # 1 "tst.c"
> # 1 "<built-in>"
> # 1 "<command-line>"
> # 31 "<command-line>"
> # 1 "/usr/include/stdc-predef.h" 1 3 4
> # 32 "<command-line>" 2
> # 1 "tst.c"
> # 1 "/usr/include/limits.h" 1 3 4
> [...]
>
> There is no /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed directory.
>
> This could actually be a bug in libgcc-9-dev, as libgcc-8-dev
> provides "/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h".
Looks like the maintainer noticed and fixed this already[1], so all we
need to do is wait for 9.3.0-3 to be built and pushed to the mirrors.
,----
| Changes:
| gcc-9 (9.3.0-3) unstable; urgency=high
| .
| * Ship the include-fixed directory again, for a working #include <limits.h>.
| * Build using GCC 8.
`----
Cheers,
Sven
1. https://tracker.debian.org/news/1108701/accepted-gcc-9-930-3-source-into-unstable/
--- End Message ---