WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
270963
[GTK] [2.42.5] SharedContextMutex.cpp: error: inlining failed in call to ‘always_inline’
https://bugs.webkit.org/show_bug.cgi?id=270963
Summary
[GTK] [2.42.5] SharedContextMutex.cpp: error: inlining failed in call to ‘alw...
Alberto Garcia
Reported
2024-03-14 02:13:43 PDT
Both WebKitGTK and WPE WebKit 2.42.5 have recently stopped building in Debian unstable: ---------------------------------------- /<<PKGBUILDDIR>>/Source/ThirdParty/ANGLE/src/libANGLE/SharedContextMutex.cpp:219:41: error: inlining failed in call to ‘always_inline’ ‘egl::SharedContextMutex<Mutex>* egl::SharedContextMutex<Mutex>::doTryLock() [with Mutex = std::mutex]’: recursive inlining 219 | ANGLE_INLINE SharedContextMutex<Mutex> *SharedContextMutex<Mutex>::doTryLock() | ^~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/Source/ThirdParty/ANGLE/src/libANGLE/SharedContextMutex.cpp:241:41: error: inlining failed in call to ‘always_inline’ ‘egl::SharedContextMutex<Mutex>* egl::SharedContextMutex<Mutex>::doLock() [with Mutex = std::mutex]’: recursive inlining 241 | ANGLE_INLINE SharedContextMutex<Mutex> *SharedContextMutex<Mutex>::doLock() | ^~~~~~~~~~~~~~~~~~~~~~~~~ ---------------------------------------- This is due to the ANGLE_INLINE macro in Source/ThirdParty/ANGLE/src/common/angleutils.h: #if defined(NDEBUG) && ANGLE_HAS_ATTRIBUTE_ALWAYS_INLINE # define ANGLE_INLINE inline __attribute__((always_inline)) #elif defined(NDEBUG) && ANGLE_HAS___FORCEINLINE # define ANGLE_INLINE __forceinline #else # define ANGLE_INLINE inline #endif I'm building WebKit with NDEBUG so ANGLE_INLINE is 'inline __attribute__((always_inline))' If I stop using NDEBUG or otherwise force ANGLE_INLINE to simply be 'inline' then this builds fine.
Attachments
Add attachment
proposed patch, testcase, etc.
Alberto Garcia
Comment 1
2024-03-14 13:00:00 PDT
Never mind, this was caused because I was accidentally using -Werror=implicit-function-declaration for C++ files. Closing as invalid.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug