[haiku-development] Buildtools Error on Mac OS X 10.11

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Wed, 9 Jan 2019 16:28:50 -0800

Hey,

Recently I've been receiving an error trying to compile buildtools on
Mac OS X 10.11, not even Haiku, buildtools are failing trying to
compile GCC (using clang). It doesn't seem to matter if I build gcc2h
or x86_64 buildtools, either way I get the same error. Any ideas?

rm -f libcpp.a
ar cru libcpp.a charset.o directives.o directives-only.o errors.o
expr.o files.o identifiers.o init.o lex.o line-map.o macro.o mkdeps.o
pch.o symtab.o traditional.o
ranlib libcpp.a
mkdir -p -- ./libdecnumber
Configuring in ./libdecnumber
configure: creating cache ./config.cache
checking whether make sets $(MAKE)... yes
checking for x86_64-apple-darwin15.6.0-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for x86_64-apple-darwin15.6.0-ranlib... ranlib
checking for aclocal... :
checking for autoconf... autoconf
checking for autoheader... autoheader
checking whether gcc supports -W... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wcast-qual... yes
checking whether gcc supports -pedantic -Wlong-long... yes
checking whether gcc supports -fno-lto... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in gstdint.h... stdint.h (already complete)
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking size of int... 4
checking size of long... 8
checking for ANSI C header files... (cached) yes
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking target system type... i586-pc-haiku
checking for decimal floating point... configure: WARNING: decimal
float is not supported for this target, ignored
dpd
checking whether byte ordering is bigendian... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing gstdint.h commands
Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
source='/Volumes/Haiku/buildtools/gcc/libdecnumber/decNumber.c'
object='decNumber.o' libtool=no gcc
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.  -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -Wcast-qual
-pedantic -Wno-long-long  -fno-lto
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.   -c
/Volumes/Haiku/buildtools/gcc/libdecnumber/decNumber.c
source='/Volumes/Haiku/buildtools/gcc/libdecnumber/decContext.c'
object='decContext.o' libtool=no gcc
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.  -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -Wcast-qual
-pedantic -Wno-long-long  -fno-lto
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.   -c
/Volumes/Haiku/buildtools/gcc/libdecnumber/decContext.c
source='/Volumes/Haiku/buildtools/gcc/libdecnumber/dpd/decimal32.c'
object='decimal32.o' libtool=no gcc
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.  -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -Wcast-qual
-pedantic -Wno-long-long  -fno-lto
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.   -c
/Volumes/Haiku/buildtools/gcc/libdecnumber/dpd/decimal32.c
source='/Volumes/Haiku/buildtools/gcc/libdecnumber/dpd/decimal64.c'
object='decimal64.o' libtool=no gcc
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.  -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -Wcast-qual
-pedantic -Wno-long-long  -fno-lto
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.   -c
/Volumes/Haiku/buildtools/gcc/libdecnumber/dpd/decimal64.c
source='/Volumes/Haiku/buildtools/gcc/libdecnumber/dpd/decimal128.c'
object='decimal128.o' libtool=no gcc
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.  -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -Wcast-qual
-pedantic -Wno-long-long  -fno-lto
-I/Volumes/Haiku/buildtools/gcc/libdecnumber -I.   -c
/Volumes/Haiku/buildtools/gcc/libdecnumber/dpd/decimal128.c
rm -f libdecnumber.a
ar cru libdecnumber.a decNumber.o decContext.o decimal32.o decimal64.o
decimal128.o
ranlib libdecnumber.a
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh /Volumes/Haiku/buildtools/gcc/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
HEADERS="options.h insn-constants.h config/vxworks-dummy.h
config/i386/i386.h config/i386/unix.h config/i386/att.h
config/dbxelf.h config/elfos.h config/haiku.h config/i386/haiku.h
config/haiku-stdint.h config/initfini-array.h defaults.h"
DEFINES="USE_IX86_FRAME_POINTER=1 LIBC_GLIBC=1 LIBC_UCLIBC=2
LIBC_BIONIC=3 LIBC_MUSL=4" \
/bin/sh /Volumes/Haiku/buildtools/gcc/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="config/i386/i386-protos.h tm-preds.h" DEFINES="" \
/bin/sh /Volumes/Haiku/buildtools/gcc/gcc/mkconfig.sh tm_p.h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh /Volumes/Haiku/buildtools/gcc/gcc/mkconfig.sh bconfig.h
g++ -c   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/Volumes/Haiku/buildtools/gcc/gcc
-I/Volumes/Haiku/buildtools/gcc/gcc/build
-I/Volumes/Haiku/buildtools/gcc/gcc/../include
-I/Volumes/Haiku/buildtools/gcc/gcc/../libcpp/include  \
-o build/genmddeps.o /Volumes/Haiku/buildtools/gcc/gcc/genmddeps.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
In file included from /Volumes/Haiku/buildtools/gcc/gcc/genmddeps.c:20:
/Volumes/Haiku/buildtools/gcc/gcc/coretypes.h:62:1: warning: class
'rtx_def' was previously declared as a struct
      [-Wmismatched-tags]
