https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87485

--- Comment #8 from Arseny Solokha <asolokha at gmx dot com> ---
(In reply to Alexander Monakov from comment #7)
> It appears you are building via portage and thus have Gentoo patches applied?

Yes, I build weekly snapshots via Portage for convenience. But I use modified
toolchain.eclass, and of course never apply Gentoo patches to them. My
snapshots are vanilla.

Gentoo's unpatched toolchain.eclass adds custom branding, among other things,
which can be seen in -v output from my system compiler (compare it w/ the one
from snapshot in comment 3):

% gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/8.2.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-8.2.0-r4/work/gcc-8.2.0/configure
--host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-unknown-linux-gnu/gcc-bin/8.2.0
--includedir=/usr/lib/gcc/x86_64-unknown-linux-gnu/8.2.0/include
--datadir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/8.2.0
--mandir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/8.2.0/man
--infodir=/usr/share/gcc-data/x86_64-unknown-linux-gnu/8.2.0/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-unknown-linux-gnu/8.2.0/include/g++-v8
--with-python-dir=/share/gcc-data/x86_64-unknown-linux-gnu/8.2.0/python
--enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror
--with-system-zlib --disable-nls --enable-checking=release
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened
8.2.0-r4 p1.5' --enable-esp --enable-libstdcxx-time --disable-libstdcxx-pch
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --disable-multilib --with-multilib-list=m64
--disable-altivec --disable-fixed-point --enable-targets=all --enable-libgomp
--disable-libmudflap --disable-libssp --disable-libmpx --disable-systemtap
--enable-vtable-verify --enable-libvtv --disable-libquadmath --enable-lto
--with-isl --disable-isl-version-check --disable-libsanitizer
--enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 8.2.0 (Gentoo Hardened 8.2.0-r4 p1.5)

On the last line here you can see custom branding (Gentoo Hardened) and the
Gentoo patchset verson (1.5).

Reply via email to