[RTEMS Project] #4002: Beaglebone and PC BSP stacks do not build

RTEMS trac trac at rtems.org
Mon Jun 15 06:43:29 UTC 2020


#4002: Beaglebone and PC BSP stacks do not build
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  highest      |   Milestone:  5.1
Component:  bsps         |     Version:  5
 Severity:  blocker      |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:  3985         |
-------------------------+---------------------

Comment (by Chris Johns):

 Replying to [comment:6 Sebastian Huber]:
 > Replying to [comment:5 Chris Johns]:
 > > Replying to [comment:3 Sebastian Huber]:
 > > > I have a different Autoconf command line:
 > > > {{{
 > > > configure:3322: checking whether the C compiler works
 > > > configure:3344: arm-rtems5-gcc -qrtems -B/scratch/git-rtems-source-
 builder/rtems/build/tmp/sb-10000-staging/arm-rtems5/lib/ -B/scratch/git-
 rtems-source-builder/rtems/build/tmp/sb-10000-staging/arm-
 rtems5/beagleboneblack/lib/ --specs bsp_specs -mcpu=cortex-a8 -O2 -g
 -ffunction-sections -fdata-sections  -DSQLITE_MAX_MMAP_SIZE=0
 -DSQLITE_DEFAULT_LOCKING_MODE=1 -DSQLITE_ENABLE_MEMSYS5 -I/scratch/git-
 rtems-source-builder/rtems/build/tmp/sb-10000-staging/arm-
 rtems5/beagleboneblack/lib/include -L/scratch/git-rtems-source-
 builder/rtems/build/tmp/sb-10000-staging/arm-rtems5/beagleboneblack/lib
 -mcpu=cortex-a8   -Wl,--gc-sections -L/scratch/git-rtems-source-
 builder/rtems/build/tmp/sb-10000/databases/sqlite/build/rtems/5.1/lib
 conftest.c -lbsd -lm -lz -lrtemsdefaultconfig
 > > > }}}
 > > > Please note that there is an -lrtemsdefaultconfig which I don't see
 in the original report.
 > >
 > > Where does that library get inserted into the libraries list for an
 autoconf test link?

 This library is a requirement for `rtems-libbsd`. The check is in `rtems
 /rtems-bsp.cfg`. I wonder is this test is broken ...
 {{{
 %define rtems-defaultconfig %{rtems-dep-check} -L %{rtems_bsp_libpath} -l
 librtemsdefaultconfig.a)
 %if %{rtems-defaultconfig} == found
  %define rtems_bsp_libs %{rtems_bsp_libs} -lrtemsdefaultconfig
 %endif
 }}}

 > I have an unmodified RSB (cbae90a5817a6b66f8d576b7e95c7df46c5f0833).

 The only difference is the RTEMS 6 tools update.

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


More information about the bugs mailing list