Pavel Pisa created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5144
## Summary The build of my template [rtems-omk-template](https://github.com/ppisa/rtems-devel/tree/master/rtems-omk-template) fails when libdl test aplication is enabled for riscv-beaglevfire and riscv-mpfs64imafdc and I expect that problem is related to all RISC-V targets. The include file is not installed The build end with error message: ``` fatal error: rtems/rtl/dlfcn-shell.h: No such file or directory ``` The problem seems to be cause by missing build spec file ``` spec/build/cpukit/objdlriscv.yml ``` The related RISC-V relocation support seems to be present in the CPU kit libdl sources ``` cpukit/libdl/rtl-mdreloc-riscv.c ``` But it is not referenced by any `.yml` files at all. ## Steps to reproduce Configure RTEMS for any of RISC-V targets, i.e.: ``` !/bin/sh MY_DIR="$(cd "$(dirname "$0")" ; pwd -L )" RTEMS_DIR=../../../git/rtems $RTEMS_DIR/waf bspdefaults --rtems-bsps=riscv/beaglevfire -t "$RTEMS_DIR" -o "$MY_DIR" --prefix "/opt/rtems/6" >config.ini || exit 1 mv config.ini config.ini.default sed <config.ini.default >config.ini \ -e 's/^RTEMS_POSIX_API .*$/RTEMS_POSIX_API = True/' \ -e 's/^RTEMS_SMP .*$/RTEMS_SMP = True/' \ $RTEMS_DIR/waf configure -t "$RTEMS_DIR" -o "$MY_DIR" --rtems-config "$MY_DIR/config.ini" --prefix "/opt/rtems/6" || exit 1 $RTEMS_DIR/waf || exit 1 $RTEMS_DIR/waf install || exit 1 ``` and file ``` riscv-rtems6/beaglevfire/lib/include/rtems/rtl/dlfcn-shell.h ``` is missing in the `/opt/rtems/6` It can be found there for other architectures ``` arm-rtems6/csb336/lib/include/rtems/rtl/dlfcn-shell.h arm-rtems6/lpc40xx_ea_ram/lib/include/rtems/rtl/dlfcn-shell.h arm-rtems6/tms570ls3137_hdk_intram/lib/include/rtems/rtl/dlfcn-shell.h arm-rtems6/tms570ls3137_hdk_sdram/lib/include/rtems/rtl/dlfcn-shell.h arm-rtems6/xilinx_zynq_a9_qemu/lib/include/rtems/rtl/dlfcn-shell.h arm-rtems6/xilinx_zynq_zedboard/lib/include/rtems/rtl/dlfcn-shell.h i386-rtems6/pc686/lib/include/rtems/rtl/dlfcn-shell.h ``` ### Pre-set options -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5144 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
