public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/104245] New: abseil-cpp 20211102.0 fails with "internal compiler error"
@ 2022-01-26 16:26 kloczko.tomasz at gmail dot com
  2022-01-26 16:27 ` [Bug lto/104245] " kloczko.tomasz at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: kloczko.tomasz at gmail dot com @ 2022-01-26 16:26 UTC (permalink / raw)
  To: gcc-bugs

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

            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-20211102.0.tar.gz 

%build
%cmake \
        -D ABSL_USE_EXTERNAL_GOOGLETEST=ON \
        -D BUILD_TESTING=ON \

Build fails on linking 

[ 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=1
-I/home/tkloczko/rpmbuild/BUILD/abseil-cpp-20211102.0 -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DNDEBUG
-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 annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbols
during IPA pass: modref
/home/tkloczko/rpmbuild/BUILD/abseil-cpp-20211102.0/absl/flags/flag_test.cc:979:1:
internal compiler error: tree code ‘template_type_parm’ 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.

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

end of thread, other threads:[~2022-01-27 22:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 16:26 [Bug lto/104245] New: abseil-cpp 20211102.0 fails with "internal compiler error" kloczko.tomasz at gmail dot com
2022-01-26 16:27 ` [Bug lto/104245] " kloczko.tomasz at gmail dot com
2022-01-26 16:41 ` marxin at gcc dot gnu.org
2022-01-26 16:41 ` pinskia at gcc dot gnu.org
2022-01-26 16:42 ` pinskia at gcc dot gnu.org
2022-01-26 18:40 ` [Bug c++/104245] " pinskia at gcc dot gnu.org
2022-01-27 11:45 ` jakub at gcc dot gnu.org
2022-01-27 12:59 ` jakub at gcc dot gnu.org
2022-01-27 15:39 ` [Bug c++/104245] [12 Regression] " kloczko.tomasz at gmail dot com
2022-01-27 15:48 ` jason at gcc dot gnu.org
2022-01-27 21:55 ` cvs-commit at gcc dot gnu.org
2022-01-27 22:01 ` jason at gcc dot gnu.org

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