You are not logged in.

#1 2021-07-05 17:17:33

mass_t
Member
Registered: 2015-04-21
Posts: 28

[GCC 4.9] Request to fix PKGBUILD

                                          ^~~~~~~~~
/bin/sh /home/user/.cache/yay/gcc49/src/gcc-4.9.4/gcc/../move-if-change tmp-automata.c insn-automata.c
echo timestamp > s-automata
rm gcc.pod
make[3]: Leaving directory '/home/user/.cache/yay/gcc49/src/gcc-build/gcc'
make[2]: *** [Makefile:4227: all-stage1-gcc] Error 2
make[2]: Leaving directory '/home/user/.cache/yay/gcc49/src/gcc-build'
make[1]: *** [Makefile:21618: stage1-bubble] Error 2
make[1]: Leaving directory '/home/user/.cache/yay/gcc49/src/gcc-build'
make: *** [Makefile:894: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: gcc49

Offline

#2 2021-07-05 20:09:52

loqs
Member
Registered: 2014-03-06
Posts: 13,636

Re: [GCC 4.9] Request to fix PKGBUILD

https://bbs.archlinux.org/viewtopic.php?id=57855

/build/gcc49/src/gcc-4.9.4/gcc/reload1.c: In function ‘void init_reload()’:
/build/gcc49/src/gcc-4.9.4/gcc/reload1.c:89:24: error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++17
   89 |   (this_target_reload->x_spill_indirect_levels)
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/reload1.c:444:7: note: in expansion of macro ‘spill_indirect_levels’
  444 |       spill_indirect_levels++;
      |       ^~~~~~~~~~~~~~~~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sched-rgn.c:60:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:338:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  338 | #if HAVE_DESIGNATED_UNION_INITIALIZERS
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/build/gcc49/src/gcc-4.9.4/gcc -I/build/gcc49/src/gcc-4.9.4/gcc/. -I/build/gcc49/src/gcc-4.9.4/gcc/../include -I/build/gcc49/src/gcc-4.9.4/gcc/../libcpp/include  -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber/bid -I../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libbacktrace -DCLOOG_INT_GMP -I/build/gcc49/src/gcc-build/./cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include  -I/build/gcc49/src/gcc-build/./isl/include -I/build/gcc49/src/gcc-4.9.4/isl/include -D_FORTIFY_SOURCE=2 -o sel-sched.o -MT sel-sched.o -MMD -MP -MF ./.deps/sel-sched.TPo /build/gcc49/src/gcc-4.9.4/gcc/sel-sched.c
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sched-ebb.c:36:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:338:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  338 | #if HAVE_DESIGNATED_UNION_INITIALIZERS
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sched-vis.c:29:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched-dump.c:21:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched.c:21:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sdbout.c:45:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched-ir.c:23:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from ./tm.h:45,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sched-vis.c:29:
/build/gcc49/src/gcc-4.9.4/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/build/gcc49/src/gcc-4.9.4/gcc -I/build/gcc49/src/gcc-4.9.4/gcc/. -I/build/gcc49/src/gcc-4.9.4/gcc/../include -I/build/gcc49/src/gcc-4.9.4/gcc/../libcpp/include  -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber/bid -I../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libbacktrace -DCLOOG_INT_GMP -I/build/gcc49/src/gcc-build/./cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include  -I/build/gcc49/src/gcc-build/./isl/include -I/build/gcc49/src/gcc-4.9.4/isl/include -D_FORTIFY_SOURCE=2 -o sese.o -MT sese.o -MMD -MP -MF ./.deps/sese.TPo /build/gcc49/src/gcc-4.9.4/gcc/sese.c
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/build/gcc49/src/gcc-4.9.4/gcc -I/build/gcc49/src/gcc-4.9.4/gcc/. -I/build/gcc49/src/gcc-4.9.4/gcc/../include -I/build/gcc49/src/gcc-4.9.4/gcc/../libcpp/include  -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber/bid -I../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libbacktrace -DCLOOG_INT_GMP -I/build/gcc49/src/gcc-build/./cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include  -I/build/gcc49/src/gcc-build/./isl/include -I/build/gcc49/src/gcc-4.9.4/isl/include -D_FORTIFY_SOURCE=2 -o simplify-rtx.o -MT simplify-rtx.o -MMD -MP -MF ./.deps/simplify-rtx.TPo /build/gcc49/src/gcc-4.9.4/gcc/simplify-rtx.c
In file included from ./tm.h:45,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sdbout.c:45:
/build/gcc49/src/gcc-4.9.4/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from ./tm.h:45,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched-ir.c:23:
/build/gcc49/src/gcc-4.9.4/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from /build/gcc49/src/gcc-4.9.4/gcc/rtlhooks.c:27:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:283:44: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f1’ {aka ‘rtx_def* (*)(rtx_def*)’} [-Wcast-function-type]
  283 |   rtx operator () (rtx a0) const { return ((f1)func) (a0); }
      |                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:284:52: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f2’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*)’} [-Wcast-function-type]
  284 |   rtx operator () (rtx a0, rtx a1) const { return ((f2)func) (a0, a1); }
      |                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:285:60: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f3’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  285 |   rtx operator () (rtx a0, rtx a1, rtx a2) const { return ((f3)func) (a0, a1, a2); }
      |                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:286:68: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f4’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  286 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3) const { return ((f4)func) (a0, a1, a2, a3); }
      |                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:287:76: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f5’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  287 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4) const { return ((f5)func) (a0, a1, a2, a3, a4); }
      |                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:288:84: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f6’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  288 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5) const { return ((f6)func) (a0, a1, a2, a3, a4, a5); }
      |                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:289:92: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f7’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  289 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6) const { return ((f7)func) (a0, a1, a2, a3, a4, a5, a6); }
      |                                                                                            ^~~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/rtlhooks.c:27:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:290:100: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f8’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  290 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7) const { return ((f8)func) (a0, a1, a2, a3, a4, a5, a6, a7); }
      |                                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:291:108: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f9’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  291 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8) const { return ((f9)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8); }
      |                                                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:292:116: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f10’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  292 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9) const { return ((f10)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9); }
      |                                                                                                                    ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:293:125: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f11’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  293 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10) const { return ((f11)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10); }
      |                                                                                                                             ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:294:134: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f12’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  294 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11) const { return ((f12)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11); }
      |                                                                                                                                      ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:295:143: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f13’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  295 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12) const { return ((f13)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12); }
      |                                                                                                                                               ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:296:152: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f14’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  296 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13) const { return ((f14)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13); }
      |                                                                                                                                                        ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:297:161: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f15’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  297 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14) const { return ((f15)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14); }
      |                                                                                                                                                                 ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:298:170: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f16’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  298 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14, rtx a15) const { return ((f16)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15); }
      |                                                                                                                                                                          ^~~~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/simplify-rtx.c:22:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sese.c:23:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched-dump.c:23:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from /build/gcc49/src/gcc-4.9.4/gcc/rtlanal.c:29:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:283:44: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f1’ {aka ‘rtx_def* (*)(rtx_def*)’} [-Wcast-function-type]
  283 |   rtx operator () (rtx a0) const { return ((f1)func) (a0); }
      |                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:284:52: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f2’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*)’} [-Wcast-function-type]
  284 |   rtx operator () (rtx a0, rtx a1) const { return ((f2)func) (a0, a1); }
      |                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:285:60: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f3’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  285 |   rtx operator () (rtx a0, rtx a1, rtx a2) const { return ((f3)func) (a0, a1, a2); }
      |                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:286:68: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f4’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  286 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3) const { return ((f4)func) (a0, a1, a2, a3); }
      |                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:287:76: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f5’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  287 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4) const { return ((f5)func) (a0, a1, a2, a3, a4); }
      |                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:288:84: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f6’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  288 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5) const { return ((f6)func) (a0, a1, a2, a3, a4, a5); }
      |                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:289:92: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f7’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  289 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6) const { return ((f7)func) (a0, a1, a2, a3, a4, a5, a6); }
      |                                                                                            ^~~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/rtlanal.c:29:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:290:100: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f8’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  290 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7) const { return ((f8)func) (a0, a1, a2, a3, a4, a5, a6, a7); }
      |                                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:291:108: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f9’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  291 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8) const { return ((f9)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8); }
      |                                                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:292:116: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f10’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  292 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9) const { return ((f10)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9); }
      |                                                                                                                    ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:293:125: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f11’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  293 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10) const { return ((f11)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10); }
      |                                                                                                                             ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:294:134: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f12’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  294 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11) const { return ((f12)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11); }
      |                                                                                                                                      ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:295:143: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f13’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  295 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12) const { return ((f13)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12); }
      |                                                                                                                                               ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:296:152: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f14’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  296 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13) const { return ((f14)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13); }
      |                                                                                                                                                        ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:297:161: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f15’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  297 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14) const { return ((f15)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14); }
      |                                                                                                                                                                 ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:298:170: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f16’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  298 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14, rtx a15) const { return ((f16)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15); }
      |                                                                                                                                                                          ^~~~~~~~~
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched.c:23:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched-ir.c:34:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:338:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  338 | #if HAVE_DESIGNATED_UNION_INITIALIZERS
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./tm.h:45,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched-dump.c:23:
/build/gcc49/src/gcc-4.9.4/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/build/gcc49/src/gcc-4.9.4/gcc -I/build/gcc49/src/gcc-4.9.4/gcc/. -I/build/gcc49/src/gcc-4.9.4/gcc/../include -I/build/gcc49/src/gcc-4.9.4/gcc/../libcpp/include  -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber/bid -I../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libbacktrace -DCLOOG_INT_GMP -I/build/gcc49/src/gcc-build/./cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include  -I/build/gcc49/src/gcc-build/./isl/include -I/build/gcc49/src/gcc-4.9.4/isl/include -D_FORTIFY_SOURCE=2 -o sparseset.o -MT sparseset.o -MMD -MP -MF ./.deps/sparseset.TPo /build/gcc49/src/gcc-4.9.4/gcc/sparseset.c
In file included from ./tm.h:45,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched.c:23:
/build/gcc49/src/gcc-4.9.4/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/build/gcc49/src/gcc-4.9.4/gcc -I/build/gcc49/src/gcc-4.9.4/gcc/. -I/build/gcc49/src/gcc-4.9.4/gcc/../include -I/build/gcc49/src/gcc-4.9.4/gcc/../libcpp/include  -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber/bid -I../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libbacktrace -DCLOOG_INT_GMP -I/build/gcc49/src/gcc-build/./cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include  -I/build/gcc49/src/gcc-build/./isl/include -I/build/gcc49/src/gcc-4.9.4/isl/include -D_FORTIFY_SOURCE=2 -o sreal.o -MT sreal.o -MMD -MP -MF ./.deps/sreal.TPo /build/gcc49/src/gcc-4.9.4/gcc/sreal.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sparseset.c:22:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/simplify-rtx.c:24:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sreal.c:53:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sel-sched.c:33:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:338:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  338 | #if HAVE_DESIGNATED_UNION_INITIALIZERS
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./tm.h:45,
                 from /build/gcc49/src/gcc-4.9.4/gcc/simplify-rtx.c:24:
/build/gcc49/src/gcc-4.9.4/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/build/gcc49/src/gcc-4.9.4/gcc -I/build/gcc49/src/gcc-4.9.4/gcc/. -I/build/gcc49/src/gcc-4.9.4/gcc/../include -I/build/gcc49/src/gcc-4.9.4/gcc/../libcpp/include  -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber/bid -I../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libbacktrace -DCLOOG_INT_GMP -I/build/gcc49/src/gcc-build/./cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include  -I/build/gcc49/src/gcc-build/./isl/include -I/build/gcc49/src/gcc-4.9.4/isl/include -D_FORTIFY_SOURCE=2 -o stack-ptr-mod.o -MT stack-ptr-mod.o -MMD -MP -MF ./.deps/stack-ptr-mod.TPo /build/gcc49/src/gcc-4.9.4/gcc/stack-ptr-mod.c
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/build/gcc49/src/gcc-4.9.4/gcc -I/build/gcc49/src/gcc-4.9.4/gcc/. -I/build/gcc49/src/gcc-4.9.4/gcc/../include -I/build/gcc49/src/gcc-4.9.4/gcc/../libcpp/include  -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber/bid -I../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libbacktrace -DCLOOG_INT_GMP -I/build/gcc49/src/gcc-build/./cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include  -I/build/gcc49/src/gcc-build/./isl/include -I/build/gcc49/src/gcc-4.9.4/isl/include -D_FORTIFY_SOURCE=2 -o statistics.o -MT statistics.o -MMD -MP -MF ./.deps/statistics.TPo /build/gcc49/src/gcc-4.9.4/gcc/statistics.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/stack-ptr-mod.c:21:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/build/gcc49/src/gcc-4.9.4/gcc -I/build/gcc49/src/gcc-4.9.4/gcc/. -I/build/gcc49/src/gcc-4.9.4/gcc/../include -I/build/gcc49/src/gcc-4.9.4/gcc/../libcpp/include  -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber/bid -I../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libbacktrace -DCLOOG_INT_GMP -I/build/gcc49/src/gcc-build/./cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include  -I/build/gcc49/src/gcc-build/./isl/include -I/build/gcc49/src/gcc-4.9.4/isl/include -D_FORTIFY_SOURCE=2 -o stmt.o -MT stmt.o -MMD -MP -MF ./.deps/stmt.TPo /build/gcc49/src/gcc-4.9.4/gcc/stmt.c
g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/build/gcc49/src/gcc-4.9.4/gcc -I/build/gcc49/src/gcc-4.9.4/gcc/. -I/build/gcc49/src/gcc-4.9.4/gcc/../include -I/build/gcc49/src/gcc-4.9.4/gcc/../libcpp/include  -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libdecnumber/bid -I../libdecnumber -I/build/gcc49/src/gcc-4.9.4/gcc/../libbacktrace -DCLOOG_INT_GMP -I/build/gcc49/src/gcc-build/./cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include -I/build/gcc49/src/gcc-4.9.4/cloog/include  -I/build/gcc49/src/gcc-build/./isl/include -I/build/gcc49/src/gcc-4.9.4/isl/include -D_FORTIFY_SOURCE=2 -o stor-layout.o -MT stor-layout.o -MMD -MP -MF ./.deps/stor-layout.TPo /build/gcc49/src/gcc-4.9.4/gcc/stor-layout.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/statistics.c:22:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/function.h:26,
                 from /build/gcc49/src/gcc-4.9.4/gcc/basic-block.h:25,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sese.c:28:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/stmt.c:26:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/system.h:40,
                 from /build/gcc49/src/gcc-4.9.4/gcc/stor-layout.c:22:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/rtl-error.h:20,
                 from /build/gcc49/src/gcc-4.9.4/gcc/reload.c:95:
/build/gcc49/src/gcc-4.9.4/gcc/reload.c: In function ‘int find_reloads(rtx, int, int, int, short int*)’:
/build/gcc49/src/gcc-4.9.4/gcc/rtl.h:435:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  435 |   (CONST_INT_P (X) || CONST_DOUBLE_AS_INT_P (X))
      |   ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/reload.c:3444:25: note: in expansion of macro ‘CONST_SCALAR_INT_P’
 3444 |                     if (CONST_SCALAR_INT_P (operand))
      |                         ^~~~~~~~~~~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/reload.c:3446:19: note: here
 3446 |                   case 'i':
      |                   ^~~~
/build/gcc49/src/gcc-4.9.4/gcc/reload.c:3476:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3476 |                     if (! force_reload
      |                     ^~
/build/gcc49/src/gcc-4.9.4/gcc/reload.c:3492:19: note: here
 3492 |                   case 'r':
      |                   ^~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/simplify-rtx.c:33:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:338:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  338 | #if HAVE_DESIGNATED_UNION_INITIALIZERS
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./tm.h:45,
                 from /build/gcc49/src/gcc-4.9.4/gcc/function.h:26,
                 from /build/gcc49/src/gcc-4.9.4/gcc/basic-block.h:25,
                 from /build/gcc49/src/gcc-4.9.4/gcc/sese.c:28:
/build/gcc49/src/gcc-4.9.4/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
/build/gcc49/src/gcc-4.9.4/gcc/reload1.c: In function ‘void elimination_effects(rtx, machine_mode)’:
/build/gcc49/src/gcc-4.9.4/gcc/reload1.c:3044:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
 3044 |       if (code == POST_MODIFY || code == PRE_MODIFY)
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/reload1.c:3048:5: note: here
 3048 |     case STRICT_LOW_PART:
      |     ^~~~
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/stack-ptr-mod.c:23:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sched-rgn.c:60:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:283:44: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f1’ {aka ‘rtx_def* (*)(rtx_def*)’} [-Wcast-function-type]
  283 |   rtx operator () (rtx a0) const { return ((f1)func) (a0); }
      |                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:284:52: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f2’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*)’} [-Wcast-function-type]
  284 |   rtx operator () (rtx a0, rtx a1) const { return ((f2)func) (a0, a1); }
      |                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:285:60: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f3’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  285 |   rtx operator () (rtx a0, rtx a1, rtx a2) const { return ((f3)func) (a0, a1, a2); }
      |                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:286:68: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f4’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  286 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3) const { return ((f4)func) (a0, a1, a2, a3); }
      |                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:287:76: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f5’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  287 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4) const { return ((f5)func) (a0, a1, a2, a3, a4); }
      |                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:288:84: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f6’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  288 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5) const { return ((f6)func) (a0, a1, a2, a3, a4, a5); }
      |                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:289:92: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f7’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  289 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6) const { return ((f7)func) (a0, a1, a2, a3, a4, a5, a6); }
      |                                                                                            ^~~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sched-rgn.c:60:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:290:100: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f8’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  290 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7) const { return ((f8)func) (a0, a1, a2, a3, a4, a5, a6, a7); }
      |                                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:291:108: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f9’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  291 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8) const { return ((f9)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8); }
      |                                                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:292:116: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f10’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  292 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9) const { return ((f10)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9); }
      |                                                                                                                    ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:293:125: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f11’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  293 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10) const { return ((f11)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10); }
      |                                                                                                                             ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:294:134: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f12’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  294 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11) const { return ((f12)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11); }
      |                                                                                                                                      ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:295:143: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f13’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  295 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12) const { return ((f13)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12); }
      |                                                                                                                                               ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:296:152: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f14’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  296 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13) const { return ((f14)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13); }
      |                                                                                                                                                        ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:297:161: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f15’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  297 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14) const { return ((f15)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14); }
      |                                                                                                                                                                 ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:298:170: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f16’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  298 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14, rtx a15) const { return ((f16)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15); }
      |                                                                                                                                                                          ^~~~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sched-ebb.c:36:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:283:44: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f1’ {aka ‘rtx_def* (*)(rtx_def*)’} [-Wcast-function-type]
  283 |   rtx operator () (rtx a0) const { return ((f1)func) (a0); }
      |                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:284:52: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f2’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*)’} [-Wcast-function-type]
  284 |   rtx operator () (rtx a0, rtx a1) const { return ((f2)func) (a0, a1); }
      |                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:285:60: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f3’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  285 |   rtx operator () (rtx a0, rtx a1, rtx a2) const { return ((f3)func) (a0, a1, a2); }
      |                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:286:68: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f4’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  286 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3) const { return ((f4)func) (a0, a1, a2, a3); }
      |                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:287:76: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f5’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  287 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4) const { return ((f5)func) (a0, a1, a2, a3, a4); }
      |                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:288:84: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f6’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  288 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5) const { return ((f6)func) (a0, a1, a2, a3, a4, a5); }
      |                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:289:92: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f7’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  289 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6) const { return ((f7)func) (a0, a1, a2, a3, a4, a5, a6); }
      |                                                                                            ^~~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sched-ebb.c:36:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:290:100: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f8’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  290 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7) const { return ((f8)func) (a0, a1, a2, a3, a4, a5, a6, a7); }
      |                                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:291:108: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f9’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  291 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8) const { return ((f9)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8); }
      |                                                                                                            ^~~~~~~~
In file included from ./tm.h:45,
                 from /build/gcc49/src/gcc-4.9.4/gcc/stack-ptr-mod.c:23:
/build/gcc49/src/gcc-4.9.4/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:292:116: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f10’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  292 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9) const { return ((f10)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9); }
      |                                                                                                                    ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:293:125: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f11’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  293 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10) const { return ((f11)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10); }
      |                                                                                                                             ^~~~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sched-deps.c:38:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:283:44: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f1’ {aka ‘rtx_def* (*)(rtx_def*)’} [-Wcast-function-type]
  283 |   rtx operator () (rtx a0) const { return ((f1)func) (a0); }
      |                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:294:134: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f12’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  294 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11) const { return ((f12)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11); }
      |                                                                                                                                      ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:284:52: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f2’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*)’} [-Wcast-function-type]
  284 |   rtx operator () (rtx a0, rtx a1) const { return ((f2)func) (a0, a1); }
      |                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:285:60: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f3’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  285 |   rtx operator () (rtx a0, rtx a1, rtx a2) const { return ((f3)func) (a0, a1, a2); }
      |                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:295:143: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f13’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  295 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12) const { return ((f13)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12); }
      |                                                                                                                                               ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:286:68: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f4’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  286 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3) const { return ((f4)func) (a0, a1, a2, a3); }
      |                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:296:152: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f14’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  296 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13) const { return ((f14)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13); }
      |                                                                                                                                                        ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:287:76: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f5’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  287 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4) const { return ((f5)func) (a0, a1, a2, a3, a4); }
      |                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:297:161: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f15’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  297 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14) const { return ((f15)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14); }
      |                                                                                                                                                                 ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:288:84: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f6’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  288 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5) const { return ((f6)func) (a0, a1, a2, a3, a4, a5); }
      |                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:289:92: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f7’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  289 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6) const { return ((f7)func) (a0, a1, a2, a3, a4, a5, a6); }
      |                                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:298:170: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f16’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  298 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14, rtx a15) const { return ((f16)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15); }
      |                                                                                                                                                                          ^~~~~~~~~
In file included from /build/gcc49/src/gcc-4.9.4/gcc/sched-deps.c:38:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:290:100: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f8’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  290 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7) const { return ((f8)func) (a0, a1, a2, a3, a4, a5, a6, a7); }
      |                                                                                                    ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:291:108: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f9’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  291 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8) const { return ((f9)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8); }
      |                                                                                                            ^~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:292:116: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f10’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  292 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9) const { return ((f10)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9); }
      |                                                                                                                    ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:293:125: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f11’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  293 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10) const { return ((f11)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10); }
      |                                                                                                                             ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:294:134: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f12’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  294 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11) const { return ((f12)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11); }
      |                                                                                                                                      ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:295:143: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f13’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  295 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12) const { return ((f13)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12); }
      |                                                                                                                                               ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:296:152: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f14’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  296 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13) const { return ((f14)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13); }
      |                                                                                                                                                        ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:297:161: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f15’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  297 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14) const { return ((f15)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14); }
      |                                                                                                                                                                 ^~~~~~~~~
/build/gcc49/src/gcc-4.9.4/gcc/recog.h: In member function ‘rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const’:
/build/gcc49/src/gcc-4.9.4/gcc/recog.h:298:170: warning: cast between incompatible function types from ‘insn_gen_fn::stored_funcptr’ {aka ‘rtx_def* (*)()’} to ‘insn_gen_fn::f16’ {aka ‘rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*)’} [-Wcast-function-type]
  298 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13, rtx a14, rtx a15) const { return ((f16)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15); }
      |                                                                                                                                                                          ^~~~~~~~~
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/stmt.c:28:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/stor-layout.c:24:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
In file included from ./tm.h:27,
                 from /build/gcc49/src/gcc-4.9.4/gcc/function.h:26,
                 from /build/gcc49/src/gcc-4.9.4/gcc/statistics.c:28:
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/build/gcc49/src/gcc-4.9.4/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
      |                        ^
