From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 853103854829; Mon, 19 Oct 2020 07:14:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 853103854829 From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/97485] std::call_once crashes at runtime on glibc if not linked to libpthread: terminate called after throwing an instance of 'std::system_error': what(): Unknown error -1 Date: Mon, 19 Oct 2020 07:14:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcchost Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2020 07:14:14 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97485 Sergei Trofimovich changed: What |Removed |Added ---------------------------------------------------------------------------- Host| |x86_64-pc-linux-gnu --- Comment #1 from Sergei Trofimovich --- $ LANG=3DC gcc-11.0.0 -v Using built-in specs. COLLECT_GCC=3D/usr/bin/gcc-11.0.0 COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapp= er Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-11.0.0_pre9999/work/gcc-11.0.0_pre9999/confi= gure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/11.0.0 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/11.0.0 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/11.0.0/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/11.0.0/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/g+= +-v11 --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/11.0.0/python --enable-languages=3Dc,c++,go,jit,fortran --enable-obsolete --enable-secure= plt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=3Drelease --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 11.0.0_pre9999 p4, commit 6b55fa29adf4d643e61388bf01a4509b0b041d17' --disable-esp --enable-libstdcxx-= time --enable-host-shared --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-fixed-point --enable-targets=3Dall --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --enable-valgrind-annotations --enable-vtable-verify --without-zstd --enable-lto --with-isl --disable-isl-version-check --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.0 20201015 (experimental) (Gentoo 11.0.0_pre9999 p4, commit 6b55fa29adf4d643e61388bf01a4509b0b041d17)=