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

[fix] Don't capture cc1 by the logger. #4300

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

bruntib
Copy link
Contributor

@bruntib bruntib commented Jul 23, 2024

After make-4.3 the compilers are executed in a way that cc1 binary is also captured by the logger. This accomplishes only a partial phase of the compilation process and this shouldn't be captured. As a solution we use the fact that having a slash (/) in a compiler's name in CC_LOGGER_GCC_LIKE makes a suffix search.

After make-4.3 the compilers are executed in a way that cc1 binary is
also captured by the logger. This accomplishes only a partial phase of
the compilation process and this shouldn't be captured.
As a solution we use the fact that having a slash (/) in a compiler's
name in CC_LOGGER_GCC_LIKE makes a suffix search.
Copy link
Member

@dkrupp dkrupp left a comment

Choose a reason for hiding this comment

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

LGTM

@dkrupp dkrupp merged commit 5c6b81e into Ericsson:master Jul 23, 2024
8 checks passed
@bruntib bruntib deleted the gcc_logger_like_cc branch July 24, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants