Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile Godot with asan, lsan, ubsan and disabled vorbis #31123

Open
Tracked by #39196
qarmin opened this issue Aug 5, 2019 · 2 comments
Open
Tracked by #39196

Can't compile Godot with asan, lsan, ubsan and disabled vorbis #31123

qarmin opened this issue Aug 5, 2019 · 2 comments

Comments

@qarmin
Copy link
Contributor

qarmin commented Aug 5, 2019

Godot version:
3.2.dev.custom_build 7126654

OS/device including version:
Ubuntu 18.04 GCC 7.4, clang 6.0

Issue description:
Commands

scons p=x11 -j6 use_llvm use_lsan=yes use_asan=yes use_ubsan=yes module_vorbis_enabled=no

Errors

Ranlib Library         ==> core/libcore.x11.tools.64s.a
[Initial build] Linking Program        ==> bin/godot.x11.tools.64s
/usr/bin/ld: modules/libmodules.x11.tools.64s.a(video_stream_theora.x11.tools.64s.o): undefined reference to symbol 'vorbis_block_clear'
//usr/lib/x86_64-linux-gnu/libvorbis.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
scons: *** [bin/godot.x11.tools.64s] Error 1
scons: building terminated because of errors.
anlib Library         ==> core/libcore.x11.tools.64.llvms.a
[100%] Linking Program        ==> bin/godot.x11.tools.64.llvms
[100%] /usr/bin/ld: modules/libmodules.x11.tools.64.llvms.a(video_stream_theora.x11.tools.64.llvms.o): undefined reference to symbol 'vorbis_block_clear'
//usr/lib/x86_64-linux-gnu/libvorbis.so.0: error adding symbols: DSO missing from command line
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [bin/godot.x11.tools.64.llvms] Error 1
scons: building terminated because of errors.
@Anutrix
Copy link
Contributor

Anutrix commented Aug 3, 2020

I tried scons -j3 use_llvm=yes use_lsan=yes use_asan=yes use_ubsan=yes module_vorbis_enabled=no on Windows 10 and there were no errors. So, this issue if it still exists, could be Linux specific.

@qarmin
Copy link
Contributor Author

qarmin commented Aug 3, 2020

That is Linux(and probably also macOS) specific, because sanitizers aren't available in this form in Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants