On 7/9/20 6:01 pm, Jiri Gaisler wrote: > > On 9/7/20 10:44 AM, Hesham Almatary wrote: >> I have only made sure rap builds when I added libdl support for >> RISC-V. But I haven't tested it on run-time, only ELF objects. It's >> likely to have been failing in run-time all along. Also, there are a >> few relocations still to be implemented for ELF like PCREL_LO12_X and >> RELAX. I got around that by passing -mno-relax > > Very interesting! I applied -mno-relax when building dl06, and the error then > changed to: > > error: rap::object: Section index '0' not found: > /home/jiri/src/rtems/6/bin/../lib/gcc/riscv-rtems6/10.2.1/../../../../riscv-rtems6/lib/rv32imafd/ilp32d/libm.a:lib_a-e_atan2.o@709534 > > Does this indicate that newlib must be build with -mno-relax?
I would need to understand what -mno-relax does. > If so, maybe we should disable the dlxx tests for RISC-V ..? I will try and take a look soon. I would prefer not to touch the build system. Chrs _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel