rtems-6.1-rc2 on Mac OSX Ventura 13.6.1 (Intel Core i5)

Heinz Junkes junkes at fhi-berlin.mpg.de
Mon Mar 11 09:46:40 UTC 2024


Hi,

I tried to build rc2 on OS-X (Ventura Intel) for powerpc and I get the following error:

RTEMS Tools Project - Source Builder Error Report
 Build: error: building powerpc-rtems6-gcc-13.2.0-newlib-3cacedb-x86_64-apple-darwin22.6.0-1
 Command Line: ../source-builder/sb-set-builder --prefix=/Volumes/RTEMS_DEV/RTEMS6_RC2/6.1-rc2 6/rtems-powerpc
 Python: 3.9.12 (main, Apr  5 2022, 01:53:17) [Clang 12.0.0 ]
 RSB: not a valid repo
 Darwin h.rz-berlin.mpg.de 22.6.0 Darwin Kernel Version 22.6.0: Wed Oct  4 21:25:26 PDT 2023; root:xnu-8796.141.3.701.17~4/RELEASE_X86_64 x86_64
Tail of the build log:
Adding multilib support to Makefile in ../../../../../../gcc-13.2.0/libgcc
with_multisubdir=me6500/m64/vrsave
make[2]: Entering directory `/Volumes/RTEMS_DEV/RTEMS6_RC2/rtems-source-builder-6.1-rc2/rtems/build/powerpc-rtems6-gcc-13.2.0-newlib-3cacedb-x86_64-apple-darwin22.6.0-1/build/powerpc-rtems6/libgcc'
# If this is the top-level multilib, build all the other
ln -s ../../../gcc-13.2.0/libgcc/enable-execute-stack-empty.c enable-execute-stack.c
ln -s ../../../gcc-13.2.0/libgcc/unwind-generic.h unwind.h
ln -s ../../../gcc-13.2.0/libgcc/config/no-unwind.h md-unwind-support.h
ln -s ../../../gcc-13.2.0/libgcc/config/rs6000/sfp-machine.h sfp-machine.h
# multilibs.
...
/Volumes/RTEMS_DEV/RTEMS6_RC2/rtems-source-builder-6.1-rc2/rtems/build/powerpc-rtems6-gcc-13.2.0-newlib-3cacedb-x86_64-apple-darwin22.6.0-1/build/./gcc/xgcc -B/Volumes/RTEMS_DEV/RTEMS6_RC2/rtems-source-builder-6.1-rc2/rtems/build/powerpc-rtems6-gcc-13.2.0-newlib-3cacedb-x86_64-apple-darwin22.6.0-1/build/./gcc/ -nostdinc -B/Volumes/RTEMS_DEV/RTEMS6_RC2/rtems-source-builder-6.1-rc2/rtems/build/powerpc-rtems6-gcc-13.2.0-newlib-3cacedb-x86_64-apple-darwin22.6.0-1/build/powerpc-rtems6/newlib/ -isystem /Volumes/RTEMS_DEV/RTEMS6_RC2/rtems-source-builder-6.1-rc2/rtems/build/powerpc-rtems6-gcc-13.2.0-newlib-3cacedb-x86_64-apple-darwin22.6.0-1/build/powerpc-rtems6/newlib/targ-include -isystem /Volumes/RTEMS_DEV/RTEMS6_RC2/rtems-source-builder-6.1-rc2/rtems/build/powerpc-rtems6-gcc-13.2.0-newlib-3cacedb-x86_64-apple-darwin22.6.0-1/gcc-13.2.0/newlib/libc/include -B/Volumes/RTEMS_DEV/RTEMS6_RC2/6.1-rc2/powerpc-rtems6/bin/ -B/Volumes/RTEMS_DEV/RTEMS6_RC2/6.1-rc2/powerpc-rtems6/lib/ -isystem /Volumes/RTEMS_DEV/RTEMS6_RC2/6.1-rc2/powerpc-rtems6/include -isystem /Volumes/RTEMS_DEV/RTEMS6_RC2/6.1-rc2/powerpc-rtems6/sys-include    -g -O2 -O2 -I../../../gcc-13.2.0/libgcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -I. -I. -I../.././gcc -I../../../gcc-13.2.0/libgcc -I../../../gcc-13.2.0/libgcc/. -I../../../gcc-13.2.0/libgcc/../gcc -I../../../gcc-13.2.0/libgcc/../include  -DHAVE_CC_TLS   -o _gcov_merge_add.o -MT _gcov_merge_add.o -MD -MP -MF _gcov_merge_add.dep -DL_gcov_merge_add -c ../../../gcc-13.2.0/libgcc/libgcov-merge.c
../../../gcc-13.2.0/libgcc/emutls.c: In function '__emutls_get_address':
../../../gcc-13.2.0/libgcc/emutls.c:172:13: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration]
  172 |       arr = calloc (size + 1, sizeof (void *));
      |             ^~~~~~
../../../gcc-13.2.0/libgcc/emutls.c:32:1: note: include '<stdlib.h>' or provide a declaration of 'calloc'
   31 | #include "gthr.h"
  +++ |+#include <stdlib.h>
   32 |
../../../gcc-13.2.0/libgcc/emutls.c:172:13: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch]
  172 |       arr = calloc (size + 1, sizeof (void *));
      |             ^~~~~~
../../../gcc-13.2.0/libgcc/emutls.c:172:13: note: include '<stdlib.h>' or provide a declaration of 'calloc'
../../../gcc-13.2.0/libgcc/emutls.c:184:13: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration]
  184 |       arr = realloc (arr, (size + 1) * sizeof (void *));
      |             ^~~~~~~
../../../gcc-13.2.0/libgcc/emutls.c:184:13: note: include '<stdlib.h>' or provide a declaration of 'realloc'
../../../gcc-13.2.0/libgcc/emutls.c:184:13: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch]
../../../gcc-13.2.0/libgcc/emutls.c:184:13: note: include '<stdlib.h>' or provide a declaration of ‘realloc'

…

Heinz


More information about the devel mailing list