Bug 2042434 - abseil-cpp: FTBFS in Fedora Rawhide with GCC 12 (internal compiler error)
Summary: abseil-cpp: FTBFS in Fedora Rawhide with GCC 12 (internal compiler error)
Keywords:
Status: CLOSED DUPLICATE of bug 2045186
Alias: None
Product: Fedora
Classification: Fedora
Component: abseil-cpp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-19 14:13 UTC by Ben Beasley
Modified: 2022-01-31 18:58 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-01-31 18:58:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2022-01-19 14:13:08 UTC
Description of problem:
Package abseil-cpp fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
20210324.2-2.fc35

Steps to Reproduce:
koji build --scratch f36 abseil-cpp-20210324.2-2.fc35.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/abseil-cpp

> *** 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
> /builddir/build/BUILD/abseil-cpp-20210324.2/absl/flags/flag_test.cc:945:1: > internal compiler error: tree code 'template_type_parm' is not supported in LTO > streams
>   945 | }  // namespace
>       | ^
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://bugzilla.redhat.com/bugzilla> for instructions.

Also in:

> /builddir/build/BUILD/abseil-cpp-20210324.2/absl/flags/reflection_test.cc:265:1: internal compiler error: tree code 'template_type_parm' is not supported in LTO streams

This is probably a GCC bug.

If a short-term workaround is desired, options include disabling the tests (ugh) or disabling LTO (“%global _lto_cflags %{nil}”), which I’ve verified does allow the build to succeed.

Comment 1 Ben Beasley 2022-01-19 14:15:03 UTC
There is still a test failure in absl_node_hash_map_test when disabling LTO, however…

Comment 2 Ben Beasley 2022-01-31 18:58:21 UTC
Marking this as a duplicate of the newer, automatically-created bug.

*** This bug has been marked as a duplicate of bug 2045186 ***


Note You need to log in before you can comment on or make changes to this bug.