rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

Heinz Junkes junkes at fhi-berlin.mpg.de
Wed Oct 18 07:44:44 UTC 2023


Hello Sebastian,
thank you for your answer. Unfortunately, it seems to have nothing to do with it:


[junkes at h rsb ((a536dfe...))]$ git status
HEAD detached at a536dfe

U/rsb/rtems/build/arm-rtems6-gcc-506cb58-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/gnu-mirror-gcc-506cb58/newlib/libc/include -B/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rtems/6/arm-rtems6/bin/ -B/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rtems/6/arm-rtems6/lib/ -isystem /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rtems/6/arm-rtems6/include -isystem /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rtems/6/arm-rtems6/sys-include    -g -O2 -mthumb -O2 -I../../../../gnu-mirror-gcc-506cb58/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   -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fno-inline -I. -I. -I../../.././gcc -I../../../../gnu-mirror-gcc-506cb58/libgcc -I../../../../gnu-mirror-gcc-506cb58/libgcc/. -I../../../../gnu-mirror-gcc-506cb58/libgcc/../gcc -I../../../../gnu-mirror-gcc-506cb58/libgcc/../include  -DHAVE_CC_TLS   -o _divtc3.o -MT _divtc3.o -MD -MP -MF _divtc3.dep -DL_divtc3 -c ../../../../gnu-mirror-gcc-506cb58/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
../../../../gnu-mirror-gcc-506cb58/libgcc/libgcc2.c: In function '__divdc3':
../../../../gnu-mirror-gcc-506cb58/libgcc/libgcc2.c:2063:7: internal compiler error: Segmentation fault: 11
 2063 |       if (FABS (d) >= RBIG)
      |       ^~
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.
make[4]: *** [_divdc3.o] Error 1



Heinz

> On 18. Oct 2023, at 07:39, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
> 
> On 17.10.23 21:52, Heinz Junkes wrote:
>> Hi, unfortunately i can't build RTEMS6 on the Intel-Mac (darwin-x86_64) at the moment. it fails here: ... downloading: patches/fix-mac-arm64-mpc-config.patch - 347.0 bytes of 347.0 bytes (100%) download: https://www.mpfr.org/mpfr-4.2.0/mpfr-4.2.0.tar.bz2 -> sources/mpfr-4.2.0.tar.bz2 downloading: sources/mpfr-4.2.0.tar.bz2 - 1.6MB of 1.6MB (100%) building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1 error: building arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1 Build FAILED See error report: rsb-report-arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1.txt Note: In some cases the error appears only in the complete build log (see --log option) error: building arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1 Build Set: Time 0:31:04.275488 error: building arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1 Build Set: Time 0:31:04.299122 Build FAILED with ../../../../gnu-mirror-gcc-814ec21/libgcc/libgcc2.c: In function '__divdc3': ../../../../gnu-mirror-gcc-814ec21/libgcc/libgcc2.c:2063:7: internal compiler error: Segmentation fault: 11 2063 | if (FABS (d) >= RBIG) | ^~ Please submit a full bug report, with preprocessed source (by using -freport-bug).
> 
> Does it work with this RSB:
> 
> commit a536dfe98585b648de0c8f49321d057675993153
> Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
> Date:   Mon Oct 9 07:43:43 2023 +0200
> 
>    6/7: Update Newlib
> 
>    Pick up latest changes from ARM/optimized-routines.
> 
>    Close 4510.
> 
> If yes, then this is a GCC release branch regression between:
> 
> -%define gcc_version 506cb58
> +%define gcc_version 814ec21
> 
> -- 
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
> 
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/



More information about the users mailing list