[Webkit-unassigned] [Bug 216280] New: REGRESSION(r266681) [GTK] constexpr build failure in LTS/Debian with GCC 8

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 8 12:37:01 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216280

            Bug ID: 216280
           Summary: REGRESSION(r266681) [GTK] constexpr build failure in
                    LTS/Debian with GCC 8
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com

Error:

[257/502] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-54.cpp.o
FAILED: Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-54.cpp.o 
<snip long include line>
In file included from DerivedSources/ForwardingHeaders/wtf/StdLibExtras.h:32:0,
                 from DerivedSources/ForwardingHeaders/wtf/FastMalloc.h:26,
                 from ../../Source/WebCore/config.h:56,
                 from ../../Source/WebCore/platform/text/TextCodecCJK.cpp:26,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-54.cpp:1:
../../Source/WebCore/platform/text/TextCodecSingleByte.cpp: In function ‘constexpr const SingleByteDecodeTable& WebCore::tableForDecoding(WebCore::TextCodecSingleByte::Encoding)’:
DerivedSources/ForwardingHeaders/wtf/Assertions.h:587:56: error: call to non-constexpr function ‘void CRASH_WITH_INFO(...)’
 #define RELEASE_ASSERT_NOT_REACHED(...) CRASH_WITH_INFO(__VA_ARGS__)
                                         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../Source/WebCore/platform/text/TextCodecSingleByte.cpp:237:5: note: in expansion of macro ‘RELEASE_ASSERT_NOT_REACHED’
     RELEASE_ASSERT_NOT_REACHED();
     ^~~~~~~~~~~~~~~~~~~~~~~~~~

GCC 8 has some limitations checking non-constexpr expressions after return statements.

Example: https://godbolt.org/z/dhPvaf

Related GCC bugs: 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86678
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67371

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200908/91bc9aaf/attachment-0001.htm>


More information about the webkit-unassigned mailing list