← All tasks
cppfalcosecurity/falco #2268Not a task: not reproduced

RelWithDebInfo build

envgap__falcosecurity__falco-2268

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
0bdc5909ee06c7909a0f5297040eb310ef12dc87
Manifest
userspace/falco/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

falcosecurity/falco #2268 · read the original issue
**Motivation**



Hey team, I realize that Falco has only "Debug" and "Release" build types.

My team and org were wondering if it was possible to enable a `RelWithDebInfo` build?



RelWithDebInfo builds are usually built with all the performance optimizations of the release build, but with debug symbols turned on. This might be possible with `CPACK_STRIP_FILES=Off` and build type release, but I'm otherwise unfamiliar with the available cmake/cpack build options.



**Feature**



RelWithDebInfo build type; release-optimized, but with debug symbols



**Alternatives**



Possibly `CPACK_STRIP_FILES=Off` ? I need to investigate further if this satisfies the requirements of my team.



**Additional context**



https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html#default-and-custom-configurations

^ Does this imply that cmake supports `RelWithDebInfo` by default and will compile + build accordingly?

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]