Hi I just finished a sweep of building RTEMS 5 tools for all architectures. This took multiple days to complete plus the follow up analysis.
Build times for successful builds were from ~90 minutes to 5h58m (arm). Three were over 5 hours. Most were in the 2-4h range. RSB Hash: 5 c7870f6e6199f9fdb89cbdf6c7e75c78cb9f3d3a Patches: #4523 to address gdb build failure On Cygwin, 3 of 4 build failures resulted in a zero length rsb-report- file. The only one with content failed during dtc, not the tools themselves. The following built successfully: arm bfin i386 lm32 m68k mips nios2 or1k powerpc riscv sparc sparc64 x86_64 The following failed to build: epiphany ======== rsb-report has 0 length. Builds OK on CentOS. Failure linking run.exe. Multiple definition of current_state. gcc -O2 -g -pipe -I/home/jrs007/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1049590/5/rtems-epiphany/home/jrs007/rtems-work/tools/5/include -DHAVE_CONFIG_H -DWITH_DEFAULT_MODEL='"epiphany32"' -DPROFILE=1 -DWITH_PROFILE=-1 -DWITH_ALIGNMENT=STRICT_ALIGNMENT -DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN -DWITH_ENVIRONMENT=ALL_ENVIRONMENT -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SCACHE=16384 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -I. -I../../../epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b/sim/epiphany -I../common -I../../../epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b/sim/epiphany/../common -I../../include -I../../../epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b/sim/epiphany/../../include -I../../bfd -I../../../epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b/sim/epiphany/../../bfd -I../../opcodes -I../../../epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b/sim/epiphany/../../opcodes -g -O2 -static-libstdc++ -static-libgcc -L/home/jrs007/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1049590/5/rtems-epiphany/home/jrs007/rtems-work/tools/5/lib -Wl,--stack,12582912 -o run.exe \ nrun.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a ../../libiberty/libiberty.a -lm /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: libsim.a(sim-if.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/epiphany-rtems5-gdb-7.8.1-x86_64-pc-cygwin-1/build/sim/epiphany/../../../epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b/sim/epiphany/sim-if.c:45: multiple definition of `current_state'; libsim.a(sim-utils.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/epiphany-rtems5-gdb-7.8.1-x86_64-pc-cygwin-1/build/sim/epiphany/../../../epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b/sim/epiphany/../common/sim-utils.c:53: first defined here moxie ===== dtc fails to link Same build failure on CentOS. /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: dtc-parser.tab.o:/home/jrs007/rtems-work/rtems-source-builder/rtems/build/dtc-1.4.1-x86_64-pc-cygwin-1/dtc-1.4.1/dtc-parser.tab.c:1074: multiple definition of `yylloc'; dtc-lexer.lex.o:/home/jrs007/rtems-work/rtems-source-builder/rtems/build/dtc-1.4.1-x86_64-pc-cygwin-1/dtc-1.4.1/dtc-lexer.l:41: first defined here collect2: error: ld returned 1 exit status sh == rsb-report has 0 length. GCC fails to build. Same build failure on CentOS. In file included from ../../gcc-7.5.0/gcc/config/sh/sh.c:26: ../../gcc-7.5.0/gcc/config/sh/sh.c: In function ‘void sh_print_operand(FILE*, rtx, int)’: ../../gcc-7.5.0/gcc/system.h:150:33: error: ‘fputs_unlocked’ was not declared in this scope; did you mean ‘fputc_unlocked’? 150 | # define fputs(String, Stream) fputs_unlocked (String, Stream) | ^~~~~~~~~~~~~~ ../../gcc-7.5.0/gcc/config/sh/sh.c:1145:11: note: in expansion of macro ‘fputs’ 1145 | fputs ("/u", stream); | ^~~~~ v850 ==== rsb-report has 0 length. Same build failure on Linux /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: libsim.a(idecode.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/v850-rtems5-gdb-9.1-x86_64-pc-cygwin-1/build/sim/v850/idecode.h:71: multiple definition of `idecode_issue'; libsim.a(irun.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/v850-rtems5-gdb-9.1-x86_64-pc-cygwin-1/build/sim/v850/idecode.h:71: first defined here /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: libsim.a(engine.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/v850-rtems5-gdb-9.1-x86_64-pc-cygwin-1/build/sim/v850/idecode.h:71: multiple definition of `idecode_issue'; libsim.a(irun.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/v850-rtems5-gdb-9.1-x86_64-pc-cygwin-1/build/sim/v850/idecode.h:71: first defined here /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: libsim.a(support.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/v850-rtems5-gdb-9.1-x86_64-pc-cygwin-1/build/sim/v850/idecode.h:71: multiple definition of `idecode_issue'; libsim.a(irun.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/v850-rtems5-gdb-9.1-x86_64-pc-cygwin-1/build/sim/v850/idecode.h:71: first defined here /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: libsim.a(semantics.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/v850-rtems5-gdb-9.1-x86_64-pc-cygwin-1/build/sim/v850/idecode.h:71: multiple definition of `idecode_issue'; libsim.a(irun.o):/home/jrs007/rtems-work/rtems-source-builder/rtems/build/v850-rtems5-gdb-9.1-x86_64-pc-cygwin-1/build/sim/v850/idecode.h:71: first defined here collect2: error: ld returned 1 exit status --joel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel