On Tue, 2013-11-19 12:08:05 -0500, Diego Novillo <[email protected]> wrote: > On Tue, Nov 19, 2013 at 12:03 PM, Jan-Benedict Glaw <[email protected]> wrote: > > On Tue, 2013-11-19 10:20:48 -0500, Diego Novillo <[email protected]> > > wrote: [config-list.mk] > >> Would this be hard to set up in your buildbots? > > > > I haven't ever directly used config-list.mk, so I'm just guessing > > around here :) > > > > Starting from making it work, different host-local options may need > > to be set (cf. "host_options='--with-mpc=/opt/cfarm/mpc' # gcc10" > > found in that file.) > > Well, you need that for your other builds anyway, right? Everything > needs a working gmp/mpfr/mpc. Anything that is optional does not need > to be done with this script.
That may be in different places. For the cfarm machines, that location
is quite stable, but that doesn't make it globally correct.
> > Additional to that, it needs a combined tree, right? Shouldn't be
> > much of a problem.
>
> No. It just needs a relatively recent set of tools on the host (gcc,
> binutils, etc)
Ah, it's just building GCC itself, without binutils and eg. libgcc
etc. Just didn't really notice.
> > With Ada and Go (as well as `all' languages), there are quite a few
> > more dependencies, so I guess I wouldn't like to run it on all hosts.
>
> We don't need to test Ada and Go with the buildbots.
...but I think it would be quite fun to do!
> Really, the only thing interesting about the script is the broad set
> of targets it uses. If you just added them to the schedule of builds,
> that should be sufficient. We could even decide not to add all of
> them. And certainly take out the ones that just don't build as-is.
When I made that target list used in Build Robot, I actually took
quite a few from config-list.mk . However, I usually stripped off
all the ABI variants, leaving <cpu>-linux or <cpu>-elf for most of
them.
So really, I think this is a good idea to work on. Though due to
-Werror, there'll be some fun stuff (aarch64-elf here, but all others
will probably equally affected:
g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/.
-I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../../gcc/gcc/../libbacktrace -DCLOOG_INT_GMP -o
langhooks.o -MT langhooks.o -MMD -MP -MF ./.deps/langhooks.TPo
../../../gcc/gcc/langhooks.c
../../../gcc/gcc/langhooks.c: In function ‘void
lhd_print_error_function(diagnostic_context*, const char*, diagnostic_info*)’:
../../../gcc/gcc/langhooks.c:460:41: error: unknown conversion type character
‘r’ in format [-Werror=format=]
"locus", s.file, s.line, s.column);
^
../../../gcc/gcc/langhooks.c:460:41: error: format ‘%d’ expects argument of
type ‘int’, but argument 5 has type ‘const char*’ [-Werror=format=]
../../../gcc/gcc/langhooks.c:460:41: error: unknown conversion type character
‘R’ in format [-Werror=format=]
../../../gcc/gcc/langhooks.c:460:41: error: too many arguments for format
[-Werror=format-extra-args]
../../../gcc/gcc/langhooks.c:465:31: error: unknown conversion type character
‘r’ in format [-Werror=format=]
"locus", s.file, s.line);
^
../../../gcc/gcc/langhooks.c:465:31: error: format ‘%d’ expects argument of
type ‘int’, but argument 5 has type ‘const char*’ [-Werror=format=]
../../../gcc/gcc/langhooks.c:465:31: error: unknown conversion type character
‘R’ in format [-Werror=format=]
../../../gcc/gcc/langhooks.c:465:31: error: too many arguments for format
[-Werror=format-extra-args]
cc1plus: all warnings being treated as errors
make[2]: *** [langhooks.o] Error 1
$ g++ --version
g++ (Debian 4.8.1-7) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
MfG, JBG
--
Jan-Benedict Glaw [email protected] +49-172-7608481
Signature of: http://perl.plover.com/Questions.html
the second :
signature.asc
Description: Digital signature
