From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B14413858C60; Thu, 2 Feb 2023 13:25:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B14413858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675344359; bh=o97zczsqG6ctWJxhjdL0M+PiEqmbFghJ9o5v7W4HdMY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gdxM20NLa8NZ884xDHO6Nb66Pe4LWbdidlbmhat/mT5zKHxwdelzEpnxQkgnXWwpH mZlddeZSugnO9qgAtYq6zAdB29t0gIa+tfk0bmKNAphCT0Gk7Pnw4YGrkKS2f5Bmqb 5OUjvuNs8zuonag5Ydln1bTgTk8f1A4EtvbERIe0= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvMTA4NjM2XSBDKysyMCB1bmRlZmluZWQg?= =?UTF-8?B?cmVmZXJlbmNlIHRvIGBzdGQ6OmZpbGVzeXN0ZW06Ol9fY3h4MTE6OnBhdGg6?= =?UTF-8?B?Ol9MaXN0Ojp0eXBlKHN0ZDo6ZmlsZXN5c3RlbTo6X19jeHgxMTo6cGF0aDo6?= =?UTF-8?B?X1R5cGUpJyB3aXRoIC1ma2VlcC1pbmxpbmUtZnVuY3Rpb25z?= Date: Thu, 02 Feb 2023 13:25:59 +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: 12.2.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108636 --- Comment #1 from Jonathan Wakely --- Trunk has some additional errors: /usr/bin/ld: /tmp/ccXeUWH9.o: in function `std::filesystem::__cxx11::directory_iterator::operator=3D=3D(std::default_= sentinel_t) const': /home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/f= s_dir.h:436: undefined reference to `std::__shared_ptr::operator bool() const' /usr/bin/ld: /tmp/ccXeUWH9.o: in function `std::filesystem::__cxx11::recursive_directory_iterator::operator=3D=3D(std= ::default_sentinel_t) const': /home/jwakely/src/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/f= s_dir.h:544: undefined reference to `std::__shared_ptr::operator bool() const' I think the answer is "don't use -fkeep-inline-functions"=