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(gcc_version build): gcc_version is always empty #1733

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Linmengoy
Copy link

shell:gcc -v 2>&1 | tail -1 | awk ' { print $3 } '
output: x.x.x
GCC_VERSION := $(word 3, $(GCC_VERSION))
GCC_VERSION is always '' ,then it always goes to the else

@getroot getroot requested a review from dimiden November 1, 2024 10:28
@dimiden
Copy link
Member

dimiden commented Nov 4, 2024

@Linmengoy
On Ubuntu 20.04, the last line of gcc -v is gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2), so that line is essential.
What environment did you test on? How does the gcc -v output appear in that environment?

@dimiden dimiden added the needs more information More information is required to determine the nature of the issue label Nov 7, 2024
Copy link
Member

@dimiden dimiden left a comment

Choose a reason for hiding this comment

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

This modification breaks the retrieval of the GCC_VERSION value on Ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more information More information is required to determine the nature of the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants