[Webkit-unassigned] [Bug 200223] [GTK] Compilation errors when GL is disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 02:34:45 PDT 2019


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

Philippe Normand <pnormand at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[GStreamer] Compilation     |[GTK] Compilation errors
                   |error when GL is disabled:  |when GL is disabled
                   |updateTextureMapperFlags is |
                   |not defined.                |

--- Comment #5 from Philippe Normand <pnormand at igalia.com> ---
This is beyond GStreamer:

In file included from /usr/include/X11/Xlib.h:44,
                 from /usr/include/gtk-3.0/gdk/gdkx.h:30,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:54,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:2:
DerivedSources/ForwardingHeaders/wtf/Threading.h:75:5: error: expected identifier before numeric constant
     None = 0,
     ^~~~
DerivedSources/ForwardingHeaders/wtf/Threading.h:75:5: error: expected ‘}’ before numeric constant
In file included from DerivedSources/ForwardingHeaders/wtf/WeakPtr.h:33,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/FontCascade.h:34,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/GraphicsContext.h:31,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.h:38,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:34,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:4:
DerivedSources/ForwardingHeaders/wtf/Threading.h:74:35: note: to match this ‘{’
 enum class GCThreadType : uint8_t {
                                   ^
In file included from /usr/include/X11/Xlib.h:44,
                 from /usr/include/gtk-3.0/gdk/gdkx.h:30,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:54,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:2:
DerivedSources/ForwardingHeaders/wtf/Threading.h:75:5: error: expected unqualified-id before numeric constant
     None = 0,
     ^~~~
In file included from DerivedSources/ForwardingHeaders/wtf/WeakPtr.h:33,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/FontCascade.h:34,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/GraphicsContext.h:31,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.h:38,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:34,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:4:
DerivedSources/ForwardingHeaders/wtf/Threading.h:147:53: error: ‘GCThreadType’ has not been declared
     WTF_EXPORT_PRIVATE static void registerGCThread(GCThreadType);
                                                     ^~~~~~~~~~~~
DerivedSources/ForwardingHeaders/wtf/Threading.h:203:5: error: ‘GCThreadType’ does not name a type; did you mean ‘GThreadPool’?
     GCThreadType gcThreadType() const { return static_cast<GCThreadType>(m_gcThreadType); }
     ^~~~~~~~~~~~
     GThreadPool
DerivedSources/ForwardingHeaders/wtf/Threading.h:216:42: error: ‘PlatformThreadHandle’ has not been declared
     void establishPlatformSpecificHandle(PlatformThreadHandle);
                                          ^~~~~~~~~~~~~~~~~~~~
In file included from DerivedSources/ForwardingHeaders/wtf/WeakPtr.h:33,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/FontCascade.h:34,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/GraphicsContext.h:31,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.h:38,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:34,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:4:
DerivedSources/ForwardingHeaders/wtf/Threading.h:248:5: error: ‘ThreadGroupAddResult’ does not name a type; did you mean ‘ThreadGroup’?
     ThreadGroupAddResult addToThreadGroup(const AbstractLocker& threadGroupLocker, ThreadGroup&);
     ^~~~~~~~~~~~~~~~~~~~
     ThreadGroup
DerivedSources/ForwardingHeaders/wtf/Threading.h:249:73: error: ‘ThreadGroup’ has not been declared
     void removeFromThreadGroup(const AbstractLocker& threadGroupLocker, ThreadGroup&);
                                                                         ^~~~~~~~~~~
DerivedSources/ForwardingHeaders/wtf/Threading.h:257:31: error: ‘ThreadSpecificKey’ does not name a type; did you mean ‘ThreadSafeRefCounted’?
     static WTF_EXPORT_PRIVATE ThreadSpecificKey s_key;
                               ^~~~~~~~~~~~~~~~~
                               ThreadSafeRefCounted
DerivedSources/ForwardingHeaders/wtf/Threading.h:293:26: error: ‘ThreadGroup’ was not declared in this scope
     Vector<std::weak_ptr<ThreadGroup>> m_threadGroups;
                          ^~~~~~~~~~~
DerivedSources/ForwardingHeaders/wtf/Threading.h:293:26: note: suggested alternative:
In file included from DerivedSources/ForwardingHeaders/wtf/WeakPtr.h:33,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/FontCascade.h:34,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/GraphicsContext.h:31,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.h:38,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:34,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:4:
DerivedSources/ForwardingHeaders/wtf/Threading.h:61:7: note:   ‘WTF::ThreadGroup’
 class ThreadGroup;
       ^~~~~~~~~~~
In file included from DerivedSources/ForwardingHeaders/wtf/WeakPtr.h:33,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/FontCascade.h:34,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/GraphicsContext.h:31,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.h:38,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:34,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:4:
DerivedSources/ForwardingHeaders/wtf/Threading.h:293:26: error: template argument 1 is invalid
     Vector<std::weak_ptr<ThreadGroup>> m_threadGroups;
                          ^~~~~~~~~~~
DerivedSources/ForwardingHeaders/wtf/Threading.h:293:37: error: template argument 1 is invalid
     Vector<std::weak_ptr<ThreadGroup>> m_threadGroups;
                                     ^~
DerivedSources/ForwardingHeaders/wtf/Threading.h:294:5: error: ‘PlatformThreadHandle’ does not name a type
     PlatformThreadHandle m_handle;
     ^~~~~~~~~~~~~~~~~~~~
DerivedSources/ForwardingHeaders/wtf/Threading.h: In constructor ‘Thread::Thread()’:
DerivedSources/ForwardingHeaders/wtf/Threading.h:321:44: error: ‘GCThreadType’ has not been declared
     , m_gcThreadType(static_cast<unsigned>(GCThreadType::None))
                                            ^~~~~~~~~~~~
In file included from /usr/include/X11/Xlib.h:44,
                 from /usr/include/gtk-3.0/gdk/gdkx.h:30,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:54,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:2:
DerivedSources/ForwardingHeaders/wtf/Threading.h:321:58: error: expected unqualified-id before numeric constant
     , m_gcThreadType(static_cast<unsigned>(GCThreadType::None))
                                                          ^~~~
In file included from DerivedSources/ForwardingHeaders/wtf/WeakPtr.h:33,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/FontCascade.h:34,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/GraphicsContext.h:31,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.h:38,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:34,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:4:
DerivedSources/ForwardingHeaders/wtf/Threading.h:321:58: error: expected ‘)’ before numeric constant
     , m_gcThreadType(static_cast<unsigned>(GCThreadType::None))
                                                          ^
                                                          )
