Ping on ticket 4728 + patch

Alan Cudmore alan.cudmore at gmail.com
Fri Oct 14 15:00:44 UTC 2022


I'll check it out - I will need to set up my host to duplicate the
same tester builds.
I also noticed a build failure in the frdme310arty BSP variant when
building all tests with POSIX enabled:

[4152/4326] Compiling testsuites/validation/tc-sem-flush.c
start.o: in function `.L0 ':
/home/alan/rtems/rtems-k210-port/rtems-clean/build/riscv/frdme310arty/../../../bsps/riscv/shared/start/start.S:86:(.bsp_start_text+0x28):
relocation truncated to fit: R_RISCV_GPREL_I against symbol
`bsp_section_bss_size' defined in *ABS* section in
/home/alan/rtems/rtems-k210-port/rtems-clean/build/riscv/frdme310arty/testsuites/validation/ts-validation-io-kernel.exe
collect2: error: ld returned 1 exit status

Waf: Leaving directory
`/home/alan/rtems/rtems-k210-port/rtems-clean/build/riscv/frdme310arty'
Build failed
 -> task in 'testsuites/validation/ts-validation-io-kernel.exe' failed
with exit status 1 (run with -v to display more information)

On Fri, Oct 14, 2022 at 9:19 AM Joel Sherrill <joel at 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!
>
> 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.cudmore at 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 at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list