godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.59k stars 21.27k forks source link

Clang build error on Debian11 #90887

Closed DSOE1024 closed 7 months ago

DSOE1024 commented 7 months ago

Tested versions

4.2.2-stable

System information

StarFive VisionFive V2

Issue description

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: clang++ -o modules/webrtc/webrtc_multiplayer_peer.linuxbsd.editor.rv64.llvm.o -c -std=gnu++17 -fno-exceptions -march=rv64gc -pipe -O2 -Wall -Wshadow-field-in-constructor -Wshadow-uncaptured-local -Wno-ordered-compare-function-pointers -isystem thirdparty/glad -DTOOLS_ENABLED -DDEBUG_ENABLED -DNDEBUG -DNO_EDITOR_SPLASH -DSOWRAP_ENABLED -DTOUCH_ENABLED -DFONTCONFIG_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DPULSEAUDIO_ENABLED -D_REENTRANT -DDBUS_ENABLED -DSPEECHD_ENABLED -DXKB_ENABLED -DJOYDEV_ENABLED -DUDEV_ENABLED -DLINUXBSD_ENABLED -DUNIX_ENABLED -D_FILE_OFFSET_BITS=64 -DX11_ENABLED -DVULKAN_ENABLED -DGLES3_ENABLED -DMINIZIP_ENABLED -DBROTLI_ENABLED -DCLIPPER2_ENABLED -DZSTD_STATIC_LINKING_ONLY -DUSE_VOLK -DVK_USE_PLATFORM_XLIB_KHR -DGLAD_ENABLED -DEGL_ENABLED -Ithirdparty/libpng -Ithirdparty/volk -Ithirdparty/vulkan -Ithirdparty/vulkan/include -Ithirdparty/zstd -Ithirdparty/zlib -Ithirdparty/clipper2/include -Ithirdparty/brotli/include -Ithirdparty/linuxbsd_headers -Iplatform/linuxbsd -I. modules/webrtc/webrtc_multiplayer_peer.cpp
1.  <eof> parser at end of file
2.  Optimizer
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/lib/riscv64-linux-gnu/libLLVM-14.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x38)[0x3f8c51c336]
clang: error: clang frontend command failed with exit code 139 (use -v to see invocation)
Debian clang version 14.0.6
Target: riscv64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/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: /tmp/webrtc_multiplayer_peer-098a47.cpp
clang: note: diagnostic msg: /tmp/webrtc_multiplayer_peer-098a47.sh
clang: note: diagnostic msg: 

********************
scons: *** [modules/webrtc/webrtc_multiplayer_peer.linuxbsd.editor.rv64.llvm.o] Error 139

Steps to reproduce

scons platform=linuxbsd use_llvm=yes

Minimal reproduction project (MRP)

none

timothyqiu commented 7 months ago

Thanks for your bug report. This should be submitted to llvm instead judging from the first line:

PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.

DSOE1024 commented 7 months ago

Thanks for your bug report. This should be submitted to llvm instead judging from the first line:

PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.

Thank you,I report to https://github.com/llvm/llvm-project/issues/89350