public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105317] New: How to deal with this: internal compiler error: in process_init_constructor_array, at cp/typeck2.c:1308?
@ 2022-04-20  9:21 szy_mailbox at 126 dot com
  2022-04-20  9:50 ` [Bug c++/105317] " marxin at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: szy_mailbox at 126 dot com @ 2022-04-20  9:21 UTC (permalink / raw)
  To: gcc-bugs

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)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-04-20 15:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20  9:21 [Bug c++/105317] New: How to deal with this: internal compiler error: in process_init_constructor_array, at cp/typeck2.c:1308? szy_mailbox at 126 dot com
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

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).