This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
- From: "jens4303 at me dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Feb 2018 16:39:41 +0000
- Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
- Auto-submitted: auto-generated
- References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
--- Comment #55 from Jens-S. Vöckler <jens4303 at me dot com> ---
Would it be worthwhile to limit it to "darwin" *and* "apfs" on objdir? I am
thinking of something along the lines of
diskutil info $(stat -f '%Sd' /path/to/objdir) | \
perl -lane 'print $F[$#F] if /^\s+type/i'
Once the build system determined "darwin", "diskutil" and "stat" should be
readily available. The expression above returns "apfs" if you need to enact the
patch, and "hfs" if you do not.