make[3]: *** [Makefile:1058: reload1.o] Error 1

https://aur.archlinux.org/packages/gcc4 … ent-810382

Adding -std=gnu++98 to CXX_FLAGS had no effect,  not sure what flags are being used to build that file.

https://github.com/gcc-mirror/gcc/commi … 5ad8d5ec58

Is this an X-Y problem?  What doy ou need gcc4.9 for?

Offline

#3 2021-07-05 23:06:25

mass_t
Member
Registered: 2015-04-21
Posts: 28

Re: [GCC 4.9] Request to fix PKGBUILD

gcc4.9 need for build gcc 4.4

Offline

#4 2021-07-05 23:22:55

loqs
Member
Registered: 2014-03-06
Posts: 13,636

Re: [GCC 4.9] Request to fix PKGBUILD

What do you need gcc 4.4 for?  wesnoth-1.2/wesnoth-1.4?

Offline

#5 2021-07-06 02:51:57

mass_t
Member
Registered: 2015-04-21
Posts: 28

Re: [GCC 4.9] Request to fix PKGBUILD

loqs wrote:

What do you need gcc 4.4 for?  wesnoth-1.2/wesnoth-1.4?

No. I need gcc4.4 for work.

Offline

#6 2021-07-06 03:47:16

loqs
Member
Registered: 2014-03-06
Posts: 13,636

Re: [GCC 4.9] Request to fix PKGBUILD

Use gcc45 instead of gcc49.  See changes below (the cloog was not needed I just wanted to skip building three packages by using the cloog source bundled with gcc)
I would suggest though using a VM or CI service that comes with gcc 4.4.  That way you have a tool chain that will have seen testing before you put it into production use.

diff --git a/PKGBUILD b/PKGBUILD
index 22d34dd..808751e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,9 +17,9 @@ pkgdesc="The GNU Compiler Collection (${_pkgver}.x)"
 arch=('x86_64' 'i686')
 url='http://gcc.gnu.org/'
 license=('GPL' 'LGPL' 'custom')
-depends=('binutils' 'mpfr' 'cloog' 'zlib' 'elfutils')
+depends=('binutils' 'mpfr' 'zlib' 'elfutils')
 makedepends=('setconf')
