[RTEMS Project] #2258: Some PowerPC BSPs fail to link dl01/dl02

RTEMS trac trac at rtems.org
Tue Feb 10 18:15:26 UTC 2015


#2258: Some PowerPC BSPs fail to link dl01/dl02
---------------------------+--------------------
 Reporter:  joel.sherrill  |      Owner:  chrisj
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.11
Component:  General        |    Version:  4.11
 Severity:  normal         |   Keywords:
---------------------------+--------------------
 This has been mentioned on the devel list before but did not get an
 answer. The following BSPs are impacted:

 gwlcfm
 mpc5566evb
 mpc5566evb_spe
 mpc5643l_dpu
 mpc5643l_evb
 mpc5668g
 mpc5674f_ecu508_app
 mpc5674f_ecu508_boot
 mpc5674fevb
 mpc5674fevb_spe
 mpc5674f_rsm6
 multilib
 phycore_mpc5554
 qoriq_core_0
 qoriq_core_1
 qoriq_p1020rdb
 qoriq_t2080rdb
 qoriq_t4240rdb


 powerpc-rtems4.11-gcc -B../../../../../gwlcfm/lib/ -specs bsp_specs
 -qrtems -mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-float -mno-spe
 -D__ppc_generic -mstrict-align -O2 -g -fno-keep-inline-functions -Wall
 -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
 -Wnested-externs    -mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-
 float -mno-spe -D__ppc_generic -mstrict-align   \
             -o dl02.exe init.o dl-load.o dl-tar.o dl-sym.o
 /users/joel/rtems-4.11-work/tools/lib/gcc/powerpc-rtems4.11/4.9.2
 /../../../../powerpc-rtems4.11/bin/ld: dl-sym.o: the target
 (rtems__rtl_base_globals_size) of a R_PPC_SDAREL16 relocation is in the
 wrong output section (.rodata)
 dl-sym.o: In function `rtems_rtl_base_global_syms_init':
 rld--uwaaaa.c:(.text+0x2): relocation truncated to fit: R_PPC_SDAREL16
 against `rtems__rtl_base_globals_size'

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


More information about the bugs mailing list