#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:


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}}
./arm-rtems/3.1/specs:%{!shared:%{g*:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}
./h8300-rtems/3.1/specs:%{mrelax:-relax} %{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}

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

[Not yet checked for sh and hppa.1]

gcc-3.1 (prereleases)

Attachments (1)

rtems-rc-20020515-1.diff (8.7 KB) - added by Ralf Corsepius on 12/03/06 at 13:31:13.

Download all attachments as: .zip

Change History (2)

comment:1 Changed on 05/15/02 at 15:38:31 by Joel Sherrill

Status: assignedclosed

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

Changed on 12/03/06 at 13:31:13 by Ralf Corsepius

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


Note: See TracTickets for help on using tickets.