DerivedSources/ForwardingHeaders/wtf/Threading.h:321:63: error: expected ‘{’ before ‘)’ token
     , m_gcThreadType(static_cast<unsigned>(GCThreadType::None))
                                                               ^
DerivedSources/ForwardingHeaders/wtf/Threading.h: At global scope:
DerivedSources/ForwardingHeaders/wtf/Threading.h:321:63: error: expected unqualified-id before ‘)’ token
DerivedSources/ForwardingHeaders/wtf/Threading.h: In static member function ‘static Thread* Thread::currentMayBeNull()’:
DerivedSources/ForwardingHeaders/wtf/Threading.h:329:51: error: ‘s_key’ was not declared in this scope
     return static_cast<Thread*>(threadSpecificGet(s_key));
                                                   ^~~~~
DerivedSources/ForwardingHeaders/wtf/Threading.h:329:51: note: suggested alternative: ‘si_pkey’
     return static_cast<Thread*>(threadSpecificGet(s_key));
                                                   ^~~~~
                                                   si_pkey
DerivedSources/ForwardingHeaders/wtf/Threading.h:329:33: error: ‘threadSpecificGet’ was not declared in this scope
     return static_cast<Thread*>(threadSpecificGet(s_key));
                                 ^~~~~~~~~~~~~~~~~
