c/2951: --target=sh-elf fails to build due to missing patch
tm2@best.com
tm2@best.com
Fri May 25 18:06:00 GMT 2001
>Number: 2951
>Category: c
>Synopsis: --target=sh-elf fails to build due to missing patch
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 25 18:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Toshi Morita
>Release: 3.0-branch
>Organization:
>Environment:
i686-linux (RH 7.l0)
>Description:
GCC fails to build for --target=sh-elf:
gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc-3.0-20010525/gcc -I../../gcc-3.0-20010525/gcc/. -I../../gcc-3.0-20010525/gcc/config -I../../gcc-3.0-20010525/gcc/../include ../../gcc-3.0-20010525/gcc/dwarf2out.c -o dwarf2out.o
../../gcc-3.0-20010525/gcc/dwarf2out.c: In function `dwarf2out_frame_debug':
../../gcc-3.0-20010525/gcc/dwarf2out.c:1598: `ACCUMULATE_OUTGOING_ARGS' undeclared (first use in this function)
../../gcc-3.0-20010525/gcc/dwarf2out.c:1598: (Each undeclared identifier is reported only once
../../gcc-3.0-20010525/gcc/dwarf2out.c:1598: for each function it appears in.)
../../gcc-3.0-20010525/gcc/dwarf2out.c: In function `output_call_frame_info':
../../gcc-3.0-20010525/gcc/dwarf2out.c:1777: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc-3.0-20010525/gcc/dwarf2out.c: In function `int_loc_descriptor':
../../gcc-3.0-20010525/gcc/dwarf2out.c:7075: warning: integer constant is unsigned in ANSI C, signed with -traditional
../../gcc-3.0-20010525/gcc/dwarf2out.c:7087: warning: integer constant is unsigned in ANSI C, signed with -traditional
make[1]: *** [dwarf2out.o] Error 1
make[1]: Leaving directory `/home/tm/gcc-3.0-beta/gcc-build-sh-elf/gcc'
make: *** [all-gcc] Error 2
This patch from CVS head needs to be backported to 3.0:
2001-03-18 Richard Henderson <rth@redhat.com>
* defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
* calls.c: ... here.
* combine.c, expr.c, final.c, function.c toplev.c: Don't provide
defaults for them here.
Toshi
>How-To-Repeat:
./configure --target=sh-elf ; make
>Fix:
Backport this patch:
001-03-18 Richard Henderson <rth@redhat.com>
* defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
* calls.c: ... here.
* combine.c, expr.c, final.c, function.c toplev.c: Don't provide
defaults for them here.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list