[RTEMS Project] #4128: all griscv variants fail to build on master

RTEMS trac trac at rtems.org
Thu Oct 8 07:44:57 UTC 2020


#4128: all griscv variants fail to build on master
---------------------------+---------------------------
 Reporter:  Joel Sherrill  |       Owner:  Jiri Gaisler
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  6.1
Component:  bsps           |     Version:  6
 Severity:  normal         |  Resolution:
 Keywords:  wafblocker     |  Blocked By:
 Blocking:                 |
---------------------------+---------------------------

Comment (by Jiri Gaisler):

 Replying to [comment:2 Joel Sherrill]:

 I don't get this far, my compilation fails on:

 riscv-rtems6-gcc  -march=rv32imafd -mabi=ilp32d -O2 -g -ffunction-sections
 -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration
 -Wstrict-prototypes -Wnested-externs -B./../../lib/libbsp/riscv/griscv
 -B/home/jiri/ibm/src/rtems/rtems/bsps/riscv/griscv/start -specs bsp_specs
 -qrtems -L./../../cpukit
 -L/home/jiri/ibm/src/rtems/rtems/bsps/riscv/shared/start -Wl,--wrap=printf
 -Wl,--wrap=puts -Wl,--wrap=putchar -Wl,--gc-sections -o base_sp.exe
 base_sp/base_sp-init.o base_sp/base_sp-apptask.o
 ./../../lib/libbsp/riscv/griscv/librtemsbsp.a ./../../cpukit/librtemscpu.a
 ./../../cpukit/librtemstest.a
 /home/jiri/src/rtems/6/bin/../lib/gcc/riscv-rtems6/10.2.1
 /../../../../riscv-rtems6/bin/ld: ./../../cpukit/librtemscpu.a(free.o): in
 function `free':
 /home/jiri/ibm/src/rtems/rtems/c/src/../../cpukit/libcsupport/src/free.c:79:
 undefined reference to `RTEMS_Malloc_Heap'

 I updated rsb and rtems from git head and re-built the tool-chain today
 ...

--
Ticket URL: <http://devel.rtems.org/ticket/4128#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list