godotengine / godotengine/godot

undefined symbol: AudioDriverScriptProcessor::finish_driver()

Open
#95,499 1 comment 0 reactions 0 assignees View on GitHub
bug platform:web topic:buildsystem topic:platforms
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.