public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/57768] New: Assumption of a case-insensitive filesystem on Darwin is incorrect
@ 2013-07-01 8:10 alex@alex-smith.me.uk
2021-08-26 1:09 ` [Bug middle-end/57768] " pinskia at gcc dot gnu.org
2021-08-26 1:17 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: alex@alex-smith.me.uk @ 2013-07-01 8:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57768
Bug ID: 57768
Summary: Assumption of a case-insensitive filesystem on Darwin
is incorrect
Product: gcc
Version: 4.7.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: alex@alex-smith.me.uk
Revision 175762 changed filename_cmp in libiberty to assume a case-insensitive
filesystem on Darwin. While it's true that this is the default, you can still
create case-sensitive HFS+ volumes.
This is causing issues for me building Haiku using a cross-compiler from my OS
X host (10.8.4) - Haiku requires building off a case-sensitive volume, but
because filename_cmp is performing comparisons case-insensitively I'm getting
various build issues. For example, there is a header String.h for the BeOS API
BString class, which includes the C library string.h. The preprocessor is just
matching the second header's name against the first header which it has already
seen using its cache, so the second one doesn't get included.
Target: x86_64-unknown-haiku
Configured with: /Users/alex/src/haiku/buildtools/gcc/configure
--prefix=/Users/alex/src/haiku/haiku/generated.x86_64/cross-tools
--target=x86_64-unknown-haiku --disable-nls --disable-shared --with-system-zlib
--enable-languages=c,c++ --enable-lto --enable-frame-pointer
--with-headers=/Users/alex/src/haiku/haiku/generated.x86_64/cross-tools-build/sysincludes
--with-libs=/Users/alex/src/haiku/haiku/generated.x86_64/cross-tools-build/syslibs
Thread model: single
gcc version 4.7.3 (GCC)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/57768] Assumption of a case-insensitive filesystem on Darwin is incorrect
2013-07-01 8:10 [Bug preprocessor/57768] New: Assumption of a case-insensitive filesystem on Darwin is incorrect alex@alex-smith.me.uk
@ 2021-08-26 1:09 ` pinskia at gcc dot gnu.org
2021-08-26 1:17 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-26 1:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57768
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-08-26
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, I also build using a remote mounted NFS which is case sensitive .
I wonder the best way to really handle this.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/57768] Assumption of a case-insensitive filesystem on Darwin is incorrect
2013-07-01 8:10 [Bug preprocessor/57768] New: Assumption of a case-insensitive filesystem on Darwin is incorrect alex@alex-smith.me.uk
2021-08-26 1:09 ` [Bug middle-end/57768] " pinskia at gcc dot gnu.org
@ 2021-08-26 1:17 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-26 1:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57768
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I was going to say GCC should depend on std::filesystem::path but that was not
added until C++17 and I think it still does not handle the case insenative
correctly, see https://reviews.llvm.org/D68033?id=222210 .
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-26 1:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-01 8:10 [Bug preprocessor/57768] New: Assumption of a case-insensitive filesystem on Darwin is incorrect alex@alex-smith.me.uk
2021-08-26 1:09 ` [Bug middle-end/57768] " pinskia at gcc dot gnu.org
2021-08-26 1:17 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).