Bug 48595 - score-elf fails to build with --enable-werror-always
Summary: score-elf fails to build with --enable-werror-always
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks: enable-werror-always
  Show dependency treegraph
 
Reported: 2011-04-13 20:41 UTC by Jorn Wolfgang Rennecke
Modified: 2019-08-09 17:18 UTC (History)
1 user (show)

See Also:
Host:
Target: score-elf
Build:
Known to work:
Known to fail: 4.7.0, 4.8.0
Last reconfirmed: 2019-08-09 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorn Wolfgang Rennecke 2011-04-13 20:41:47 UTC
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes  -Wmissing-format-attribute -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I.. -I. -Iada -I../../../gcc/gcc -I../../../gcc/gcc/ada -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include  -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber    ../../../gcc/gcc/ada/gcc-interface/targtyps.c -o ada/targtyps.o
In file included from ./tm_p.h:5:0,
                 from ../../../gcc/gcc/ada/gcc-interface/targtyps.c:33:
./tm-preds.h:69:0: error: "CONSTRAINT_LEN" redefined [-Werror]
../../../gcc/gcc/defaults.h:956:0: note: this is the location of the previous definition
./tm-preds.h:72:0: error: "REG_CLASS_FROM_CONSTRAINT" redefined [-Werror]
../../../gcc/gcc/defaults.h:969:0: note: this is the location of the previous definition
./tm-preds.h:86:0: error: "EXTRA_MEMORY_CONSTRAINT" redefined [-Werror]
../../../gcc/gcc/defaults.h:940:0: note: this is the location of the previous definition
./tm-preds.h:88:0: error: "EXTRA_ADDRESS_CONSTRAINT" redefined [-Werror]
../../../gcc/gcc/defaults.h:946:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors

make[2]: *** [ada/targtyps.o] Error 1
make[2]: *** Waiting for unfinished jobs....



score has a constraints.md, yet defines REG_CLASS_FROM_LETTER.
Comment 1 Eric Gallager 2019-02-09 15:51:04 UTC
does this still happen?
Comment 2 Eric Gallager 2019-08-09 04:19:18 UTC
(In reply to Eric Gallager from comment #1)
> does this still happen?

WAITING on a reply
Comment 3 jsm-csl@polyomino.org.uk 2019-08-09 17:11:40 UTC
The score port was removed in 2014.  All open bugs for it should have been 
closed at that time.
Comment 4 Eric Gallager 2019-08-09 17:18:12 UTC
(In reply to joseph@codesourcery.com from comment #3)
> The score port was removed in 2014.  All open bugs for it should have been 
> closed at that time.

ah ok; closing this one now then.