Tuesday, 3 December 2013

Re: AGM minutes

On Tue, 3 Dec 2013 18:38:24 +0000, Rob Kendrick wrote:

> On Tue, Dec 03, 2013 at 06:17:37PM +0000, Chris Young wrote:
> > On Tue, 03 Dec 2013 12:32:27 +0000 (GMT), Michael Drake wrote:
> >
> > > > AI: Chris to sort out Spidermonkey for the Amiga cross-toolchain
> > >
> > > Any movement on these?
> >
> > I built a new Linux Mint VM from scratch, and still can't get the
> > ppc-amigaos toolchain to build.
>
> Paste your commands and output into an email?

This is the end of the output, I'm just building using make -C
ppc-amigaos :-

libtool: compile: gcc -DHAVE_CONFIG_H -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I. -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/../include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -m32 -c
-DDEBUGDIR=\"/opt/netsurf/ppc-amigaos/cross/lib/debug\"
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/dwarf2.c
-o dwarf2.o
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I. -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/../include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -m32 -c -o
simple.lo
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/simple.c
libtool: compile: gcc -DHAVE_CONFIG_H -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I. -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/../include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -m32 -c
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/simple.c
-o simple.o
rm -f elf32-target.h
sed -e s/NN/32/g <
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/elfxx-target.h
> elf32-target.new
mv -f elf32-target.new elf32-target.h
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I. -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/../include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -m32 -c -o
elf32-amigaos.lo
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/elf32-amigaos.c
libtool: compile: gcc -DHAVE_CONFIG_H -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I. -I.
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd
-I/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/../include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -m32 -c
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/elf32-amigaos.c
-o elf32-amigaos.o
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/elf32-amigaos.c:
In function 'ppc_elf_relocate_section':
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/elf32-amigaos.c:6399:2:
error: case value '245' not in enumerated type 'enum elf_ppc_reloc_type'
[-Werror=switch]
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/elf32-amigaos.c:6393:2:
error: case value '246' not in enumerated type 'enum elf_ppc_reloc_type'
[-Werror=switch]
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/elf32-amigaos.c:6375:2:
error: case value '247' not in enumerated type 'enum elf_ppc_reloc_type'
[-Werror=switch]
/home/chris/netsurf/toolchains/ppc-amigaos/builddir/srcdir/binutils/bfd/elf32-amigaos.c:6374:2:
error: case value '248' not in enumerated type 'enum elf_ppc_reloc_type'
[-Werror=switch]
cc1: all warnings being treated as errors
make[5]: *** [elf32-amigaos.lo] Error 1
make[5]: Leaving directory
`/home/chris/netsurf/toolchains/ppc-amigaos/builddir/binutils/bfd'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/chris/netsurf/toolchains/ppc-amigaos/builddir/binutils/bfd'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/chris/netsurf/toolchains/ppc-amigaos/builddir/binutils/bfd'
make[2]: *** [all-bfd] Error 2
make[2]: Leaving directory
`/home/chris/netsurf/toolchains/ppc-amigaos/builddir/binutils'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/chris/netsurf/toolchains/ppc-amigaos/builddir/binutils'
make: ***
[/home/chris/netsurf/toolchains/ppc-amigaos/builddir/build-steps/binutils.d]
Error 2
make: Leaving directory `/home/chris/netsurf/toolchains/ppc-amigaos'
chris@mint-vm-on-poseidon ~/netsurf/toolchains $

> Also, the autobuilder runs Debian. Mint have broken plenty of stuff;
> the build environment may be one of them.

It's possible, but in this case it looks like the gcc headers are
wrong from the source tree. Not quite sure how that could be the case
though.

Chris

No comments:

Post a Comment