I sent a patch to fix that earlier but it didn’t make it upstream. Please feel free to push it
https://lists.rtems.org/pipermail/devel/2020-May/059773.html On Sun, Sep 6, 2020 at 7:57 PM Joel Sherrill <j...@rtems.org> wrote: > Hi > > I see a duplicate symbol error on RISC-V BSPs which must not trip the > dynamic loading section 0 issue. This is the error on multiple RISC-V BSPs > with the list below the message: > > /home/joel/rtems-cron-6/tools/6/lib/gcc/riscv-rtems6/10.2.1/../../../../riscv-rtems6/bin/ld: > ./../../lib/libbsp/riscv/riscv/librtemsbsp.a(htif.o):/home/joel/rtems-cron-6/rtems/bsps/riscv/riscv/include/dev/serial/htif.h:48: > multiple definition of `htif_console_handler'; > ./../../lib/libbsp/riscv/riscv/librtemsbsp.a(console-config.o):/home/joel/rtems-cron-6/rtems/bsps/riscv/riscv/include/dev/serial/htif.h:48: > first defined here > /home/joel/rtems-cron-6/tools/6/lib/gcc/riscv-rtems6/10.2.1/../../../../riscv-rtems6/bin/ld: > ./../../lib/libbsp/riscv/riscv/librtemsbsp.a(htif.o):/home/joel/rtems-cron-6/rtems/bsps/riscv/riscv/include/dev/serial/htif.h:48: > multiple definition of `htif_console_handler'; > ./../../lib/libbsp/riscv/riscv/librtemsbsp.a(console-config.o):/home/joel/rtems-cron-6/rtems/bsps/riscv/riscv/include/dev/serial/htif.h:48: > first defined here > mv -f cdtest/.deps/cdtest-init.Tpo cdtest/.deps/cdtest-init.Po > > rv32iac_spike > rv32imac_spike > rv32imafc_spike > rv32imafdc_spike > rv32imafd_spike > rv32im_spike > rv32i_spike > rv64imac_medany_spike > rv64imac_spike > rv64imafdc_medany_spike > rv64imafdc_spike > rv64imafd_medany_spike > rv64imafd_spike > > Filed as https://devel.rtems.org/ticket/4070#ticket. > > --joel > _______________________________________________ > 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