GithubHelp home page GithubHelp logo

Comments (12)

jmillan avatar jmillan commented on May 24, 2024 1

PR mesonbuild/wrapdb#1412

from mediasoup.

ibc avatar ibc commented on May 24, 2024

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

from mediasoup.

jmillan avatar jmillan commented on May 24, 2024

The error does not happen if this line is removed from meson.build.

Here few places with some info.

from mediasoup.

jmillan avatar jmillan commented on May 24, 2024

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)

from mediasoup.

jmillan avatar jmillan commented on May 24, 2024

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.

from mediasoup.

jmillan avatar jmillan commented on May 24, 2024

Apparently those flags (-fsanitize,fuzzer) need to be propagated everywhere including the abseil dependency.

from mediasoup.

jmillan avatar jmillan commented on May 24, 2024

I'm working on the fix. I'll open a separate PR.

from mediasoup.

ibc avatar ibc commented on May 24, 2024

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?

from mediasoup.

jmillan avatar jmillan commented on May 24, 2024

'-fsanitize=address,fuzzer' then we are not fuzzing anything XD

Of course :-), but it gave me the clue of what was happening.

from mediasoup.

ibc avatar ibc commented on May 24, 2024

This issue blocks PR #1338 for obvious reasons :)

from mediasoup.

jmillan avatar jmillan commented on May 24, 2024

Yes, I'll do a PR to wrapdb today

from mediasoup.

ibc avatar ibc commented on May 24, 2024

Note: fixing this in PR #1338 as a bonus.

from mediasoup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.