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

[analyzer] Use absolute path to logger.so in LD_PRELOAD #3919

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

vodorok
Copy link
Contributor

@vodorok vodorok commented May 22, 2023

It can happen that a build system overwrites the LD_LIBRARY_PATH environment variable, this could result in the following error:

“ERROR: ld.so: object 'ldlogger.so' from LD_PRELOAD cannot be preloaded: ignored”

@vodorok vodorok requested a review from bruntib as a code owner May 22, 2023 17:06
@vodorok vodorok added tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc. ld-logger 📃 config ⚙️ labels May 22, 2023
@vodorok vodorok force-pushed the ld_preload branch 4 times, most recently from 3b0fcc5 to 8bb1716 Compare May 25, 2023 12:54
Copy link
Contributor

@Szelethus Szelethus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config ⚙️ ld-logger 📃 tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants