#209 closed defect (fixed)

*-rtems-gcc-3.1 applies libg.a

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: highest Milestone: 2
Component: tool Version: unknown
Severity: critical Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:
Blocking:

Description

gcc-3.1 for arm-rtems, i386-rtems and h8300-rtems want to link against libg.a instead of libc.a:

find . -path '*3.1/specs' -exec grep -H '\-lg' {} \;
./i386-rtems/3.1/specs:%{!shared:%{g*:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}
./i386-rtems/3.1/specs:-lgcc
./arm-rtems/3.1/specs:%{!shared:%{g*:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}
./arm-rtems/3.1/specs:-lgcc
./h8300-rtems/3.1/specs:%{mrelax:-relax} %{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}
./h8300-rtems/3.1/specs:-lgcc

Sparc, m68k, mips and powerpc do not apply libg.a.

[Not yet checked for sh and hppa.1]

Release:
gcc-3.1 (prereleases)

Attachments (1)

rtems-rc-20020515-1.diff (8.7 KB) - added by Ralf Corsepius on Dec 3, 2006 at 1:31:13 PM.
rtems-rc-20020515-1.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on May 15, 2002 at 3:38:31 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: analyzed->closed
State-Changed-Why: Patch applied. Thanks Ralf.

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

Attachment: rtems-rc-20020515-1.diff added

rtems-rc-20020515-1.diff

Note: See TracTickets for help on using tickets.