[RTEMS Project] #4070: RISC-V Multiple Definition Error (many BSPs)

RTEMS trac trac at rtems.org
Sun Sep 6 17:56:32 UTC 2020


#4070: RISC-V Multiple Definition Error (many BSPs)
----------------------------+--------------------
  Reporter:  Joel Sherrill  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:  6.1
 Component:  arch/riscv     |    Version:  6
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+--------------------
 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

--
Ticket URL: <http://devel.rtems.org/ticket/4070>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list