Building RTEMS 6 toolchain on a Mac

Karel Gardas karel at functional.vision
Tue Apr 26 20:57:25 UTC 2022


On 4/25/22 10:10, Sebastian Huber wrote:
> Hello Heinz,
> 
> you are probably one of the first persons building GCC 12 on this 
> platform. I checked in a change which could fix the problem.
> 

Not sure if this is related, but after this hacking I'm no longer able 
to build neither 6/rtems-arm not 6/rtems-x86_64.

Both fail with:


abs_ui.o get_patches.o
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(volatile.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(logging.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(set_d64.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(get_d64.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(set_float128.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(get_float128.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(mpfr-mini-gmp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(set_d128.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(get_d128.o) has no symbols
libtool: link: ranlib .libs/libmpfr.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(volatile.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(logging.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(set_d64.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(get_d64.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(set_float128.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(get_float128.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(mpfr-mini-gmp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(set_d128.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: 
.libs/libmpfr.a(get_d128.o) has no symbols
libtool: link: ( cd ".libs" && rm -f "libmpfr.la" && ln -s 
"../libmpfr.la" "libmpfr.la" )
Making all in tests
make[3]: Nothing to be done for `all'.
Making all in tune
make[3]: Nothing to be done for `all'.
Making all in tools/bench
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex 
/Users/me/git/workspace/rtems-source-builder/rtems/build/arm-rtems6-gcc-0f001dd-newlib-64b2081-x86_64-apple-darwin19.6.0-1/do-build
error: building 
arm-rtems6-gcc-0f001dd-newlib-64b2081-x86_64-apple-darwin19.6.0-1


Thanks,
Karel


More information about the devel mailing list