reassign 893517 gcc-8 found 893517 8-20180319-1 forwarded 893517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85040 forwarded 893517 https://bugs.llvm.org/show_bug.cgi?id=36869 notfound clang-6.0 1:6.0-1 thanks.
On Mon, Mar 19, 2018 at 7:30 PM, Roman Lebedev <lebedev...@gmail.com> wrote: > Package: clang-6.0 > Version: 1:6.0-1 > Severity: serious > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > $ cat test.cpp > #include <ostream> > $ clang++-6.0 -c test.cpp > In file included from test.cpp:1: > In file included from > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/ostream:38: > In file included from > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/ios:42: > In file included from > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/ios_base.h:41: > In file included from > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/locale_classes.h:40: > In file included from > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/string:48: > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/stl_function.h:545:9: > error: redefinition of '__not_overloaded<_Tp, _Up>' > struct __not_overloaded<_Tp, _Up> : __not_overloaded2<_Tp, _Up> { }; > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/stl_function.h:531:9: > note: previous definition is here > struct __not_overloaded<_Tp, _Up, __void_t< > ^ > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/stl_function.h:608:9: > error: redefinition of '__not_overloaded<_Tp, _Up>' > struct __not_overloaded<_Tp, _Up> : __not_overloaded2<_Tp, _Up> { }; > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/stl_function.h:594:9: > note: previous definition is here > struct __not_overloaded<_Tp, _Up, __void_t< > ^ > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/stl_function.h:671:9: > error: redefinition of '__not_overloaded<_Tp, _Up>' > struct __not_overloaded<_Tp, _Up> : __not_overloaded2<_Tp, _Up> { }; > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/stl_function.h:657:9: > note: previous definition is here > struct __not_overloaded<_Tp, _Up, __void_t< > ^ > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/stl_function.h:734:9: > error: redefinition of '__not_overloaded<_Tp, _Up>' > struct __not_overloaded<_Tp, _Up> : __not_overloaded2<_Tp, _Up> { }; > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/bin/../lib64/gcc/x86_64-linux-gnu/8.0.1/../../../../include/c++/8.0.1/bits/stl_function.h:720:9: > note: previous definition is here > struct __not_overloaded<_Tp, _Up, __void_t< > ^ > 4 errors generated. > > > Strangely, clang-5 still works. > But clang-7 fails too. > > - -- System Information: > Debian Release: buster/sid > APT prefers unstable > APT policy: (990, 'unstable'), (500, 'unstable-debug'), (1, > 'experimental-debug'), (1, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.15.0-1-amd64 (SMP w/8 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), > LANGUAGE=en_US (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages clang-6.0 depends on: > ii binutils 2.30-8 > ii libc6 2.27-2 > ii libc6-dev 2.27-2 > ii libclang-common-6.0-dev 1:6.0-1 > ii libclang1-6.0 1:6.0-1 > ii libgcc-7-dev 7.3.0-12 > ii libgcc1 1:8-20180319-1 > ii libjsoncpp1 1.7.4-3 > ii libllvm6.0 1:6.0-1 > ii libobjc-7-dev 7.3.0-12 > ii libstdc++-7-dev 7.3.0-12 > ii libstdc++6 8-20180319-1 > > Versions of packages clang-6.0 recommends: > ii libomp-dev 6.0-1 > ii llvm-6.0-dev 1:6.0-1 > ii python 2.7.14-4 > > Versions of packages clang-6.0 suggests: > pn clang-6.0-doc <none> > pn gnustep <none> > pn gnustep-devel <none> > > - -- no debconf information > > -----BEGIN PGP SIGNATURE----- > > iQIzBAEBCgAdFiEEjkF6151RK40WXe2HCDw+u0oWieAFAlqv5aYACgkQCDw+u0oW > ieABKxAAhombUUuICiB93PXBM8fZpsDyFrpMbFpd8JHCuNkRSXs9oNgRoLogWEMF > j+f+VDk8QYQt35C4rxCdVDqdm/4JYeV9wKlW0dIlmmPzQgPn819QwA5Y44qh492n > 576n5GSFf/6UpoDLGbKaEqa3ayPCmMKRh2cMrW2939BV823enc/AMA3x7UU4Nzcp > zivn/oJfbvs5pQYOzg/IikUEiB4cxpajFtQ88V3W56mVe66Go+/GZkJwLpl8ZbYk > JOYyICIKXES1dNfCvHZv5v2ZADDDsQ/l+iR8paDZ4NVbaL7QANGttHtHv8uXa2NU > YkG2WZ5I2zw0sgmNxINJk5OuNb4I2m7MiYoZqfU4nSZ9FTnv8MFD6KhGLF4PmBYf > cc6LJY7GBkhMb8xU9UrUHHl8y2Q3H6vcbJPMYK3JcntLzfGVPmjlXrk2w8WWodR1 > O8L1hQ+B1oF/ylcnzv3eOnM7ZqIs1XND6z53WuVhUaat3bKi9/B18esc0EXhIpMD > Sg6XCV1NfQU/6c3imWFb5h8UHt0KfL6PmAfn5dTYzoOhr0mkmWCwjtMdrtvD3GfV > +4MTGQvhC9U/+KWM8TqcYxjROjUEhy5Q5McqmzYJ55Z7RQ8X6Ag8+tuyKYiVYwUK > 6thXK0devHBL9G5OQIRBTClRJT9t9+VLgWaVz2UEKsQHoNqRIA4= > =NUpD > -----END PGP SIGNATURE-----