Package: g++-10
Version: 10.2.1-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

There is not possible to compile any even simple program. Every time g++
produces following errors:

cc1plus: internal compiler error: in cpp_diagnostic_at, at libcpp/errors.c:41
0x5cb277 cpp_diagnostic_at
        ../libcpp/../../src/libcpp/errors.c:41
0x5cb277 cpp_diagnostic_at
        ../libcpp/../../src/libcpp/errors.c:34
0x12bee9a cpp_diagnostic
        ../libcpp/../../src/libcpp/errors.c:75
0x12be7c6 cpp_error(cpp_reader*cpp_diagnostic_levelchar*
        ../libcpp/../../src/libcpp/errors.c:89
0x5a0468 register_pragma_1
        ../libcpp/../../src/libcpp/directives.c:1283
0x128578b register_pragma_internal
        ../libcpp/../../src/libcpp/directives.c:1298
0x128578b _cpp_init_internal_pragmas
        ../libcpp/../../src/libcpp/directives.c:1358
0x128557c _cpp_init_hashtable
        ../libcpp/../../src/libcpp/identifiers.c:65
0x1284504 cpp_create_reader(c_langht*line_maps*)
        ../libcpp/../../src/libcpp/init.c:286
0x128064f c_common_init_options(unsigned intcl_decoded_option*)
        ../../src/gcc/c-family/c-opts.c:229

To reproduce it:
Try to compile any program like:

#include <iostream>

int main() {
    std::cout << "Hello World!";
    return 0;
}

with command g++ test.cpp




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

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

Versions of packages g++-10 depends on:
ii  gcc-10            10.2.1-1
ii  gcc-10-base       10.2.1-1
ii  libc6             2.31-5
ii  libgmp10          2:6.2.1+dfsg-1
ii  libisl23          0.23-1
ii  libmpc3           1.2.0-1
ii  libmpfr6          4.1.0-3
ii  libstdc++-10-dev  10.2.1-1
ii  libzstd1          1.4.5+dfsg-4
ii  zlib1g            1:1.2.11.dfsg-2

g++-10 recommends no packages.

Versions of packages g++-10 suggests:
pn  g++-10-multilib  <none>
pn  gcc-10-doc       <none>

-- no debconf information

Reply via email to