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

Build failure - Ubuntu 22.10 / gcc-12 #455

Closed
danmilea opened this issue Nov 30, 2022 · 4 comments · Fixed by #533
Closed

Build failure - Ubuntu 22.10 / gcc-12 #455

danmilea opened this issue Nov 30, 2022 · 4 comments · Fixed by #533
Labels

Comments

@danmilea
Copy link
Collaborator

Build open-amp for Linux as described in build_linux in
https://github.com/OpenAMP/open-amp/blob/main/.github/actions/build_ci/entrypoint.sh

On Ubuntu 22.10 with default compiler gcc-12 the compilation will fail.
build_failure_gcc12_ubuntu22.10.txt

@sergeyblagodarnyy
Copy link

Try to remove -Werror compiling option.

@arnopo
Copy link
Collaborator

arnopo commented Jul 12, 2023

@danmilea
do you still reproduce the issue?
I have tried to reproduce it without success.

@danmilea
Copy link
Collaborator Author

danmilea commented Jul 12, 2023

Ubuntu 22.10 is reaching end of life on July 20, 2023. I ran the same build on Ubuntu 23.04 with gcc 12.2.0 and I get the same error (see attachment). I also tested gcc-13 which is available on 23.04, and the behavior is identical, i.e. compilation failure similar to the one captured in the log.
ubuntu_2304_gcc12.txt

@github-actions
Copy link

This issue has been marked as a stale issue because it has been open (more than) 45 days with no activity.

@github-actions github-actions bot added the Stale label Oct 14, 2023
@arnopo arnopo reopened this Oct 25, 2023
danmilea pushed a commit to danmilea/open-amp that referenced this issue Nov 6, 2023
The if (&rpc->ept) comparison will always evaluate as 'true',
since rpc == &rpc->ept and rpc is previously checked to be valid.

This produces an error when building open-amp with gcc >= 13.

Signed-off-by: Dan Milea <[email protected]>
@arnopo arnopo linked a pull request Nov 7, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants