[RTEMS Project] #3698: libdl failure on many PowerPC BSPs

RTEMS trac trac at rtems.org
Thu Feb 21 16:14:30 UTC 2019


#3698: libdl failure on many PowerPC BSPs
----------------------------+-------------------------
  Reporter:  Joel Sherrill  |      Owner:  Chris Johns
      Type:  defect         |     Status:  assigned
  Priority:  normal         |  Milestone:  5.1
 Component:  lib/dl         |    Version:  5
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+-------------------------
 The following BSPs do not build dl09:

 powerpc-beatnik
 powerpc-brs5l
 powerpc-brs6l
 powerpc-dp2
 powerpc-haleakala
 powerpc-icecube
 powerpc-mcp750
 powerpc-mpc8260ads
 powerpc-mtx603e
 powerpc-mvme2100
 powerpc-mvme2307
 powerpc-mvme3100
 powerpc-mvme5500
 powerpc-pm520_cr825
 powerpc-pm520_ze30
 powerpc-qemuprep-altivec
 powerpc-qemuprep
 powerpc-qoriq_e6500_64
 powerpc-ss555
 powerpc-virtex4
 powerpc-virtex5

 They fail with this:

 {{{
 gmake[5]: Entering directory `/home/joel/rtems-work/rtems-testing/rtems
 /build-powerpc-qemuprep-rtems/powerpc-
 rtems5/c/qemuprep/testsuites/libtests'
 powerpc-rtems5-gcc -mcpu=powerpc -mmultiple -mstring -mstrict-align -O2 -g
 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-
 function-declaration -Wstrict-prototypes -Wnested-externs  -Wl,--gc-
 sections  -mcpu=powerpc -mmultiple -mstring -mstrict-align
 -B./../../lib/libbsp/powerpc/motorola_powerpc -B/home/joel/rtems-work
 /rtems-testing/rtems/rtems/bsps/powerpc/motorola_powerpc/start -specs
 bsp_specs -qrtems -L./../../cpukit -L/home/joel/rtems-work/rtems-
 testing/rtems/rtems/bsps/powerpc/shared/start -Wl,--wrap=printf -Wl,--
 wrap=puts -Wl,--wrap=putchar -o dl01.pre dl01/dl01-init.o dl01/dl01-dl-
 load.o dl01-dl01-tar.o
 ../../lib/libbsp/powerpc/motorola_powerpc/librtemsbsp.a
 ../../cpukit/librtemscpu.a
 /home/joel/rtems-work/tools/5/lib/gcc/powerpc-rtems5/7.4.0
 /../../../../powerpc-rtems5/bin/ld: ../../cpukit/librtemscpu.a(rtl-
 mdreloc-powerpc.o): in function `get_sdata_libdl_size':
 /home/joel/rtems-work/rtems-testing/rtems/build-powerpc-qemuprep-rtems
 /powerpc-
 rtems5/c/qemuprep/cpukit/../../../../../rtems/c/src/../../cpukit/libdl
 /rtl-mdreloc-powerpc.c:73: undefined reference to
 `bsp_section_sdata_libdl_begin'
 /home/joel/rtems-work/tools/5/lib/gcc/powerpc-rtems5/7.4.0
 /../../../../powerpc-rtems5/bin/ld: /home/joel/rtems-work/rtems-
 testing/rtems/build-powerpc-qemuprep-rtems/powerpc-
 rtems5/c/qemuprep/cpukit/../../../../../rtems/c/src/../../cpukit/libdl
 /rtl-mdreloc-powerpc.c:73: undefined reference to
 `bsp_section_sdata_libdl_begin'
 /home/joel/rtems-work/tools/5/lib/gcc/powerpc-rtems5/7.4.0
 /../../../../powerpc-rtems5/bin/ld: /home/joel/rtems-work/rtems-
 testing/rtems/build-powerpc-qemuprep-rtems/powerpc-
 rtems5/c/qemuprep/cpukit/../../../../../rtems/c/src/../../cpukit/libdl
 /rtl-mdreloc-powerpc.c:74: undefined reference to
 `bsp_section_sdata_libdl_end'
 /home/joel/rtems-work/tools/5/lib/gcc/powerpc-rtems5/7.4.0
 /../../../../powerpc-rtems5/bin/ld: /home/joel/rtems-work/rtems-
 testing/rtems/build-powerpc-qemuprep-rtems/powerpc-
 rtems5/c/qemuprep/cpukit/../../../../../rtems/c/src/../../cpukit/libdl
 /rtl-mdreloc-powerpc.c:74: undefined reference to
 `bsp_section_sdata_libdl_end'
 /home/joel/rtems-work/tools/5/lib/gcc/powerpc-rtems5/7.4.0
 /../../../../powerpc-rtems5/bin/ld: ../../cpukit/librtemscpu.a(rtl-
 mdreloc-powerpc.o): in function `get_sdata_sbss_size':
 /home/joel/rtems-work/rtems-testing/rtems/build-powerpc-qemuprep-rtems
 /powerpc-
 rtems5/c/qemuprep/cpukit/../../../../../rtems/c/src/../../cpukit/libdl
 /rtl-mdreloc-powerpc.c:63: undefined reference to
 `bsp_section_sdata_begin'
 /home/joel/rtems-work/tools/5/lib/gcc/powerpc-rtems5/7.4.0
 /../../../../powerpc-rtems5/bin/ld: /home/joel/rtems-work/rtems-
 testing/rtems/build-powerpc-qemuprep-rtems/powerpc-
 rtems5/c/qemuprep/cpukit/../../../../../rtems/c/src/../../cpukit/libdl
 /rtl-mdreloc-powerpc.c:63: undefined reference to
 `bsp_section_sdata_begin'
 /home/joel/rtems-work/tools/5/lib/gcc/powerpc-rtems5/7.4.0
 /../../../../powerpc-rtems5/bin/ld: /home/joel/rtems-work/rtems-
 testing/rtems/build-powerpc-qemuprep-rtems/powerpc-
 rtems5/c/qemuprep/cpukit/../../../../../rtems/c/src/../../cpukit/libdl
 /rtl-mdreloc-powerpc.c:64: undefined reference to `bsp_section_sbss_end'
 /home/joel/rtems-work/tools/5/lib/gcc/powerpc-rtems5/7.4.0
 /../../../../powerpc-rtems5/bin/ld: /home/joel/rtems-work/rtems-
 testing/rtems/build-powerpc-qemuprep-rtems/powerpc-
 rtems5/c/qemuprep/cpukit/../../../../../rtems/c/src/../../cpukit/libdl
 /rtl-mdreloc-powerpc.c:64: undefined reference to `bsp_section_sbss_end'
 collect2: error: ld returned 1 exit status
 }}}

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


More information about the bugs mailing list