class rtx_def;
^
/Volumes/Haiku/buildtools/gcc/gcc/coretypes.h:55:8: note: previous use is here
struct rtx_def;
       ^
1 warning generated.
g++ -c   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/Volumes/Haiku/buildtools/gcc/gcc
-I/Volumes/Haiku/buildtools/gcc/gcc/build
-I/Volumes/Haiku/buildtools/gcc/gcc/../include
-I/Volumes/Haiku/buildtools/gcc/gcc/../libcpp/include  \
-o build/read-md.o /Volumes/Haiku/buildtools/gcc/gcc/read-md.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
In file included from /Volumes/Haiku/buildtools/gcc/gcc/read-md.c:28:
/Volumes/Haiku/buildtools/gcc/gcc/coretypes.h:62:1: warning: class
'rtx_def' was previously declared as a struct
      [-Wmismatched-tags]
class rtx_def;
^
/Volumes/Haiku/buildtools/gcc/gcc/coretypes.h:55:8: note: previous use is here
struct rtx_def;
       ^
1 warning generated.
g++ -c   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/Volumes/Haiku/buildtools/gcc/gcc
-I/Volumes/Haiku/buildtools/gcc/gcc/build
-I/Volumes/Haiku/buildtools/gcc/gcc/../include
-I/Volumes/Haiku/buildtools/gcc/gcc/../libcpp/include  \
-o build/errors.o /Volumes/Haiku/buildtools/gcc/gcc/errors.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
g++   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -Wl,-no_pie
  -o build/genmddeps \
   build/genmddeps.o build/read-md.o build/errors.o
../build-x86_64-apple-darwin15.6.0/libiberty/libiberty.a
build/genmddeps /Volumes/Haiku/buildtools/gcc/gcc/common.md
/Volumes/Haiku/buildtools/gcc/gcc/config/i386/i386.md > tmp-mddeps
/bin/sh /Volumes/Haiku/buildtools/gcc/gcc/../move-if-change tmp-mddeps mddeps.mk
echo timestamp > s-mddeps
g++ -c   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/Volumes/Haiku/buildtools/gcc/gcc
-I/Volumes/Haiku/buildtools/gcc/gcc/build
-I/Volumes/Haiku/buildtools/gcc/gcc/../include
-I/Volumes/Haiku/buildtools/gcc/gcc/../libcpp/include  \
-o build/genmodes.o /Volumes/Haiku/buildtools/gcc/gcc/genmodes.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
g++   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -Wl,-no_pie
  -o build/genmodes \
   build/genmodes.o build/errors.o
