godotengine / godotengine/godot
undefined symbol: AudioDriverScriptProcessor::finish_driver()
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Reproducible in master
### System information
Any
### Issue description
When compiling web with address sanitizer it does not find the function body because it is missing from the source code
`wasm-ld: error: platform/web/audio_driver_web.web.template_debug.dev.wasm32.nothreads.o: undefined symbol: AudioDriverScriptProcessor::finish_driver()`
### Steps to reproduce
`scons platform=web target=template_debug threads=no dev_build=yes use_asan=yes`
### Minimal reproduction project (MRP)
N/A
Contributor guide
Research direction
Start by reproducing the failure with `scons platform=web target=template_debug threads=no dev_build=yes use_asan=yes` and trace `AudioDriverScriptProcessor::finish_driver()` from the reported object file `platform/web/audio_driver_web.web.template_debug.dev.wasm32.nothreads.o` back to its source declaration and definition. Done means the same web AddressSanitizer build links without the undefined-symbol error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, wasm
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100