Bug 1629813 - gcc throws an ICE trying to build chromium 69 for EPEL
Summary: gcc throws an ICE trying to build chromium 69 for EPEL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: gcc
Version: DTS 7.1 RHEL 7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 8.0
Assignee: Marek Polacek
QA Contact: Michael Petlan
URL:
Whiteboard:
: 1634288 1662367 (view as bug list)
Depends On:
Blocks: 1660242
TreeView+ depends on / blocked
 
Reported: 2018-09-17 13:06 UTC by Tom "spot" Callaway
Modified: 2019-01-29 07:15 UTC (History)
11 users (show)

Fixed In Version: devtoolset-8-gcc-8.2.1-3.el7
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
: 1660242 (view as bug list)
Environment:
Last Closed: 2018-11-13 08:38:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 84785 0 P1 RESOLVED [8 Regression] internal compiler error: unexpected expression ‘I’ of kind template_parm_index 2020-01-23 20:00:34 UTC
Red Hat Product Errata RHBA-2018:3562 0 None None None 2018-11-13 08:38:56 UTC

Description Tom "spot" Callaway 2018-09-17 13:06:47 UTC
Description of problem:

[6187/22908] g++ -MMD -MF obj/third_party/webrtc/modules/rtp_rtcp/rtp_rtcp/rtp_receiver_video.o.d -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DV8_DEPRECATION_WARNINGS -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DHAVE_SCTP -DENABLE_EXTERNAL_AUTH -DUSE_BUILTIN_SW_CODECS -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE -DLOGGING_INSIDE_WEBRTC -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DGTEST_RELATIVE_PATH -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -I../.. -Igen -I../../third_party/webrtc_overrides -I../../third_party/webrtc -I../../third_party/libyuv/include -I../../third_party/webrtc/common_video/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -isystem ../../third_party/abseil-cpp -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -fno-delete-null-pointer-checks -c ../../third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc -o obj/third_party/webrtc/modules/rtp_rtcp/rtp_rtcp/rtp_receiver_video.o
FAILED: obj/third_party/webrtc/modules/rtp_rtcp/rtp_rtcp/rtp_receiver_video.o 
g++ -MMD -MF obj/third_party/webrtc/modules/rtp_rtcp/rtp_rtcp/rtp_receiver_video.o.d -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DV8_DEPRECATION_WARNINGS -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DHAVE_SCTP -DENABLE_EXTERNAL_AUTH -DUSE_BUILTIN_SW_CODECS -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE -DLOGGING_INSIDE_WEBRTC -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DGTEST_RELATIVE_PATH -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -I../.. -Igen -I../../third_party/webrtc_overrides -I../../third_party/webrtc -I../../third_party/libyuv/include -I../../third_party/webrtc/common_video/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -isystem ../../third_party/abseil-cpp -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -fno-delete-null-pointer-checks -c ../../third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc -o obj/third_party/webrtc/modules/rtp_rtcp/rtp_rtcp/rtp_receiver_video.o
In file included from ../../third_party/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h:18:0,
                 from ../../third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h:14,
                 from ../../third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc:11:
../../third_party/abseil-cpp/absl/types/variant.h: In substitution of 'template<long unsigned int I, class T> using variant_alternative_t = typename absl::variant_alternative::type [with long unsigned int I = I; T = absl::variant<webrtc::RTPVideoHeaderVP8, webrtc::RTPVideoHeaderVP9, webrtc::RTPVideoHeaderH264>]':
../../third_party/abseil-cpp/absl/types/variant.h:575:7:   required by substitution of 'template<class T, long unsigned int I, class Tj, typename std::enable_if<(std::is_assignable<Tj&, T>::value && std::is_constructible<Tj, T>::value), void>::type* <anonymous> > absl::variant<webrtc::RTPVideoHeaderVP8, webrtc::RTPVideoHeaderVP9, webrtc::RTPVideoHeaderH264>& absl::variant<webrtc::RTPVideoHeaderVP8, webrtc::RTPVideoHeaderVP9, webrtc::RTPVideoHeaderH264>::operator=<T, I, Tj, <enumerator> >(T&&) [with T = absl::variant<webrtc::RTPVideoHeaderVP8, webrtc::RTPVideoHeaderVP9, webrtc::RTPVideoHeaderH264>&; long unsigned int I = <missing>; Tj = <missing>; typename std::enable_if<(std::is_assignable<Tj&, T>::value && std::is_constructible<Tj, T>::value), void>::type* <anonymous> = <missing>]'
../../third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc:80:60:   required from here
../../third_party/abseil-cpp/absl/types/variant.h:575:7: internal compiler error: unexpected expression 'I' of kind template_parm_index
       class Tj = absl::variant_alternative_t<I, variant>,
       ^~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

Pretty sure this is:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84785
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=258410



Version-Release number of selected component (if applicable):

devtoolset-7-toolchain 7.1-4.el7

How reproducible:

Always

Steps to Reproduce:
1. Rebuild Chromium-69 srpm in EPEL-7

Actual results:

ICE

Expected results:

successful build (like on all Fedora targets 27+)

Additional info:

Comment 2 Marek Polacek 2018-09-17 13:45:23 UTC
Too late for DTS 7.1, but this is fixed in DTS 8 gcc.

Comment 4 Marek Polacek 2018-10-01 14:13:12 UTC
*** Bug 1634288 has been marked as a duplicate of this bug. ***

Comment 5 Michael Petlan 2018-10-04 23:51:05 UTC
Reproduced the ICE with devtoolset-7-gcc and works with devtoolset-8-gcc-8.2.1-3.el8.
VERIFIED.

Comment 7 errata-xmlrpc 2018-11-13 08:38:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3562

Comment 8 Marek Polacek 2019-01-03 16:39:15 UTC
*** Bug 1662367 has been marked as a duplicate of this bug. ***


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