../build-x86_64-apple-darwin15.6.0/libiberty/libiberty.a
build/genmodes -h > tmp-modes.h
/bin/sh /Volumes/Haiku/buildtools/gcc/gcc/../move-if-change
tmp-modes.h insn-modes.h
echo timestamp > s-modes-h
g++ -c   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/Volumes/Haiku/buildtools/gcc/gcc
-I/Volumes/Haiku/buildtools/gcc/gcc/build
-I/Volumes/Haiku/buildtools/gcc/gcc/../include
-I/Volumes/Haiku/buildtools/gcc/gcc/../libcpp/include  \
-o build/gengtype.o /Volumes/Haiku/buildtools/gcc/gcc/gengtype.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
In file included from /Volumes/Haiku/buildtools/gcc/gcc/gengtype.c:32:
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
               lbasename (__FILE__),__LINE__, ##__VA_ARGS__);} while (0)
                                              ^
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
31 warnings generated.
g++ -c   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/Volumes/Haiku/buildtools/gcc/gcc
-I/Volumes/Haiku/buildtools/gcc/gcc/build
-I/Volumes/Haiku/buildtools/gcc/gcc/../include
-I/Volumes/Haiku/buildtools/gcc/gcc/../libcpp/include  \
-o build/gengtype-lex.o /Volumes/Haiku/buildtools/gcc/gcc/gengtype-lex.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
gengtype-lex.c:2150:3: warning: comparison of integers of different
signs: 'size_t' (aka 'unsigned long') and 'int'
      [-Wsign-compare]
                YY_INPUT(
(&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gengtype-lex.c:1343:18: note: expanded from macro 'YY_INPUT'
                for ( n = 0; n < max_size && \
                             ~ ^ ~~~~~~~~
gengtype-lex.c:2658:17: warning: comparison of integers of different
signs: 'int' and 'yy_size_t' (aka 'unsigned long')
      [-Wsign-compare]
        for ( i = 0; i < _yybytes_len; ++i )
                     ~ ^ ~~~~~~~~~~~~
2 warnings generated.
g++ -c   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/Volumes/Haiku/buildtools/gcc/gcc
-I/Volumes/Haiku/buildtools/gcc/gcc/build
-I/Volumes/Haiku/buildtools/gcc/gcc/../include
-I/Volumes/Haiku/buildtools/gcc/gcc/../libcpp/include  \
-o build/gengtype-parse.o /Volumes/Haiku/buildtools/gcc/gcc/gengtype-parse.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
g++ -c   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/Volumes/Haiku/buildtools/gcc/gcc
-I/Volumes/Haiku/buildtools/gcc/gcc/build
-I/Volumes/Haiku/buildtools/gcc/gcc/../include
-I/Volumes/Haiku/buildtools/gcc/gcc/../libcpp/include  \
-o build/gengtype-state.o /Volumes/Haiku/buildtools/gcc/gcc/gengtype-state.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
In file included from /Volumes/Haiku/buildtools/gcc/gcc/gengtype-state.c:36:
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
               lbasename (__FILE__),__LINE__, ##__VA_ARGS__);} while (0)
                                              ^
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
/Volumes/Haiku/buildtools/gcc/gcc/gengtype.h:497:40: warning: token
pasting of ',' and __VA_ARGS__ is a GNU extension
      [-Wgnu-zero-variadic-macro-arguments]
19 warnings generated.
g++ -c   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/Volumes/Haiku/buildtools/gcc/gcc
-I/Volumes/Haiku/buildtools/gcc/gcc/build
-I/Volumes/Haiku/buildtools/gcc/gcc/../include
-I/Volumes/Haiku/buildtools/gcc/gcc/../libcpp/include  \
-DBASEVER="\"7.3.0\"" -DDATESTAMP="\"\"" \
-DREVISION="\"\"" \
-DDEVPHASE="\"\"" -DPKGVERSION="\"(GCC) \"" \
-DBUGURL="\"<https://gcc.gnu.org/bugs/>\"" -o build/version.o
/Volumes/Haiku/buildtools/gcc/gcc/version.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
g++   -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -Wl,-no_pie
  -o build/gengtype \
   build/gengtype.o build/errors.o build/gengtype-lex.o
build/gengtype-parse.o build/gengtype-state.o build/version.o
../build-x86_64-apple-darwin15.6.0/libiberty/libiberty.a
LC_ALL=C ; export LC_ALL ; \
gawk -f /Volumes/Haiku/buildtools/gcc/gcc/opt-gather.awk
/Volumes/Haiku/buildtools/gcc/gcc/ada/gcc-interface/lang.opt
/Volumes/Haiku/buildtools/gcc/gcc/brig/lang.opt
/Volumes/Haiku/buildtools/gcc/gcc/fortran/lang.opt
/Volumes/Haiku/buildtools/gcc/gcc/go/lang.opt
/Volumes/Haiku/buildtools/gcc/gcc/java/lang.opt
/Volumes/Haiku/buildtools/gcc/gcc/lto/lang.opt
/Volumes/Haiku/buildtools/gcc/gcc/c-family/c.opt
/Volumes/Haiku/buildtools/gcc/gcc/common.opt
/Volumes/Haiku/buildtools/gcc/gcc/config/fused-madd.opt
/Volumes/Haiku/buildtools/gcc/gcc/config/i386/i386.opt >
tmp-optionlist
/bin/sh /Volumes/Haiku/buildtools/gcc/gcc/../move-if-change
tmp-optionlist optionlist
echo timestamp > s-options
gawk -f /Volumes/Haiku/buildtools/gcc/gcc/opt-functions.awk -f
/Volumes/Haiku/buildtools/gcc/gcc/opt-read.awk \
      -f /Volumes/Haiku/buildtools/gcc/gcc/opth-gen.awk \
      < optionlist > tmp-options.h
/bin/sh /Volumes/Haiku/buildtools/gcc/gcc/../move-if-change
tmp-options.h options.h
echo timestamp > s-options-h
/bin/sh /Volumes/Haiku/buildtools/gcc/gcc/../move-if-change
tmp-gi.list gtyp-input.list
echo timestamp > s-gtyp-input
build/gengtype  \
                    -S /Volumes/Haiku/buildtools/gcc/gcc -I
gtyp-input.list -w tmp-gtype.state
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:730: parse error:
expected a string constant, have 'struct'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:730: parse error:
expected ')', have 'treetreehash_entry'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:730: parse error:
expected an identifier, have ')'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:733: parse error:
expected a string constant, have 'union'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:733: parse error:
expected ')', have 'tree_node'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:733: parse error:
expected an identifier, have ')'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:901: parse error:
expected a string constant, have 'struct'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:901: parse error:
expected ')', have 'treetreehash_entry'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:901: parse error:
expected an identifier, have ')'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:905: parse error:
expected a string constant, have 'struct'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:905: parse error:
expected ')', have 'type_assertion'
/Volumes/Haiku/buildtools/gcc/gcc/java/java-tree.h:905: parse error:
expected an identifier, have ')'
make[2]: *** [s-gtype] Error 1
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2
ERROR: Building gcc failed.

Other related posts: