public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "szy_mailbox at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/105317] New: How to deal with this: internal compiler error: in process_init_constructor_array, at cp/typeck2.c:1308?
Date: Wed, 20 Apr 2022 09:21:34 +0000	[thread overview]
Message-ID: <bug-105317-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105317

            Bug ID: 105317
           Summary: How to deal with this: internal compiler error: in
                    process_init_constructor_array, at cp/typeck2.c:1308?
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: szy_mailbox at 126 dot com
  Target Milestone: ---

When i compile mysqlsrc with gcc7.3 on arm, it reports the following error:

[ 67%] Built target routertest_http_kdf_sha_crypt
Scanning dependencies of target routertest_http_http_uri
[ 67%] Building CXX object
unittest/gunit/xplugin/xcl/CMakeFiles/xclient_unit_tests.dir/xpriority_list_t.cc.o
/root/rpmbuild/BUILD/mysql-8.0.27/unittest/gunit/xplugin/xcl/xpriority_list_t.cc:
In member function ‘virtual void
xcl::test::Xcl_xpriority_list_tests_simple_operations_Test::TestBody()’:
/root/rpmbuild/BUILD/mysql-8.0.27/unittest/gunit/xplugin/xcl/xpriority_list_t.cc:167:57:
internal compiler error: in process_init_constructor_array, at
cp/typeck2.c:1308
   push_and_assert("Push_one_element", {"A"}, {F{"A", 1}});
                                                         ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: ***
[unittest/gunit/xplugin/xcl/CMakeFiles/xclient_unit_tests.dir/build.make:310:
unittest/gunit/xplugin/xcl/CMakeFiles/xclient_unit_tests.dir/xpriority_list_t.cc.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:25931:
unittest/gunit/xplugin/xcl/CMakeFiles/xclient_unit_tests.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


gcc version is:

[root@abc]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-linux-gnu/7.3.0/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,fortran,lto --enable-plugin
--enable-initfini-array --disable-libgcj
--with-isl=/home/abuild/rpmbuild/BUILD/gcc-7.3.0/obj-aarch64-linux-gnu/isl-install
--without-cloog --enable-gnu-indirect-function --build=aarch64-linux-gnu
--with-stage1-ldflags=' -Wl,-z,relro,-z,now' --with-boot-ldflags='
-Wl,-z,relro,-z,now' --with-multilib-list=lp64
Thread model: posix
gcc version 7.3.0 (GCC)

             reply	other threads:[~2022-04-20  9:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20  9:21 szy_mailbox at 126 dot com [this message]
2022-04-20  9:50 ` [Bug c++/105317] " marxin at gcc dot gnu.org
2022-04-20  9:58 ` szy_mailbox at 126 dot com
2022-04-20  9:59 ` szy_mailbox at 126 dot com
2022-04-20 10:04 ` marxin at gcc dot gnu.org
2022-04-20 10:09 ` szy_mailbox at 126 dot com
2022-04-20 10:10 ` marxin at gcc dot gnu.org
2022-04-20 10:12 ` szy_mailbox at 126 dot com
2022-04-20 10:13 ` marxin at gcc dot gnu.org
2022-04-20 10:16 ` szy_mailbox at 126 dot com
2022-04-20 10:17 ` marxin at gcc dot gnu.org
2022-04-20 14:28 ` szy_mailbox at 126 dot com
2022-04-20 14:33 ` jakub at gcc dot gnu.org
2022-04-20 14:42 ` szy_mailbox at 126 dot com
2022-04-20 15:12 ` szy_mailbox at 126 dot com
2022-04-20 15:33 ` szy_mailbox at 126 dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-105317-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).