> On 18 Feb 2020, at 11:06 AM, Iain Sandoe <idsandoe@xxxxxxxxxxxxxx> wrote: > I have bootstrapped yesterday and today on Catalina with the XCode 11.3 command line tools SDK. This is great news! This inspired me to look through your gcc-testresults, and to press on. I sure appreciate your time and help. I have Xcode 11.3.1 installed, as well as the Xcode 11.3.1 Command Line tools. I had a configure line like this: [gcc-10-20200216] 12:40:39 % ./configure --with-sysroot='/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk’ But xcrun gave me this: [gcc-10-20200216] 12:44:51 % xcrun --show-sdk-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk Notice that this is a completely different path than what I specified! So I deleted the Xcode 11.3.1.app and reran things with just the CL tools. Alas, in stage 2 it still dies. Here is my clang, xcrun & configure info: [~/Desktop/gcc-10-20200216] 13:33:10 % clang -v Apple clang version 11.0.0 (clang-1100.0.33.17) Target: x86_64-apple-darwin19.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin [~/Desktop/gcc-10-20200216] 13:11:00 % xcrun --show-sdk-path /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk [~/Desktop/gcc-10-20200216] 13:11:08 % ./configure --withsysroot='/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk’ I then did a plain make (usually I do make -j8) this time so the output is not intermingled. Skipping 630K lines, the last lines with the failure are: /Users/danallen/Desktop/gcc-10-20200216/host-x86_64-apple-darwin19.3.0/prev-gcc/xg++ -B/Users/danallen/Desktop/gcc-10-20200216/host-x86_64-apple-darwin19.3.0/prev-gcc/ -B/usr/local/x86_64-apple-darwin19.3.0/bin/ -nostdinc++ -B/Users/danallen/Desktop/gcc-10-20200216/prev-x86_64-apple-darwin19.3.0/libstdc++-v3/src/.libs -B/Users/danallen/Desktop/gcc-10-20200216/prev-x86_64-apple-darwin19.3.0/libstdc++-v3/libsupc++/.libs -I/Users/danallen/Desktop/gcc-10-20200216/prev-x86_64-apple-darwin19.3.0/libstdc++-v3/include/x86_64-apple-darwin19.3.0 -I/Users/danallen/Desktop/gcc-10-20200216/prev-x86_64-apple-darwin19.3.0/libstdc++-v3/include -I/Users/danallen/Desktop/gcc-10-20200216/libstdc++-v3/libsupc++ -L/Users/danallen/Desktop/gcc-10-20200216/prev-x86_64-apple-darwin19.3.0/libstdc++-v3/src/.libs -L/Users/danallen/Desktop/gcc-10-20200216/prev-x86_64-apple-darwin19.3.0/libstdc++-v3/libsupc++/.libs -c -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/include \ -o build/genmodes.o ../.././gcc/genmodes.c In file included from ./bconfig.h:3, from ../.././gcc/genmodes.c:20: ./auto-host.h:2429:16: error: declaration does not declare anything [-fpermissive] 2429 | #define rlim_t long | ^~~~ In file included from ../.././gcc/genmodes.c:21: ../.././gcc/system.h:540:20: error: conflicting declaration of C function 'const char* strsignal(int)' 540 | extern const char *strsignal (int); | ^~~~~~~~~ In file included from /Users/danallen/Desktop/gcc-10-20200216/prev-x86_64-apple-darwin19.3.0/libstdc++-v3/include/cstring:42, from ../.././gcc/system.h:235, from ../.././gcc/genmodes.c:21: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:134:7: note: previous declaration 'char* strsignal(int)' 134 | char *strsignal(int __sig); | ^~~~~~~~~ make[3]: *** [build/genmodes.o] Error 1 make[2]: *** [all-stage2-gcc] Error 2 make[1]: *** [stage2-bubble] Error 2 make: *** [all] Error 2 [~/Desktop/gcc-10-20200216] 13:33:10 %