Hello, I’m attempting to get a BSP rolling for STM32F767 and 4.12 is going reasonably poorly, so I am trying to regress back to a BSP for stm32f4 on 4.11.
Now, when putting together the tools for 4.11, I use the script: cd mkdir -p development/rtems cd development/rtems git clone git://git.rtems.org/rtems-source-builder.git rsb cd rsb git checkout 4.11 cd rtems ../source-builder/sb-check ../source-builder/sb-set-builder --list-bsets ../source-builder/sb-set-builder —prefix=$HOME/development/rtems/4.11 —log=l-4.11-rtems-arm.txt 4.11/rtems-arm Reasonably straight out of the quick start guide. BUT, when putting together newlib there is an issue where I get: In file included from ../../gcc-4.9.3/gcc/c/c-objc-common.c:33: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/new:89: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/exception:173:5: error: no member named ‘fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'? … make[1]: *** [all-gcc] Error 2 make: *** [all] Error 2 shell cmd failed: /bin/sh -ex /Users/andreichichak/development/rtems/rsb/rtems/build/arm-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-apple-darwin17.0.0-1/doit error: building arm-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-apple-darwin17.0.0-1 (If I build the 4.12 tools, newlib and the tools build properly but I cannot build a BSP for stm32f4 or stm32f7x successfully, so I was going back to a release where I could get a good BSP for stm32f4) This is running on a Mac using OSX 10.13, Xcode 9.0.1, but I’m getting the same results with a system running OSX 10.12.6 and Xcode 9.0.1. Any ideas? Thank you in advance, Andrei (from my other machine: axe:~ andreichichak$ /usr/bin/c++ --version Apple LLVM version 9.0.0 (clang-900.0.38) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ) /usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/Users/andreichichak/development/rtems/rsb/rtems/build/tmp/sb-andreichichak/4.11/rtems-arm/Users/andreichichak/development/rtems/4.11/include -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ic -I../../gcc-4.9.3/gcc -I../../gcc-4.9.3/gcc/c -I../../gcc-4.9.3/gcc/../include -I../../gcc-4.9.3/gcc/../libcpp/include -I/Users/andreichichak/development/rtems/rsb/rtems/build/arm-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-apple-darwin16.7.0-1/build/./gmp -I/Users/andreichichak/development/rtems/rsb/rtems/build/arm-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-apple-darwin16.7.0-1/gcc-4.9.3/gmp -I/Users/andreichichak/development/rtems/rsb/rtems/build/arm-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-apple-darwin16.7.0-1/build/./mpfr -I/Users/andreichichak/development/rtems/rsb/rtems/build/arm-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-apple-darwin16.7.0-1/gcc-4.9.3/mpfr -I/Users/andreichichak/development/rtems/rsb/rtems/build/arm-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-apple-darwin16.7.0-1/gcc-4.9.3/mpc/src -I../../gcc-4.9.3/gcc/../libdecnumber -I../../gcc-4.9.3/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.3/gcc/../libbacktrace -o c/c-objc-common.o -MT c/c-objc-common.o -MMD -MP -MF c/.deps/c-objc-common.TPo ../../gcc-4.9.3/gcc/c/c-objc-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../gcc-4.9.3/gcc/c/c-objc-common.c:33: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/new:89: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/exception:173:5: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'? _VSTD::abort(); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:392:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ ../../gcc-4.9.3/gcc/system.h:685:13: note: 'fancy_abort' declared here extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; ^ 1 error generated. make[2]: *** [c/c-objc-common.o] Error 1 make[2]: *** Waiting for unfinished jobs.... --------------------- Andrei Chichak Systems Developer CBF Systems Inc. Suite 225 8215 112 St NW EDMONTON, ALBERTA T6G 2C8 CANADA Phone: 780-628-2072 Skype: andrei.chichak
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users