Closed ibc closed 7 months ago
It's basically failing here, in Settings.cpp
:
absl::flat_hash_map<std::string, LogLevel> Settings::String2LogLevel =
{
{ "debug", LogLevel::LOG_DEBUG },
{ "warn", LogLevel::LOG_WARN },
{ "error", LogLevel::LOG_ERROR },
{ "none", LogLevel::LOG_NONE }
};
which BTW is perfectly valid according to docs: https://abseil.io/docs/cpp/guides/container#construction
The error does not happen if this line is removed from meson.build.
Here few places with some info.
I'm going to try with a newest clang version.
EDIT: same error with clang version: Ubuntu clang version 16.0.6 (15), in the latest stable ubuntu (23.10)
Why are we using abseil to just hold a map or string->integer?
I don't know, but remove it and the error will raise somewhere else.
Apparently those flags (-fsanitize,fuzzer) need to be propagated everywhere including the abseil dependency.
I'm working on the fix. I'll open a separate PR.
I'm pretty sure that if we remove '-fsanitize=address,fuzzer'
then we are not fuzzing anything XD
Apparently those flags (-fsanitize,fuzzer) need to be propagated everywhere including the abseil dependency.
And how can we do that? Can we set some env or variable in meson.build that also makes other subprojects receive those C flags?
'-fsanitize=address,fuzzer' then we are not fuzzing anything XD
Of course :-), but it gave me the clue of what was happening.
This issue blocks PR https://github.com/versatica/mediasoup/pull/1338 for obvious reasons :)
Yes, I'll do a PR to wrapdb today
Note: fixing this in PR https://github.com/versatica/mediasoup/pull/1338 as a bonus.
Your environment
Issue description