#4070 new defect

RISC-V Multiple Definition Error (many BSPs)

Reported by: Joel Sherrill Owned by:
Priority: normal Milestone: 6.1
Component: arch/riscv Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

This error appears to occur on all RISC-V BSPs which do not fail at the dynamic loading rap section 0 error. I assume that eventually they may all hit this. List of BSPs failing below 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

Change History (0)

Note: See TracTickets for help on using tickets.