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

Closed
wants to merge 1 commit into from

Conversation

Linmengoy
Copy link

shell:gcc -v 2>&1 | tail -1 | awk ' { print $3 } '
output: x.x.x
GCC_VERSION := ( w o r d 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.

Copy link

stale bot commented Jan 9, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 9, 2025
@stale stale bot closed this Jan 17, 2025
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 stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants