-
Notifications
You must be signed in to change notification settings - Fork 16k
Open
Description
What version of protobuf and what language are you using?
Version: 4.33.2
Language: Ruby
What operating system (Linux, Windows, ...) and version?
Windows 11 Arm
What runtime / compiler are you using (e.g., python version or gcc version)
clang version 21.1.7
Target: aarch64-w64-windows-gnu
What did you do?
- Install msys2 (clangarm64)
- Install google-protobuf
What did you expect to see
The extension compiles.
What did you see instead?
Clang crashes.
fatal error: error in backend: Failed to evaluate function length in SEH unwind
info
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and
include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments:
C:\\hostedtoolcache\\windows\\Ruby\\3.4.7\\arm64\\msys64\\clangarm64\\bin\\clang.exe
-I.
-IC:/hostedtoolcache/windows/Ruby/3.4.7/arm64/include/ruby-3.4.0/aarch64-mingw-ucrt
-IC:/hostedtoolcache/windows/Ruby/3.4.7/arm64/include/ruby-3.4.0/ruby/backward
-IC:/hostedtoolcache/windows/Ruby/3.4.7/arm64/include/ruby-3.4.0 -I.
-I./third_party/utf8_range -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT
-D_FILE_OFFSET_BITS=64 -O3 -fstack-protector-strong -fdeclspec -O3
-fno-omit-frame-pointer -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens
-Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero
-Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith
-Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn
-Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long
-Wno-missing-field-initializers -Wno-overlength-strings
-Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare
-Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wno-shorten-64-to-32
-Wno-dll-attribute-on-redeclaration -Wmisleading-indentation -Wundef -std=gnu99
-O3 -DNDEBUG -fvisibility=hidden -o ruby-upb.o -c ruby-upb.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'ruby-upb.c'.
4. Running pass 'AArch64 Assembly Printer' on function '@encode_longvarint'
Exception Code: 0xE0000046
#0 0x00007fffbdac6034 (C:\Windows\System32\KERNELBASE.dll+0x126034)
#1 0x89587fff408030fc
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 21.1.7
Target: aarch64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/a/_temp/msys64/clangarm64/bin
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
C:/Users/RUNNER~1/AppData/Local/Temp/ruby-upb-b5a11f.c
clang: note: diagnostic msg:
C:/Users/RUNNER~1/AppData/Local/Temp/ruby-upb-b5a11f.sh
clang: note: diagnostic msg:
********************
make: *** [Makefile:251: ruby-upb.o] Error 1
Anything else we should know about your project / environment