From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E83A0385E836; Wed, 26 Jan 2022 16:26:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E83A0385E836 From: "kloczko.tomasz at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/104245] New: abseil-cpp 20211102.0 fails with "internal compiler error" Date: Wed, 26 Jan 2022 16:26:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kloczko.tomasz at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2022 16:26:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104245 Bug ID: 104245 Summary: abseil-cpp 20211102.0 fails with "internal compiler error" Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: kloczko.tomasz at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- https://github.com/abseil/abseil-cpp//archive/20211102.0/abseil-cpp-2021110= 2.0.tar.gz=20 %build %cmake \ -D ABSL_USE_EXTERNAL_GOOGLETEST=3DON \ -D BUILD_TESTING=3DON \ Build fails on linking=20 [ 52%] Building CXX object absl/flags/CMakeFiles/absl_flags_flag_test.dir/flag_test.cc.o cd /home/tkloczko/rpmbuild/BUILD/abseil-cpp-20211102.0/x86_64-redhat-linux-gnu= /absl/flags && /usr/bin/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=3D1 -I/home/tkloczko/rpmbuild/BUILD/abseil-cpp-20211102.0 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=3Dauto -flto-partition=3Dnone -DN= DEBUG -Wall -Wextra -Wcast-qual -Wconversion-null -Wformat-security -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wundef -Wunused-local-typedefs -Wunused-result -Wvarargs -Wvla -Wwrite-strings -DNOMINMAX -Wno-conversion-null -Wno-deprecated-declarations -Wno-missing-declarations -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter -Wno-unused-private-field -MD -MT absl/flags/CMakeFiles/absl_flags_flag_test.dir/flag_test.cc.o -MF CMakeFiles/absl_flags_flag_test.dir/flag_test.cc.o.d -o CMakeFiles/absl_flags_flag_test.dir/flag_test.cc.o -c /home/tkloczko/rpmbuild/BUILD/abseil-cpp-20211102.0/absl/flags/flag_test.cc *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event | Plugins PLUGIN_FINISH_UNIT | annobin: Generate final annotations PLUGIN_START_UNIT | annobin: Generate global annotations PLUGIN_ALL_PASSES_START | annobin: Generate per-function annotatio= ns PLUGIN_ALL_PASSES_END | annobin: Register per-function end symbo= ls during IPA pass: modref /home/tkloczko/rpmbuild/BUILD/abseil-cpp-20211102.0/absl/flags/flag_test.cc= :979:1: internal compiler error: tree code =E2=80=98template_type_parm=E2=80=99 is = not supported in LTO streams 979 | } | ^ Please submit a full bug report, with preprocessed source if appropriate. I'm not sure where I can find that preporocessed source.=