public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/2951: --target=sh-elf fails to build due to missing patch
@ 2001-05-25 18:06 tm2
  0 siblings, 0 replies; only message in thread
From: tm2 @ 2001-05-25 18:06 UTC (permalink / raw)
  To: gcc-gnats; +Cc: aoliva

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-25 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-25 18:06 c/2951: --target=sh-elf fails to build due to missing patch tm2

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).