From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 10DDB3858D35; Tue, 29 Aug 2023 19:55:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 10DDB3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693338937; bh=ZitHZjQ88kVK45Wzx78T+Pz9a9JfGER5Ruo8LRltChc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=owBbPdd9jwO/vucrmkTaMnWBpthnJMPdNMfzFWrwAIRbfmZEcnDvNWa5CDgszg8Ar 1SLP2S/EVNcwpxLjZtwqaWv+JMk3EgmzwH4c6O2vtK2q/U+7I0W4CJavW1Tlr58hYl 4QMJg0HVgKJU0nI0reb5Dgu1+UcTXhfr/ebhhNnw= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/104167] Implement C++20 std::chrono::utc_clock, std::chrono::tzdb etc. Date: Tue, 29 Aug 2023 19:55:36 +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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D104167 --- Comment #11 from Jonathan Wakely --- My best guess is that including in those files causes a dependency= on std::chrono::tzdb::current_zone() which depends on std::filesystem::read_symlink, which will pull in the symbols in src/c++17/fs_ops.cc Does arm-eabi build libstdc++.a with -ffunction-sections? The tests should be built with -Wl,--gc-sections which combined with -ffunction-sections should mean that the tests do not pull in symbols they don't need. I would *really* prefer not to have to split src/c++20/tzdb.cc and src/c++17/fs_*.cc into dozens of separate files. Please file a separate bug for these failures.=