Opened on 03/14/18 at 18:45:58
Closed on 12/20/19 at 06:17:26
#3339 closed defect (fixed)
Several PowerPC linker commands do not support constructors/destructors with priority
Reported by: | Joel Sherrill | Owned by: | Sebastian Huber <sebastian.huber@…> |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | arch/powerpc | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
This BSP shouldn't have trouble linking any of the tests so I was surprised at this failure.
gmake[6]: Entering directory `/data/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-qemuppc-rtems/powerpc-rtems5/c/qemuppc/testsuites/sptests/spglobalcon02'
powerpc-rtems5-gcc -mcpu=603e -Dppc603e -O2 -g -fno-keep-inline-functions -mcpu=603e -Dppc603e -B/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-qemuppc-rtems/powerpc-rtems5/c/qemuppc/lib/libbsp/powerpc/qemuppc -B/home/joel/rtems-work/rtems-testing/rtems/rtems/c/src/lib/libbsp/powerpc/qemuppc/startup/ -specs bsp_specs -qrtems -L../../../../../qemuppc/lib -L/home/joel/rtems-work/rtems-testing/rtems/rtems/c/src/lib/libbsp/powerpc/shared/startup -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar -o spglobalcon02.exe init.o
/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/powerpc-rtems5/7.3.0/../../../../powerpc-rtems5/bin/ld: section .ctors.64535 LMA [00000000ffc19780,00000000ffc19783] overlaps section .sdata LMA [00000000ffc19780,00000000ffc19807]
collect2: error: ld returned 1 exit status
gmake[6]: * [spglobalcon02.exe] Error 1
gmake[6]: Leaving directory `/data/home/joel/rtems-work/rtems-testing/rtems/build-powerpc-qemuppc-rtems/powerpc-rtems5/c/qemuppc/testsuites/sptests/spglobalcon02'
gmake[5]: * [spglobalcon02] Error 2
Change History (7)
comment:1 Changed on 03/16/18 at 14:12:46 by Sebastian Huber <sebastian.huber@…>
comment:2 Changed on 03/16/18 at 14:12:56 by Sebastian Huber <sebastian.huber@…>
Owner: | set to Sebastian Huber <sebastian.huber@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In 2e5cf7f/rtems:
comment:3 Changed on 03/17/18 at 10:08:19 by Sebastian Huber
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Summary: | qemuppc fails to link spglobalcon02 → Several PowerPC linker commands do not support constructors/destructors with priority |
comment:7 Changed on 12/20/19 at 06:17:26 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
In 86abbb6e/rtems:
In 9860cc7/rtems: