Add bmcweb_multithread as a DISTRO_FEATURE
There has been a crash on bmcweb multithread that requires changes
in the absl library due to absl::Mutex::Lock crashing in specific
contexts in coroutines.
The ideal fix would be to run in absl release mode, however this is
not possible as we run into the following upstream issue.
https://github.com/abseil/abseil-cpp/issues/1624
This is a temporary workaround until upstream issue is resolved
When using either
TARGET_CFLAGS:append:gbmc = " -DNDEBUG"
EXTRA_OECMAKE:append:gbmc = " -DCMAKE_BUILD_TYPE=RelWithDebInfo"
libprotobuf cannot compile. Same error as upstream issue listed above
This is an opt-in feature so currently there is no functional change
for this commit.
fusion2: N/A, there is no firmware change being made
Tested:
Run bmcweb stress test for 16 hours and no crash.
https://fusion2.corp.google.com/7785efa0-d440-4d70-8227-3b0c5736071b
(Test failed due to machine reservation timeout
Google-Bug-Id: 351900567
Change-Id: Id5301d79849683586d91bfa1e334be8a8808babc
Signed-off-by: Edward Lee <edwarddl@google.com>
(cherry picked from commit 5cf720504d416ce7a2ec89b83ca5a3ed7e55f503)
4 files changed