-makedepends+=('gcc49')
+makedepends+=('gcc45')
 conflicts=("gcc${_pkgver//\./}-multilib")
 options=('staticlibs' '!libtool')
 source=(
@@ -122,7 +122,7 @@ build() {
       --with-system-zlib \
       --with-tune='generic' \
       --prefix='/usr' \
-      CXX='g++-4.9' CC='gcc-4.9'
+      CXX='g++-4.5' CC='gcc-4.5'
   fi
 
   local _nproc="$(nproc)"; _nproc=$((_nproc>8?8:_nproc))

Offline

#7 2021-07-06 04:08:59

mass_t
Member
Registered: 2015-04-21
Posts: 28

Re: [GCC 4.9] Request to fix PKGBUILD

loqs wrote:

Use gcc45 instead of gcc49.  See changes below (the cloog was not needed I just wanted to skip building three packages by using the cloog source bundled with gcc)
I would suggest though using a VM or CI service that comes with gcc 4.4.  That way you have a tool chain that will have seen testing before you put it into production use.

diff --git a/PKGBUILD b/PKGBUILD
index 22d34dd..808751e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,9 +17,9 @@ pkgdesc="The GNU Compiler Collection (${_pkgver}.x)"
 arch=('x86_64' 'i686')
 url='http://gcc.gnu.org/'
 license=('GPL' 'LGPL' 'custom')
-depends=('binutils' 'mpfr' 'cloog' 'zlib' 'elfutils')
+depends=('binutils' 'mpfr' 'zlib' 'elfutils')
 makedepends=('setconf')
-makedepends+=('gcc49')
+makedepends+=('gcc45')
 conflicts=("gcc${_pkgver//\./}-multilib")
 options=('staticlibs' '!libtool')
 source=(
@@ -122,7 +122,7 @@ build() {
       --with-system-zlib \
       --with-tune='generic' \
       --prefix='/usr' \
-      CXX='g++-4.9' CC='gcc-4.9'
+      CXX='g++-4.5' CC='gcc-4.5'
   fi
 
   local _nproc="$(nproc)"; _nproc=$((_nproc>8?8:_nproc))

gcc 4.5 doesn't build either.

==> Starting prepare()...
patching file gcc/config/alpha/linux-elf.h
patching file gcc/config/s390/linux.h
patching file gcc/config/sparc/linux.h
Hunk #1 succeeded at 86 with fuzz 1 (offset -46 lines).
patching file gcc/config/sparc/linux64.h
Hunk #1 succeeded at 121 (offset -45 lines).
Hunk #2 succeeded at 130 (offset -45 lines).
Hunk #3 succeeded at 211 (offset -45 lines).
patching file gcc/config/i386/linux.h
Hunk #1 succeeded at 113 (offset 5 lines).
patching file gcc/config/i386/linux64.h
Hunk #1 succeeded at 75 with fuzz 1 (offset 10 lines).
patching file gcc/config/ia64/linux.h
Hunk #1 succeeded at 64 (offset 24 lines).
patching file gcc/config/rs6000/sysv4.h
Hunk #1 succeeded at 909 (offset 8 lines).
patching file gcc/config/rs6000/linux64.h
Hunk #1 succeeded at 355 (offset 1 line).
patching file gcc/config/i386/linux64.h
Hunk #1 succeeded at 58 with fuzz 2 (offset 9 lines).
patching file gcc/config/i386/t-linux64
Hunk #1 succeeded at 25 (offset 19 lines).
==> Sources are ready.
==> Making package: gcc45 4.5.4-3 (Tue 06 Jul 2021 07:07:33 AM MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/home/user/.cache/yay/gcc45/PKGBUILD: line 83: CPPFLAGS: unbound variable
/usr/bin/makepkg: line 131: logpipe: unbound variable
error making: gcc45

Offline

#8 2021-07-06 04:14:32

loqs
Member
Registered: 2014-03-06
Posts: 13,636

Re: [GCC 4.9] Request to fix PKGBUILD

/home/user/.cache/yay/gcc45/PKGBUILD: line 83: CPPFLAGS: unbound variable

Have you unset CPPFLAGS in /etc/makepkg.conf?  Also try makepkg directly without yay.

I built gcc45 then gcc44 with gcc45 locally just before I posted comment #6,  so it I am sure it does build.

Last edited by loqs (2021-07-06 04:15:12)

Offline

#9 2021-07-06 04:28:21

mass_t
Member
Registered: 2015-04-21
Posts: 28

Re: [GCC 4.9] Request to fix PKGBUILD

loqs wrote:
/home/user/.cache/yay/gcc45/PKGBUILD: line 83: CPPFLAGS: unbound variable

Have you unset CPPFLAGS in /etc/makepkg.conf?  Also try makepkg directly without yay.

I built gcc45 then gcc44 with gcc45 locally just before I posted comment #6,  so it I am sure it does build.

My makepkg.conf

#!/hint/bash
#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'fossil::fossil'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=native -O2 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection"
# CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#RUSTFLAGS="-C opt-level=2"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j17"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
#DEBUG_RUSTFLAGS="-C debuginfo=2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#-- lto:        Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)

#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSZST=(zstd -c -z -q -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'

#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=()

Can you show your config?

Offline

#10 2021-07-06 04:34:29

loqs
Member
Registered: 2014-03-06
Posts: 13,636

Re: [GCC 4.9] Request to fix PKGBUILD

I built it using extra-x86_64-build from devtools (so it was built in a clean chroot) with the makepkg from /usr/share/devtools/makepkg-x86_64.conf see below

#!/hint/bash
# shellcheck disable=2034

#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -zz %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(!distcc !color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug)

#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSZST=(zstd -c -T0 --ultra -20 -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'

# vim: set ft=sh ts=2 sw=2 et:

Edit:
You can install devtools and execute extra-x86_64-build in the same directory as the gcc45 PKGBUILD.

From your makepkg.conf

# CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"

You commented out CXXFLAGS hence the error in the build.
Not the cause

#CPPFLAGS=""

In the PKGBUILD change

    CPPFLAGS="${CPPFLAGS//-D_FORTIFY_SOURCE=?/}"

to

    CFLAGS="${CFLAGS//-D_FORTIFY_SOURCE=?/}"

Edit:
Remove the error causing set -u
Check CFLAGS and CXXFLAGS for -D_FORTIFY_SOURCE as well as CPPFLAGS

git diff
diff --git a/PKGBUILD b/PKGBUILD
index f70d1e9..131d340 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -75,12 +75,13 @@ prepare() {
 }
 
 build() {
-  set -u
   if [ ! -s "${_basedir}/gcc-build/Makefile" ]; then
     cd "${_basedir}"
 
     # Doesn't like FORTIFY_SOURCE
     CPPFLAGS="${CPPFLAGS//-D_FORTIFY_SOURCE=?/}"
+    CFLAGS="${CPPFLAGS//-D_FORTIFY_SOURCE=?/}"
+    CXXFLAGS="${CPPFLAGS//-D_FORTIFY_SOURCE=?/}"
 
     # Doesn't like -fstack-protector-strong
     CFLAGS="${CFLAGS//-fstack-protector-strong/-fstack-protector}"

Last edited by loqs (2021-07-06 04:51:59)

Offline

#11 2021-07-06 04:50:29

mass_t
Member
Registered: 2015-04-21
Posts: 28

Re: [GCC 4.9] Request to fix PKGBUILD

loqs wrote:

I built it using extra-x86_64-build from devtools (so it was built in a clean chroot) with the makepkg from /usr/share/devtools/makepkg-x86_64.conf see below

#!/hint/bash
# shellcheck disable=2034

#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -zz %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(!distcc !color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug)

#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSZST=(zstd -c -T0 --ultra -20 -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'

# vim: set ft=sh ts=2 sw=2 et:

Edit:
You can install devtools and execute extra-x86_64-build in the same directory as the gcc45 PKGBUILD.

From your makepkg.conf

# CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"

You commented out CXXFLAGS hence the error in the build.
Not the cause

#CPPFLAGS=""

In the PKGBUILD change

    CPPFLAGS="${CPPFLAGS//-D_FORTIFY_SOURCE=?/}"

to

    CFLAGS="${CFLAGS//-D_FORTIFY_SOURCE=?/}"

Oh thanks for devtools, i don't know about this group of packages. Looks good, as if building

Offline

#12 2021-07-06 04:58:16

loqs
Member
Registered: 2014-03-06
Posts: 13,636

Re: [GCC 4.9] Request to fix PKGBUILD

See my numerous edits to post #10.  The combination the change in FLAGS in makepkg.conf and the gcc45 package maintainer's use of set -u causes the build to fail.
It might still fail even without set -u.

See DeveloperWiki:Building_in_a_clean_chroot#Handling_major_rebuilds to pass the built gcc45 package into the chroot when building gcc44.

Last edited by loqs (2021-07-06 05:01:32)

Offline

#13 2021-07-07 00:42:50

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 4,097

Re: [GCC 4.9] Request to fix PKGBUILD

PKGBUILD maintainers really need to stop using set -u

...

the FLAGS change is actually supposed to fix building gcc and friends, since you no longer need to remove stuff from CPPFLAGS to make ./configure succeed.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB