Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Makefile to compile with debug symbols as default for dependencies external src. (Only for Linux, Windows, macOS) #12622

Closed
21 tasks done
Tracked by #9911 ...
Dwordcito opened this issue Mar 8, 2022 · 0 comments · Fixed by #12770
Assignees
Labels
module/deps External dependencies of the core product

Comments

@Dwordcito
Copy link
Member

Dwordcito commented Mar 8, 2022

Epic
#9913

Description

This issue aims to use -g compile flag on external dependencies in order to be able to have debug symbols of libwazuhext.so (which contains all the static libraries together).
The current issue is particularly relevant when the project is built from scratch, using external libraries' source code rather than pre-compiled ones.

DoD

  • Add -g flag for all dependencies compilation
    • zlib
    • curl
    • openssl
    • libplist
    • sqlite
    • cJSON
    • procps
    • libdb
    • libalpm
    • libarchive
    • libyaml
    • audit-userspace
    • libffi
    • msgpack
    • bzip2
    • libpcre2
    • popt
    • librpm
    • jemalloc
  • Manual test with nm tool.
@Dwordcito Dwordcito changed the title Change Makefile to compile with debug symbols as default for dependencies external src. Change Makefile to compile with debug symbols as default for dependencies external src. (All OS) Mar 8, 2022
@Dwordcito Dwordcito changed the title Change Makefile to compile with debug symbols as default for dependencies external src. (All OS) Change Makefile to compile with debug symbols as default for dependencies external src. (Only for Linux, Windows, macOS) Mar 9, 2022
@Dwordcito Dwordcito added the module/deps External dependencies of the core product label Mar 9, 2022
@jnasselle jnasselle self-assigned this Mar 17, 2022
@jnasselle jnasselle linked a pull request Mar 18, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/deps External dependencies of the core product
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants