smuehlst / circle-stdlib

Standard C and C++ Library Support for Circle
GNU General Public License v3.0
90 stars 17 forks source link

make build-samples wont build on archlinux #29

Closed llllllllllbg closed 1 year ago

llllllllllbg commented 1 year ago

arm-none-eabi-ld: /usr/lib/gcc/arm-none-eabi/12.2.0/../../../../arm-none-eabi/lib/arm/v5te/hard/libstdc++.a(random.o): in function std::(anonymous namespace)::__libc_getentropy(void*)': /build/arm-none-eabi-gcc/src/gcc-12.2.0/libstdc++-v3/src/c++11/random.cc:179: undefined reference togetentropy'

i tried with ./configure --opt-tls --softfp and got the same result. also some of them WILL build.

smuehlst commented 1 year ago

Please look at the README.md where the supported compilers are listed. Apparently you are using a different compiler with a libstdc++.a that is not compatible with the version of Newlib that is used in circle-newlib.