Skip to content

build fails on AArch64, Fedora 33  #1

@LutzWeischerFujitsu

Description

@LutzWeischerFujitsu

[jw@cn06 upc]$ make VERBOSE=1 -j1
[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory '/data/jw/upc'
make[2]: Entering directory '/data/jw/upc'
make[3]: Entering directory '/data/jw/upc'
rm -f stage_current
make[3]: Leaving directory '/data/jw/upc'
make[2]: Leaving directory '/data/jw/upc'
make[2]: Entering directory '/data/jw/upc'
make[3]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libiberty'
make[4]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libiberty'
make[3]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/lto-plugin'
make all-am
make[4]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/lto-plugin'
make[4]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/lto-plugin'
make[3]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/lto-plugin'
make[3]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/intl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/intl'
make[3]: Entering directory '/data/jw/upc/build-aarch64-unknown-linux-gnu/libiberty'
make[4]: Entering directory '/data/jw/upc/build-aarch64-unknown-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/data/jw/upc/build-aarch64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory '/data/jw/upc/build-aarch64-unknown-linux-gnu/libiberty'
make[3]: Entering directory '/data/jw/upc/build-aarch64-unknown-linux-gnu/fixincludes'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/data/jw/upc/build-aarch64-unknown-linux-gnu/fixincludes'
make[3]: Entering directory '/data/jw/upc/build-aarch64-unknown-linux-gnu/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[3]: Leaving directory '/data/jw/upc/build-aarch64-unknown-linux-gnu/libcpp'
make[3]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g" "CXXFLAGS=-g" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/data/jw/upc/missing makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/aarch64-unknown-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[3]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/zlib'
make[3]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libbacktrace'
make all-am
make[4]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libbacktrace'
true DO=all multi-do # make
make[4]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libbacktrace'
make[3]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libbacktrace'
make[3]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[3]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libcpp'
make[3]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libdecnumber'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/libdecnumber'
make[3]: Entering directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/gcc'
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 -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include -I../.././gcc/../libcpp/include
-o build/genpreds.o ../.././gcc/genpreds.c
In file included from ./tm.h:24,
from ../.././gcc/genpreds.c:26:
../.././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",
| ^
../.././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:41,
from ../.././gcc/genpreds.c:26:
../.././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 ../.././gcc/real.h:25,
from ../.././gcc/rtl.h:26,
from ../.././gcc/genpreds.c:27:
../.././gcc/wide-int.h:370:10: error: too many template-parameter-lists
370 | struct binary_traits <T1, T2, FLEXIBLE_PRECISION, FLEXIBLE_PRECISION>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h:377:10: error: too many template-parameter-lists
377 | struct binary_traits <T1, T2, FLEXIBLE_PRECISION, VAR_PRECISION>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h:384:10: error: too many template-parameter-lists
384 | struct binary_traits <T1, T2, FLEXIBLE_PRECISION, CONST_PRECISION>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h:394:10: error: too many template-parameter-lists
394 | struct binary_traits <T1, T2, VAR_PRECISION, FLEXIBLE_PRECISION>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h:401:10: error: too many template-parameter-lists
401 | struct binary_traits <T1, T2, CONST_PRECISION, FLEXIBLE_PRECISION>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h:411:10: error: too many template-parameter-lists
411 | struct binary_traits <T1, T2, CONST_PRECISION, CONST_PRECISION>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h:422:10: error: too many template-parameter-lists
422 | struct binary_traits <T1, T2, VAR_PRECISION, VAR_PRECISION>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h:886:10: error: too many template-parameter-lists
886 | struct int_traits < generic_wide_int >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h:898:51: error: invalid use of incomplete type 'struct wi::int_traits<generic_wide_int >'
898 | get_precision (const generic_wide_int &x)
| ^
../.././gcc/wide-int.h:349:32: note: declaration of 'struct wi::int_traits<generic_wide_int >'
349 | template struct int_traits;
| ^~~~~~~~~~
../.././gcc/wide-int.h:907:40: error: invalid use of incomplete type 'struct wi::int_traits<generic_wide_int >'
907 | const generic_wide_int &x)
| ^
../.././gcc/wide-int.h:349:32: note: declaration of 'struct wi::int_traits<generic_wide_int >'
349 | template struct int_traits;
| ^~~~~~~~~~
../.././gcc/wide-int.h:965:10: error: too many template-parameter-lists
965 | struct int_traits <wide_int_ref_storage >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h: In instantiation of 'struct wi::unary_traits<generic_wide_int<wide_int_storage> >':
../.././gcc/wide-int.h:685:3: required from 'class generic_wide_int<wide_int_storage>'
../.././gcc/wide-int.h:1080:14: required from here
../.././gcc/wide-int.h:362:10: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_storage> >' used in nested name specifier
362 | struct unary_traits : public binary_traits <T, T> {};
| ^~~~~~~~~~~~
../.././gcc/wide-int.h: In instantiation of 'class generic_wide_int<wide_int_storage>':
../.././gcc/wide-int.h:1080:14: required from here
../.././gcc/wide-int.h:685:19: error: no type named 'result_type' in 'struct wi::unary_traits<generic_wide_int<wide_int_storage> >'
685 | UNARY_OPERATOR (operator , bit_not)
| ^~~~~~~~
../.././gcc/wide-int.h:671:38: note: in definition of macro 'UNARY_OPERATOR'
671 | WI_UNARY_RESULT (generic_wide_int) OP () const { return wi::F (*this); }
| ^

../.././gcc/wide-int.h:686:19: error: no type named 'result_type' in 'struct wi::unary_traits<generic_wide_int<wide_int_storage> >'
686 | UNARY_OPERATOR (operator -, neg)
| ^~~~~~~~
../.././gcc/wide-int.h:671:38: note: in definition of macro 'UNARY_OPERATOR'
671 | WI_UNARY_RESULT (generic_wide_int) OP () const { return wi::F (*this); }
| ^~
../.././gcc/wide-int.h:689:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_storage> >' used in nested name specifier
689 | BINARY_OPERATOR (operator &, bit_and)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:690:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_storage> >' used in nested name specifier
690 | BINARY_OPERATOR (and_not, bit_and_not)
| ^~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:691:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_storage> >' used in nested name specifier
691 | BINARY_OPERATOR (operator |, bit_or)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:692:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_storage> >' used in nested name specifier
692 | BINARY_OPERATOR (or_not, bit_or_not)
| ^~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:693:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_storage> >' used in nested name specifier
693 | BINARY_OPERATOR (operator ^, bit_xor)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:694:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_storage> >' used in nested name specifier
694 | BINARY_OPERATOR (operator +, add)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:695:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_storage> >' used in nested name specifier
695 | BINARY_OPERATOR (operator -, sub)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:696:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_storage> >' used in nested name specifier
696 | BINARY_OPERATOR (operator *, mul)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h: In instantiation of 'struct wi::unary_traits<generic_wide_int<wide_int_ref_storage > >':
../.././gcc/wide-int.h:685:3: required from 'class generic_wide_int<wide_int_ref_storage >'
../.././gcc/wide-int.h:1083:60: required from here
../.././gcc/wide-int.h:362:10: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_ref_storage > >' used in nested name specifier
362 | struct unary_traits : public binary_traits <T, T> {};
| ^~~~~~~~~~~~
../.././gcc/wide-int.h: In instantiation of 'class generic_wide_int<wide_int_ref_storage >':
../.././gcc/wide-int.h:1083:60: required from here
../.././gcc/wide-int.h:685:19: error: no type named 'result_type' in 'struct wi::unary_traits<generic_wide_int<wide_int_ref_storage > >'
685 | UNARY_OPERATOR (operator , bit_not)
| ^~~~~~~~
../.././gcc/wide-int.h:671:38: note: in definition of macro 'UNARY_OPERATOR'
671 | WI_UNARY_RESULT (generic_wide_int) OP () const { return wi::F (*this); }
| ^

../.././gcc/wide-int.h:686:19: error: no type named 'result_type' in 'struct wi::unary_traits<generic_wide_int<wide_int_ref_storage > >'
686 | UNARY_OPERATOR (operator -, neg)
| ^~~~~~~~
../.././gcc/wide-int.h:671:38: note: in definition of macro 'UNARY_OPERATOR'
671 | WI_UNARY_RESULT (generic_wide_int) OP () const { return wi::F (*this); }
| ^~
../.././gcc/wide-int.h:689:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_ref_storage > >' used in nested name specifier
689 | BINARY_OPERATOR (operator &, bit_and)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:690:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_ref_storage > >' used in nested name specifier
690 | BINARY_OPERATOR (and_not, bit_and_not)
| ^~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:691:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_ref_storage > >' used in nested name specifier
691 | BINARY_OPERATOR (operator |, bit_or)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:692:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_ref_storage > >' used in nested name specifier
692 | BINARY_OPERATOR (or_not, bit_or_not)
| ^~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:693:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_ref_storage > >' used in nested name specifier
693 | BINARY_OPERATOR (operator ^, bit_xor)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:694:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_ref_storage > >' used in nested name specifier
694 | BINARY_OPERATOR (operator +, add)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:695:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_ref_storage > >' used in nested name specifier
695 | BINARY_OPERATOR (operator -, sub)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:696:20: error: incomplete type 'wi::int_traits<generic_wide_int<wide_int_ref_storage > >' used in nested name specifier
696 | BINARY_OPERATOR (operator *, mul)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:1152:10: error: too many template-parameter-lists
1152 | struct int_traits < fixed_wide_int_storage >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././gcc/wide-int.h:1244:42: error: invalid use of incomplete type 'struct wi::int_traits<fixed_wide_int_storage '
1244 | get_binary_result (const T1 &, const T2 &)
| ^
../.././gcc/wide-int.h:349:32: note: declaration of 'struct wi::int_traits<fixed_wide_int_storage >'
349 | template struct int_traits;
| ^~~~~~~~~~
../.././gcc/wide-int.h: In instantiation of 'struct wi::unary_traits<generic_wide_int<trailing_wide_int_storage> >':
../.././gcc/wide-int.h:685:3: required from 'class generic_wide_int<trailing_wide_int_storage>'
../.././gcc/wide-int.h:1378:56: required from here
../.././gcc/wide-int.h:362:10: error: incomplete type 'wi::int_traits<generic_wide_int<trailing_wide_int_storage> >' used in nested name specifier
362 | struct unary_traits : public binary_traits <T, T> {};
| ^~~~~~~~~~~~
../.././gcc/wide-int.h: In instantiation of 'class generic_wide_int<trailing_wide_int_storage>':
../.././gcc/wide-int.h:1378:56: required from here
../.././gcc/wide-int.h:685:19: error: no type named 'result_type' in 'struct wi::unary_traits<generic_wide_int<trailing_wide_int_storage> >'
685 | UNARY_OPERATOR (operator , bit_not)
| ^~~~~~~~
../.././gcc/wide-int.h:671:38: note: in definition of macro 'UNARY_OPERATOR'
671 | WI_UNARY_RESULT (generic_wide_int) OP () const { return wi::F (*this); }
| ^

../.././gcc/wide-int.h:686:19: error: no type named 'result_type' in 'struct wi::unary_traits<generic_wide_int<trailing_wide_int_storage> >'
686 | UNARY_OPERATOR (operator -, neg)
| ^~~~~~~~
../.././gcc/wide-int.h:671:38: note: in definition of macro 'UNARY_OPERATOR'
671 | WI_UNARY_RESULT (generic_wide_int) OP () const { return wi::F (*this); }
| ^~
../.././gcc/wide-int.h:689:20: error: incomplete type 'wi::int_traits<generic_wide_int<trailing_wide_int_storage> >' used in nested name specifier
689 | BINARY_OPERATOR (operator &, bit_and)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (*this, c); }
| ^~
../.././gcc/wide-int.h:690:20: error: incomplete type 'wi::int_traits<generic_wide_int<trailing_wide_int_storage> >' used in nested name specifier
690 | BINARY_OPERATOR (and_not, bit_and_not)
| ^~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (this, c); }
| ^~
../.././gcc/wide-int.h:691:20: error: incomplete type 'wi::int_traits<generic_wide_int<trailing_wide_int_storage> >' used in nested name specifier
691 | BINARY_OPERATOR (operator |, bit_or)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (this, c); }
| ^~
../.././gcc/wide-int.h:692:20: error: incomplete type 'wi::int_traits<generic_wide_int<trailing_wide_int_storage> >' used in nested name specifier
692 | BINARY_OPERATOR (or_not, bit_or_not)
| ^~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (this, c); }
| ^~
../.././gcc/wide-int.h:693:20: error: incomplete type 'wi::int_traits<generic_wide_int<trailing_wide_int_storage> >' used in nested name specifier
693 | BINARY_OPERATOR (operator ^, bit_xor)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (this, c); }
| ^~
../.././gcc/wide-int.h:694:20: error: incomplete type 'wi::int_traits<generic_wide_int<trailing_wide_int_storage> >' used in nested name specifier
694 | BINARY_OPERATOR (operator +, add)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (this, c); }
| ^~
../.././gcc/wide-int.h:695:20: error: incomplete type 'wi::int_traits<generic_wide_int<trailing_wide_int_storage> >' used in nested name specifier
695 | BINARY_OPERATOR (operator -, sub)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (this, c); }
| ^~
../.././gcc/wide-int.h:696:20: error: incomplete type 'wi::int_traits<generic_wide_int<trailing_wide_int_storage> >' used in nested name specifier
696 | BINARY_OPERATOR (operator , mul)
| ^~~~~~~~
../.././gcc/wide-int.h:676:5: note: in definition of macro 'BINARY_OPERATOR'
676 | OP (const T &c) const { return wi::F (this, c); }
| ^~
In file included from ../.././gcc/rtl.h:27,
from ../.././gcc/genpreds.c:27:
../.././gcc/vec.h: In instantiation of 'bool vec<T, va_heap, vl_ptr>::reserve(unsigned int, bool) [with T = std::pair<unsigned int, const char
>]':
../.././gcc/vec.h:1537:3: required from 'T
vec<T, va_heap, vl_ptr>::safe_push(const T&) [with T = std::pair<unsigned int, const char
>]'
../.././gcc/genpreds.c:1383:68: required from here
../.././gcc/vec.h:1431:14: warning: 'void
memcpy(void
, const void
, size_t)' writing to an object of type 'struct std::pair<unsigned int, const char
>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1431 | memcpy (m_vec->address (), oldvec->address (), sizeof (T) * oldsize);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/bits/stl_algobase.h:64,
from /usr/include/c++/10/bits/char_traits.h:39,
from /usr/include/c++/10/string:40,
from ../.././gcc/system.h:201,
from ../.././gcc/genpreds.c:24:
/usr/include/c++/10/bits/stl_pair.h:211:12: note: 'struct std::pair<unsigned int, const char
>' declared here
211 | struct pair
| ^~~~
make[3]: *** [Makefile:2436: build/genpreds.o] Error 1
make[3]: Leaving directory '/data/jw/upc/host-aarch64-unknown-linux-gnu/gcc'
make[2]: *** [Makefile:4400: all-stage1-gcc] Error 2
make[2]: Leaving directory '/data/jw/upc'
make[1]: *** [Makefile:22213: stage1-bubble] Error 2
make[1]: Leaving directory '/data/jw/upc'
make: *** [Makefile:915: all] Error 2
[jw@cn06 upc]$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions