Open fredroy opened 11 months ago
Apparently, a bug with gcc12 and/or Ubuntu 23.04, just upgraded to Ubuntu 23.10 (with gcc13.2) and it works well 😅
To avoid this situation, we can convert this lambda to a method. Let's keep this issue open. I'll add the flag good first issue.
Problem
Description Trying to build with SOFA_TRACY enabled on Ubuntu 23.04/gcc, got some errors when linking LinearSolver.Direct. No such error with MSVC2022.
Could be a bug from Tracy ? 🤔
Steps to reproduce Enable SOFA_TRACY and TRACY_ENABLE on Ubuntu23.04 and gcc,
Expected behavior Linking correctly 😅
Environment
Context
Logs
and so on.
Workaround
In
Sofa/Component/LinearSolver/Direct/src/sofa/component/linearsolver/direct/SparseLDLSolver.inl
, functiondoAddJMInvJtLocal()
. Commenting theSCOPED_TIMER
lines from inside the lambdas allows the linking to finish successfully.