Building newly for 6/rtems-arm blows on compiling iOS_failure.cc

Andrei Chichak groups at chichak.ca
Tue May 24 19:09:19 UTC 2022


I'm following the Quickstart guide for GSOC students, with a slight modification, on MacOS with python 3.9.1 and I get all of the way up to building newlib, but the compilation of (giggle) ios_failure.cc blows up because clang cannot find "bits/ctype_inline.h".
 
Ideas?
 
My commands so far are very straight forward:
 
mkdir -p $HOME/quick-start/src
cd $HOME/quick-start/src
git clone git://git.rtems.org/rtems-source-builder.git rsb
git clone git://git.rtems.org/rtems.git
cd $HOME/quick-start/src/rsb/rtems
../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 6/rtems-arm
 
 
and the tail end of the log file reads:
 
/bin/sh ../../libtool --tag CXX --tag disable-shared --mode=compile /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/./gcc/xgcc -shared-libgcc -B/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/./gcc -nostdinc++ -L/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/src -L/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/src/.libs -L/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/libsupc++/.libs -nostdinc -B/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/newlib/ -isystem /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/newlib/targ-include -isystem /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/newlib/libc/include -B/Users/andreichichak/quick-start/rtems/6/arm-rtems6/bin/ -B/Users/andreichichak/quick-start/rtems/6/arm-rtems6/lib/ -isystem /Users/andreichichak/quick-start/rtems/6/arm-rtems6/include -isystem /Users/andreichichak/quick-start/rtems/6/arm-rtems6/sys-include -march=armv5te+fp -mfloat-abi=hard -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/../libgcc -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/arm-rtems6 -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=ios_failure.lo -g -O2 -march=armv5te+fp -mfloat-abi=hard -c -o ios_failure.lo ../../../../../../../gnu-mirror-gcc-197b7ac/libstdc++-v3/src/c++98/ios_failure.cc
In file included from /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/bits/basic_ios.h:37,
from /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/ios:44,
from /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/istream:38,
from /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/fstream:38,
from ../../../../../../../gnu-mirror-gcc-197b7ac/libstdc++-v3/src/c++98/globals_io.cc:24:
/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/bits/locale_facets.h:1546:10: fatal error: bits/ctype_inline.h: No such file or directory
1546 | #include <bits/ctype_inline.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[9]: *** [globals_io.lo] Error 1
make[9]: *** Waiting for unfinished jobs....
libtool: compile: /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/./gcc/xgcc -shared-libgcc -B/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/./gcc -nostdinc++ -L/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/src -L/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/src/.libs -L/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/libsupc++/.libs -nostdinc -B/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/newlib/ -isystem /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/newlib/targ-include -isystem /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/newlib/libc/include -B/Users/andreichichak/quick-start/rtems/6/arm-rtems6/bin/ -B/Users/andreichichak/quick-start/rtems/6/arm-rtems6/lib/ -isystem /Users/andreichichak/quick-start/rtems/6/arm-rtems6/include -isystem /Users/andreichichak/quick-start/rtems/6/arm-rtems6/sys-include -march=armv5te+fp -mfloat-abi=hard -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/../libgcc -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include/arm-rtems6 -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/build/arm-rtems6/armv5te+fp/hard/libstdc++-v3/include -I/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/gnu-mirror-gcc-197b7ac/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=ios_failure.lo -g -O2 -march=armv5te+fp -mfloat-abi=hard -c ../../../../../../../gnu-mirror-gcc-197b7ac/libstdc++-v3/src/c++98/ios_failure.cc -o ios_failure.o
make[8]: *** [all-recursive] Error 1
make[7]: *** [all-recursive] Error 1
make[6]: *** [all] Error 2
make[5]: *** [multi-do] Error 1
make[4]: *** [all-multi] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1/do-build
error: building arm-rtems6-gcc-197b7ac-newlib-64b2081-x86_64-apple-darwin18.7.0-1


More information about the users mailing list