#717 closed defect (fixed)

motorola_powerppc bootloader miscompiled

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: high Milestone: 2
Component: bsps Version: 4.6
Severity: critical Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

The motorola_powerpc/bootloader/Makefile.am is seriously broken:
BOOTLOADER_CPU_FLAGS=$(subst -msdata=eabi$(subst -meabi$(CPU_CFLAGS)))

AM_CPPFLAGS = -DBOOT -DDEBUG
AM_CFLAGS = \

$(GCC_SPECS) -specs bsp_specs -qrtems -mrelocatable \
-msoft-float -mstrict-align -fno-builtin -Wall -mmultiple \
-mstring -O2 -fomit-frame-pointer -ffixed-r13 -mno-sdata \

+ $(BOOTLOADER_CPU_CFLAGS)

AM_CCASFLAGS = $(AM_CPPFLAGS) \

$(GCC_SPECS) -specs bsp_specs -qrtems -mrelocatable \

+ -DASM $(BOOTLOADER_CPU_CFLAGS)

It sets up BOOTLOADER_CPU_FLAGS, but uses BOOTLOADER_CPU_CFLAGS (Note _FLAGS vs. _CFLAGS).

=> All bootloaders get miscompiled

According to CVS history, this bug is present and affects all versions of RTEMS since 2003/03/27

Release:
4.6.x, CVS

Change History (1)

comment:1 Changed on May 20, 2005 at 6:54:46 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Reviewing the graveyard of old PRs, I realized this should
have been applied to 4.6 and closed. Applied and closed.

Note: See TracTickets for help on using tickets.