DerivedSources/ForwardingHeaders/wtf/Threading.h:329:33: note: suggested alternative:
In file included from DerivedSources/ForwardingHeaders/wtf/MainThread.h:35,
                 from DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:30,
                 from DerivedSources/ForwardingHeaders/wtf/FunctionDispatcher.h:29,
                 from DerivedSources/ForwardingHeaders/wtf/RunLoop.h:33,
                 from DerivedSources/ForwardingHeaders/pal/HysteresisActivity.h:28,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.h:23,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.cpp:21,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:3:
DerivedSources/ForwardingHeaders/wtf/ThreadingPrimitives.h:143:14: note:   ‘WTF::threadSpecificGet’
 inline void* threadSpecificGet(ThreadSpecificKey key)
              ^~~~~~~~~~~~~~~~~
In file included from DerivedSources/ForwardingHeaders/wtf/Platform.h:31,
                 from /home/phil/WebKit/Source/WebCore/config.h:26,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp:20,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:1:
DerivedSources/ForwardingHeaders/wtf/Threading.h: In static member function ‘static Thread& Thread::current()’:
DerivedSources/ForwardingHeaders/wtf/Threading.h:344:26: error: ‘s_key’ is not a member of ‘Thread’
     if (UNLIKELY(Thread::s_key == InvalidThreadSpecificKey))
                          ^~~~~
DerivedSources/ForwardingHeaders/wtf/Compiler.h:341:41: note: in definition of macro ‘UNLIKELY’
 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
                                         ^
DerivedSources/ForwardingHeaders/wtf/Threading.h:344:35: error: ‘InvalidThreadSpecificKey’ was not declared in this scope
     if (UNLIKELY(Thread::s_key == InvalidThreadSpecificKey))
                                   ^~~~~~~~~~~~~~~~~~~~~~~~
DerivedSources/ForwardingHeaders/wtf/Compiler.h:341:41: note: in definition of macro ‘UNLIKELY’
 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
                                         ^
DerivedSources/ForwardingHeaders/wtf/Threading.h:344:35: note: suggested alternative:
     if (UNLIKELY(Thread::s_key == InvalidThreadSpecificKey))
                                   ^~~~~~~~~~~~~~~~~~~~~~~~
DerivedSources/ForwardingHeaders/wtf/Compiler.h:341:41: note: in definition of macro ‘UNLIKELY’
 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
                                         ^
In file included from DerivedSources/ForwardingHeaders/wtf/MainThread.h:35,
                 from DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:30,
                 from DerivedSources/ForwardingHeaders/wtf/FunctionDispatcher.h:29,
                 from DerivedSources/ForwardingHeaders/wtf/RunLoop.h:33,
                 from DerivedSources/ForwardingHeaders/pal/HysteresisActivity.h:28,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.h:23,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.cpp:21,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:3:
DerivedSources/ForwardingHeaders/wtf/ThreadingPrimitives.h:122:36: note:   ‘WTF::InvalidThreadSpecificKey’
 static constexpr ThreadSpecificKey InvalidThreadSpecificKey = PTHREAD_KEYS_MAX;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from DerivedSources/ForwardingHeaders/wtf/WeakPtr.h:33,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/FontCascade.h:34,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/GraphicsContext.h:31,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.h:38,
                 from /home/phil/WebKit/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp:34,
                 from DerivedSources/WebCore/unified-sources/UnifiedSource-3c72abbe-24.cpp:4:
DerivedSources/ForwardingHeaders/wtf/Threading.h: At global scope:
DerivedSources/ForwardingHeaders/wtf/Threading.h:356:1: error: expected declaration before ‘}’ token
 } // namespace WTF
 ^

-- 
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/20190730/8b2fe561/attachment-0001.html>


More information about the webkit-unassigned mailing list