You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build system has GNU's g++ hardcoded in several places. That is to say, CC is unconditionally redefined as g++ and some non-standardized variables like magic_CC, magic_CXX and CPP are used for compilation
A Clang-compiled binary crashes with SIGILL. Several non-error warnings during compilation indicate that there are many functions with a declared return type that don't return any value, which generates an ud2 instruction, which causing the aforementioned illegal instruction signal to be emitted.
To Reproduce
Steps to reproduce the behavior:
1)
Attempt to compile ST on Linux without GCC
Errors out very quickly on g++: command not found
Use the 0001 patch i posted on the discord server. Additionally pass magic_CC=$CC magic_CXX=$CXX to make (assuming both default to their clang equivalents)
Build succeeds and binaries are being generated
Running either of them results in a SIGILL
Expected behavior
Free choice of compiler, no matter the platform's default / common option
Working binaries with Clang
Screenshots
Desktop (please complete the following information):
OS: Linux [NixOS 20.09 (Nightingale) x86_64]
Version v0.2.0
Additional context
Discussed on the Discord server, WIP patches sent there.
The text was updated successfully, but these errors were encountered:
Describe the bug
g++
hardcoded in several places. That is to say,CC
is unconditionally redefined asg++
and some non-standardized variables likemagic_CC
,magic_CXX
andCPP
are used for compilationSIGILL
. Several non-error warnings during compilation indicate that there are many functions with a declared return type that don't return any value, which generates anud2
instruction, which causing the aforementioned illegal instruction signal to be emitted.To Reproduce
Steps to reproduce the behavior:
1)
g++: command not found
magic_CC=$CC magic_CXX=$CXX
to make (assuming both default to their clang equivalents)SIGILL
Expected behavior
Screenshots
Desktop (please complete the following information):
Additional context
Discussed on the Discord server, WIP patches sent there.
The text was updated successfully, but these errors were encountered: