On Fri, Oct 14, 2022 at 9:19 AM Joel Sherrill <j...@rtems.org> wrote: > > Pushed. Thanks for pinging. It does help. > > Since you are looking at the riscv BSPs, could you look at the four > BSP build failures reported here: > > https://lists.rtems.org/pipermail/build/2022-September/036496.html > > I think they are all variants so one fix (maybe repeated) should do it. > The reported message isn't much help: > > 1 smp riscv/rv32iac build: > configure: /home/tester/rtems-cron-6/rtems/waf configure\ > --prefix=/home/tester/rtems-cron-6/tools/6/bsps --top=/home/tester\ > /rtems-cron-6/rtems --rtems-config=config-riscv-rv32iac-smp.ini > error: ld/collect2:0 error: no error message found! >
I ran the bsp builder on the riscv BSPs with an updated toolchain and latest rtems master. I was able to reproduce only one of the failures with the rv32imafdc SMP configuration: Failures: 1 smp riscv/rv32imafdc build: configure: /home/alan/rtems/test-build/rtems/waf configure\ --prefix=/home/alan/rtems/test-build/bsps\ --top=/home/alan/rtems/test-build/rtems --rtems-config=config-riscv-\ rv32imafdc-smp.ini error: ld/collect2:0 error: no error message found! Average BSP Build Time: 0:00:26.253927 Total Time 1:04:45.581263 Passes: 147 Failures: 1 This is the detail from the log: [1424/1437] Compiling ../../../rtems/testsuites/samples/nsecs/init.c start.o: in function `.L0 ': /home/alan/rtems/test-build/rtems/build/riscv/rv32imafdc/../../../bsps/riscv/shared/start/start.S:86:(.bsp_start_text+0x5 c): relocation truncated to fit: R_RISCV_GPREL_I against symbol `bsp_section_bss_size' defined in *ABS* section in /home/ alan/rtems/test-build/rtems/build/riscv/rv32imafdc/testsuites/samples/minimum.exe collect2: error: ld returned 1 exit status This seems to be similar to the error I get when I try to build the frdme310arty BSP with the testsuite and posix enabled: [4152/4326] Compiling testsuites/validation/tr-sem-surrender.c start.o: in function `.L0 ': /home/alan/rtems/test-build/rtems-tmp/build/riscv/frdme310arty/../../../bsps/riscv/shared/start/start.S:86:(.bsp_start_te xt+0x28): relocation truncated to fit: R_RISCV_GPREL_I against symbol `bsp_section_bss_size' defined in *ABS* section in /home/alan/rtems/test-build/rtems-tmp/build/riscv/frdme310arty/testsuites/validation/ts-validation-io-kernel.exe collect2: error: ld returned 1 exit status I need to investigate this more. > It might be nothing more than a test which doesn't fit in some section > but I have no idea beyond that they are all noted as SMP. Chris may be > helpful decoding the precise configuration. > > --joel > > On Thu, Oct 13, 2022 at 8:27 PM Alan Cudmore <alan.cudm...@gmail.com> wrote: >> >> Hi, >> Sorry, I did not set a message subject in my previous email. >> >> Ping on this patch. I built all of the riscv/riscv BSPs that use it. >> It works for the generic riscv/qemu BSP, the PolarFire BSP, and the >> RISC-V BSP I am working on where the macro failed. >> https://lists.rtems.org/pipermail/devel/2022-September/073390.html >> >> Thanks, >> Alan >> _______________________________________________ >> devel mailing list >> devel@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel