[RTEMS Project] #3944: qoriq_e500 BSP bset fails

RTEMS trac trac at rtems.org
Thu Apr 9 10:18:04 UTC 2020


#3944: qoriq_e500 BSP bset fails
---------------------------+------------------------------
 Reporter:  Joel Sherrill  |       Owner:  Sebastian Huber
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  5.1
Component:  bsps           |     Version:  5
 Severity:  normal         |  Resolution:
 Keywords:                 |  Blocked By:
 Blocking:                 |
---------------------------+------------------------------

Comment (by Sebastian Huber):

 The configure check doesn't use the linker garbage collection and this
 leads to undefined symbols:
 {{{
 configure:6802: powerpc-rtems5-gcc -o conftest -qrtems -B/scratch/git-
 rtems-source-builder/rtems/build/tmp/sb-10000-staging/powerpc-rtems5/lib/
 -B/scratch/git-rtems-source-builder/rtems/build/tmp/sb-10000-staging
 /powerpc-rtems5/qoriq_e500/lib/ --specs bsp_specs -mcpu=8540 -meabi
 -msdata=sysv -fno-common -mstrict-align -mspe -mabi=spe -mfloat-
 gprs=double -O2 -g -ffunction-sections -fdata-sections  -I/scratch/git-
 rtems-source-builder/rtems/build/tmp/sb-10000-staging/powerpc-
 rtems5/qoriq_e500/lib/include -L/scratch/git-rtems-source-
 builder/rtems/build/tmp/sb-10000-staging/powerpc-rtems5/qoriq_e500/lib
 -mcpu=8540 -meabi -msdata=sysv -mstrict-align -mspe -mabi=spe -mfloat-
 gprs=double  -L/scratch/git-rtems-source-
 builder/rtems/build/tmp/sb-10000/ftp/curl/build/rtems/bset-test/lib
 conftest.c -lbsd -lm -lz -lrtemsdefaultconfig >&5
 /scratch/git-rtems-source-
 builder/rtems/build/tmp/sb-10000-staging/bin/../lib/gcc/powerpc-
 rtems5/7.5.0/../../../../powerpc-rtems5/bin/ld: /scratch/git-rtems-source-
 builder/rtems/build/tmp/sb-10000-staging/powerpc-
 rtems5/qoriq_e500/lib/libbsd.a(ofw_subr.c.18.o): in function
 `_bsd_ofw_parse_bootargs':
 /scratch/git-rtems-source-builder/rtems/build/rtems-libbsd-
 v816a2f912f414f39467a6be901a96159f806c01d-x86_64-linux-gnu-1/rtems-libbsd-
 816a2f912f414f39467a6be901a96159f806c01d/build/powerpc-
 rtems5-qoriq_e500-default/../../freebsd/sys/dev/ofw/ofw_subr.c:207:
 undefined reference to `boot_parse_cmdline'
 /scratch/git-rtems-source-
 builder/rtems/build/tmp/sb-10000-staging/bin/../lib/gcc/powerpc-
 rtems5/7.5.0/../../../../powerpc-rtems5/bin/ld: /scratch/git-rtems-source-
 builder/rtems/build/rtems-libbsd-
 v816a2f912f414f39467a6be901a96159f806c01d-x86_64-linux-gnu-1/rtems-libbsd-
 816a2f912f414f39467a6be901a96159f806c01d/build/powerpc-
 rtems5-qoriq_e500-default/../../freebsd/sys/dev/ofw/ofw_subr.c:207:
 undefined reference to `boothowto'
 /scratch/git-rtems-source-builder/rtems/build/rtems-libbsd-
 v816a2f912f414f39467a6be901a96159f806c01d-x86_64-linux-gnu-1/rtems-libbsd-
 816a2f912f414f39467a6be901a96159f806c01d/build/powerpc-
 rtems5-qoriq_e500-default/../../freebsd/sys/dev/ofw/ofw_subr.c:207:(.text._bsd_ofw_parse_bootargs+0x4a):
 unresolvable R_PPC_SDAREL16 relocation against symbol `boothowto'
 /scratch/git-rtems-source-
 builder/rtems/build/tmp/sb-10000-staging/bin/../lib/gcc/powerpc-
 rtems5/7.5.0/../../../../powerpc-rtems5/bin/ld: /scratch/git-rtems-source-
 builder/rtems/build/rtems-libbsd-
 v816a2f912f414f39467a6be901a96159f806c01d-x86_64-linux-gnu-1/rtems-libbsd-
 816a2f912f414f39467a6be901a96159f806c01d/build/powerpc-
 rtems5-qoriq_e500-default/../../freebsd/sys/dev/ofw/ofw_subr.c:207:
 undefined reference to `boothowto'
 /scratch/git-rtems-source-builder/rtems/build/rtems-libbsd-
 v816a2f912f414f39467a6be901a96159f806c01d-x86_64-linux-gnu-1/rtems-libbsd-
 816a2f912f414f39467a6be901a96159f806c01d/build/powerpc-
 rtems5-qoriq_e500-default/../../freebsd/sys/dev/ofw/ofw_subr.c:207:(.text._bsd_ofw_parse_bootargs+0x5a):
 unresolvable R_PPC_SDAREL16 relocation against symbol `boothowto'
 }}}

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


More information about the bugs mailing list