public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hp@bitrange.com>
To: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: werror fallout for cross-builds (was: Re: [BUILDROBOT][PATCH] Fix mmix (unused variable))
Date: Thu, 24 Jul 2014 20:56:00 -0000	[thread overview]
Message-ID: <alpine.BSF.2.02.1407241445400.51457@arjuna.pair.com> (raw)
In-Reply-To: <20140724003921.GG21544@lug-owl.de>

On Thu, 24 Jul 2014, Jan-Benedict Glaw wrote:
> On Tue, 2014-07-22 16:40:31 -0400, Hans-Peter Nilsson <hp@bitrange.com> wrote:
> > Jan-Benedict, which host gcc version do you use when getting
> > most targets to build with config-list.mk?  Maybe we can just
> > set the initial version to that instead of 4.4.4.
>
> darkeye		gcc (Debian 4.8.1-7) 4.8.1
> gccbuild	gcc (Debian 4.8.1-7) 4.8.1
> pluto		gcc (Debian 4.9.1-1) 4.9.1
> gcc20		gcc (Debian 4.4.5-8) 4.4.5
> gcc76		gcc (Debian 4.4.5-8) 4.4.5
> gcc110		gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8)
> gcc111		gcc (GCC) 4.8.1
> 		XL 12.1.0.0 (if I ever get that properly working...)

I tried to repeat that, for the CFarm hosts.  On gcc111 trying
config-list.mk on the 0720 snapshot (and with mpc, mpfr and gmp
in-tree) gives me: "configure: error: GNAT is required to build
ada" already for aarch64-unknown-elf.  Somewhat expected, as I
don't think many of the targets in the config-list.mk LIST have
Ada bits ported, but maybe there are no Ada specific bits needed
to build the GNAT compiler proper, just a host GNAT.

On gcc110 which *has* gnat, I get:

/gcc/o/aarch64-elf/./mpfr -I/home/hp/gcc/gcc/mpfr -I/opt/cfarm/mpc/include  -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../../gcc/gcc/../libbacktrace    -o dwarf2out.o -MT dwarf2out.o -MMD -MP -MF ./.deps/dwarf2out.TPo ../../../gcc/gcc/dwarf2out.c
In file included from ../../../gcc/gcc/real.h:25:0,
                 from ../../../gcc/gcc/rtl.h:27,
                 from ../../../gcc/gcc/dwarf2out.c:62:
../../../gcc/gcc/wide-int.h: In function 'void insert_wide_int(const wide_int&, unsigned char*, int)':
../../../gcc/gcc/wide-int.h:800:48: error: array subscript is above array bounds [-Werror=array-bounds]
cc1plus: all warnings being treated as errors
gmake[2]: *** [dwarf2out.o] Error 1
gmake[2]: Leaving directory `/home/hp/gcc/o/aarch64-elf/gcc'

By that list, did you really mean that you got even 4.4.5 to
work on an unmodified config-list.mk?

Perhaps you have local patches or did you call config-list.mk
with some kind of options?  Maybe you didn't actually use
config-list.mk?  Or just looked to see whether the first failure
for each target was on a target-specific file or the (same)
middle-end bits?  Ok, I'm out of guesses. :)

> > For reference, the patch, which works as intended (-Werror in
> > the gcc build directory for cross-builds by default, not
> > affecting native builds and not at all for gcc < 4.4.4).  (Vax
> > is excepted, see J-B's previous post.)  I'd ask for approval
>
> VAX sould work, it's pdp11 that I said wouldn't.

Sorry I misremembered.

brgds, H-P

  reply	other threads:[~2014-07-24 20:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-18  5:04 [BUILDROBOT][PATCH] Fix mmix (unused variable) Jan-Benedict Glaw
2014-07-18  8:08 ` Hans-Peter Nilsson
2014-07-18 13:11   ` Jan-Benedict Glaw
2014-07-19  6:42     ` Hans-Peter Nilsson
2014-07-19 17:27       ` Jan-Benedict Glaw
2014-07-22 13:01       ` Richard Biener
2014-07-22 20:49         ` werror fallout for cross-builds (was: Re: [BUILDROBOT][PATCH] Fix mmix (unused variable)) Hans-Peter Nilsson
2014-07-22 22:12           ` werror fallout for cross-builds Andreas Schwab
2014-07-23  0:09           ` werror fallout for cross-builds (was: Re: [BUILDROBOT][PATCH] Fix mmix (unused variable)) Mike Stump
2014-07-23  2:54             ` Hans-Peter Nilsson
2014-07-23  8:06               ` Mike Stump
2014-07-24 11:13                 ` Maciej W. Rozycki
2014-07-24  0:42           ` Jan-Benedict Glaw
2014-07-24 20:56             ` Hans-Peter Nilsson [this message]
2014-07-25  9:58               ` Jan-Benedict Glaw
2014-07-25 16:51                 ` Hans-Peter Nilsson
2014-07-26 17:33                   ` Hans-Peter Nilsson
2014-08-22 11:55                     ` Jan-Benedict Glaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.BSF.2.02.1407241445400.51457@arjuna.pair.com \
    --to=hp@bitrange.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jbglaw@lug-owl.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).