#570 closed defect (fixed)

powerpc/mvme2307 - Link problems

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: bsps Version: 4.7
Severity: major Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

With CVS trunk

/opt/rtems-4.7/lib/gcc-lib/powerpc-rtems4.7/3.3.2/../../../../powerpc-rtems4.7/bin/ld: ../../../../../mvme2307/lib/librtemsbsp.a(vectors.rel): the target (globalExceptHdl) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)
/opt/rtems-4.7/lib/gcc-lib/powerpc-rtems4.7/3.3.2/../../../../powerpc-rtems4.7/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake[4]: * [o-optimize/hello.exe] Error 1
gmake[4]: Leaving directory `/users/rtems/src/rtems-cvs/build/powerpc/powerpc-rtems4.7/c/mvme2307/testsuites/samples/hello'
g

Release:
RTEMS-4.7

Environment:
gcc-3.3.2/binutils-2.14

How-To-Repeat:
Just build the BSP.

Attachments (1)

pr570.diff (660 bytes) - added by Ralf Corsepius on Dec 3, 2006 at 1:31:12 PM.
pr570.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Feb 26, 2004 at 4:27:58 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Attached patch committed.

Apparently, the -msdata=eabi isn't worked out completely
with the vectors. I am suspicious that the new building
scheme which makes relocatables, then puts those in the
library may be contributing.

Changed on Dec 3, 2006 at 1:31:12 PM by Ralf Corsepius

Attachment: pr570.diff added

pr570.diff

Note: See TracTickets for help on using tickets.