Error in RISC-V Dynamic loading code
Hesham Almatary
hesham.almatary at cl.cam.ac.uk
Mon Aug 31 14:07:24 UTC 2020
On Mon, 31 Aug 2020 at 15:05, Eshan Dhawan <eshandhawan51 at gmail.com> wrote:
>
>
> >> On 31-Aug-2020, at 3:44 PM, Hesham Almatary <hesham.almatary at cl.cam.ac.uk> wrote:
> > Hello Eshan,
> >
> > What rtems-tools version are you using? I remember I fixed that (or
> > something similar) in this commit [1]
> The error comes while Building RTEMS
> >
dl06 runs rtems-ld which comes from rtems-tools. You need to make sure
your rtems-tools/rtems-ld
are updated and contain/build that commit fix.
> > [1] https://github.com/RTEMS/rtems-tools/commit/e6e610d262940b7651157597b6b1406aa806b4d1
> >
> >> On Sun, 30 Aug 2020 at 18:33, Eshan Dhawan <eshandhawan51 at gmail.com> wrote:
> >>
> >> Hello everyone,
> >> While testing my confstr patch on RISCV i received this error.
> >>
> >> Error Log :
> >> make[5]: Entering directory '/home/eshan/development/rtems/kernel/rv32imac/riscv-rtems6/c/rv32imac/testsuites/libtests'
> >> rtems-ld -r /home/eshan/development/rtems/kernel/rv32imac/riscv-rtems6/c/rv32imac \
> >> -C riscv-rtems6-gcc -c "-march=rv32imac -mabi=ilp32" \
> >> -O rap -b dl06.pre -e rtems_main -s \
> >> -o dl06.rap dl06-o1.o dl06-o2.o -lm
> >> error: rap::object: Section index '0' not found: dl06-o1.o
> >> Makefile:8528: recipe for target 'dl06.rap' failed
> >> make[5]: *** [dl06.rap] Error 10
> >> make[5]: Leaving directory '/home/eshan/development/rtems/kernel/rv32imac/riscv-rtems6/c/rv32imac/testsuites/libtests'
> >> Makefile:663: recipe for target 'libtests' failed
> >> make[4]: *** [libtests] Error 2
> >> make[4]: Leaving directory '/home/eshan/development/rtems/kernel/rv32imac/riscv-rtems6/c/rv32imac/testsuites'
> >> Makefile:1222: recipe for target 'testsuites' failed
> >> make[3]: *** [testsuites] Error 2
> >> make[3]: Leaving directory '/home/eshan/development/rtems/kernel/rv32imac/riscv-rtems6/c/rv32imac'
> >> Makefile:716: recipe for target 'all-recursive' failed
> >> make[2]: *** [all-recursive] Error 1
> >> make[2]: Leaving directory '/home/eshan/development/rtems/kernel/rv32imac/riscv-rtems6/c/rv32imac'
> >> Makefile:289: recipe for target 'all-recursive' failed
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory '/home/eshan/development/rtems/kernel/rv32imac/riscv-rtems6/c'
> >> Makefile:410: recipe for target 'all-recursive' failed
> >> make: *** [all-recursive] Error 1
> >>
> >> --
> >> Thanks
> >> - Eshan
> >> _______________________________________________
> >> devel mailing list
> >> devel at rtems.org
> >> http://lists.rtems.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list