WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
255571
[Win Clang] UnlinkedFunctionExecutable.h(327,1): error: static assertion failed due to requirement 'sizeof(JSC::UnlinkedFunctionExecutable) <= 96': UnlinkedFunctionExecutable needs to be small
https://bugs.webkit.org/show_bug.cgi?id=255571
Summary
[Win Clang] UnlinkedFunctionExecutable.h(327,1): error: static assertion fail...
Fujii Hironori
Reported
2023-04-17 19:00:10 PDT
[Win Clang] UnlinkedFunctionExecutable.h(327,1): error: static assertion failed due to requirement 'sizeof(JSC::UnlinkedFunctionExecutable) <= 96': UnlinkedFunctionExecutable needs to be small clang-cl can't compile Release build of Windows port. [664/6540] Building CXX object Source\JavaScriptCore\CMakeFiles\LLIntOffsetsExtractor.dir\llint\LLIntOffsetsExtractor.cpp.obj FAILED: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.obj C:\PROGRA~1\LLVM\bin\clang-cl.exe (...) -c -- C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\llint\LLIntOffsetsExtractor.cpp In file included from C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\llint\LLIntOffsetsExtractor.cpp:31: In file included from C:\jenkins_slave\wincairo-main\WebKitBuild\Release\JavaScriptCore\DerivedSources\BytecodeStructs.h:31: In file included from C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\bytecode\BytecodeDumper.h:31: In file included from C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\bytecode/CallLinkInfo.h:34: In file included from C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\jit\PolymorphicCallStubRoutine.h:30: In file included from C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\bytecode\CallEdge.h:28: In file included from C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\bytecode/CallVariant.h:28: In file included from C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\runtime\ExecutableBaseInlines.h:28: In file included from C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\runtime/ExecutableBase.h:33: In file included from C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\bytecode\UnlinkedCodeBlock.h:42: C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\bytecode/UnlinkedFunctionExecutable.h(327,1): error: static assertion failed due to requirement 'sizeof(JSC::UnlinkedFunctionExecutable) <= 96': UnlinkedFunctionExecutable needs to be small static_assert(sizeof(UnlinkedFunctionExecutable) <= 96, "UnlinkedFunctionExecutable needs to be small"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\jenkins_slave\wincairo-main\Source\JavaScriptCore\bytecode/UnlinkedFunctionExecutable.h(327,50): note: expression evaluates to '104 <= 96' static_assert(sizeof(UnlinkedFunctionExecutable) <= 96, "UnlinkedFunctionExecutable needs to be small"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 1 error generated.
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2023-04-17 20:32:37 PDT
This is the discussion on the static_assert.
https://github.com/WebKit/WebKit/pull/2457#discussion_r922593712
Fujii Hironori
Comment 2
2023-04-17 23:02:55 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/12847
EWS
Comment 3
2023-04-19 14:59:27 PDT
Committed
263149@main
(2aa03fba6a75): <
https://commits.webkit.org/263149@main
> Reviewed commits have been landed. Closing PR #12847 and removing active labels.
Radar WebKit Bug Importer
Comment 4
2023-04-19 15:00:23 PDT
<
rdar://problem/108283059
>
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