public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/95011] New: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1
@ 2020-05-08 14:46 mario_grgic at hotmail dot com
2020-05-08 20:02 ` [Bug c/95011] " mario_grgic at hotmail dot com
2020-05-08 20:03 ` mario_grgic at hotmail dot com
0 siblings, 2 replies; 3+ messages in thread
From: mario_grgic at hotmail dot com @ 2020-05-08 14:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95011
Bug ID: 95011
Summary: Error building gcc 10.1.0 on macOS Catalina with Xcode
11.4.1
Product: gcc
Version: 10.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: mario_grgic at hotmail dot com
Target Milestone: ---
Created attachment 48484
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48484&action=edit
config.log
I am attempting to build gcc 10.1.0 from source with Xcode 11.4.1 on macOS
Catalina 10.15.4.
I configure the build as follows:
export PREFIX=/usr/local
../configure --prefix=${PREFIX} --with-gmp=${PREFIX} --with-mpfr=${PREFIX}
--with-mpc=${PREFIX} --with-isl-prefix=${PREFIX} --with-cloog=${PREFIX}
--enable-checking=release --enable-languages=c,c++,fortran
--with-build-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
But this eventually leads to:
/lib/cpp
configure: error: in `/Volumes/ramdisk/gcc-10.1.0/build/gcc':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
...
config.status: executing default commands
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2
config.log is attached.
In the config.log I see:
xgcc: error: unrecognized command-line option '-V'
and
xgcc: error: unrecognized command-line option '-qversion'; did you mean
'--version'?
But more importantly:
/Volumes/ramdisk/gcc-10.1.0/build/prev-gcc/include-fixed/limits.h:195:15: fatal
error: limits.h: No such file or directory
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/95011] Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1
2020-05-08 14:46 [Bug c/95011] New: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1 mario_grgic at hotmail dot com
@ 2020-05-08 20:02 ` mario_grgic at hotmail dot com
2020-05-08 20:03 ` mario_grgic at hotmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: mario_grgic at hotmail dot com @ 2020-05-08 20:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95011
--- Comment #1 from mario_grgic at hotmail dot com ---
It looks like this is configuration error. --with-sysroot and
--with-native-system-header-dir must both be specified when building on macOS.
However, configure --help does not list or document either of them.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/95011] Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1
2020-05-08 14:46 [Bug c/95011] New: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1 mario_grgic at hotmail dot com
2020-05-08 20:02 ` [Bug c/95011] " mario_grgic at hotmail dot com
@ 2020-05-08 20:03 ` mario_grgic at hotmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: mario_grgic at hotmail dot com @ 2020-05-08 20:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95011
mario_grgic at hotmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from mario_grgic at hotmail dot com ---
Closing as invalid.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-08 20:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 14:46 [Bug c/95011] New: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1 mario_grgic at hotmail dot com
2020-05-08 20:02 ` [Bug c/95011] " mario_grgic at hotmail dot com
2020-05-08 20:03 ` mario_grgic at hotmail dot com
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).