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

Warnings issued when building on ubuntu-19.10 #493

Closed
dmknutsen opened this issue Jan 27, 2020 · 6 comments
Closed

Warnings issued when building on ubuntu-19.10 #493

dmknutsen opened this issue Jan 27, 2020 · 6 comments

Comments

@dmknutsen
Copy link
Contributor

dmknutsen commented Jan 27, 2020

Describe the bug
The warnings contained in the attached file are issued when building on ubuntu-19.10.

To Reproduce
Nominal build process

Expected behavior
Clean build

System observed on:
Oracle VM VirtualBox
OS: ubuntu-19.10
Version: cFE 6.7.5.0, OSAL 5.0.5.0, PSP 1.4.3.0,

Reporter Info
Dan Knutsen
GSFC/NASA

@dmknutsen
Copy link
Contributor Author

@jphickey
Copy link
Contributor

This should be fixed by #313

However - I'm curious what version of GCC this is using and if you are cross compiling or building with SIMULATION=native? Previously, GCC would only report possible mis-alignment issues on architectures that had strict alignment requirements. It is possible in the newest GCC versions that they might warn even if the target CPU does not need the alignment?

Either way, I do have a fix for this, but it is waiting in the wings until I have time to rebase it and submit a pull request.

@dmknutsen
Copy link
Contributor Author

I am using gcc version 9.2.1 and I am building with SIMULATION=native.

Also, I suspect you are correct with the warnings being isolated to newer GCC versions as I only see it on my ubuntu 19.10 VM (GCC version 9.2.1) and not on my ubuntu18.4.3 VM (GCC version 7.4.0).

@skliper
Copy link
Contributor

skliper commented May 19, 2020

@dmknutsen Could you confirm the warnings have been resolved?

@dmknutsen
Copy link
Contributor Author

Yep. Just rebuilt this morning and ran software/unit tests. Everything looks good now.

@skliper
Copy link
Contributor

skliper commented May 20, 2020

Duplicate of the other memory alignment/warning tickets. Resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants