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 RISC-V compilation with recent GCC #171

Merged
merged 2 commits into from
Jul 13, 2023
Merged

Fix RISC-V compilation with recent GCC #171

merged 2 commits into from
Jul 13, 2023

Conversation

wom-bat
Copy link
Member

@wom-bat wom-bat commented Jul 13, 2023

Default args for gcc have changed; we need to fix the args given to the compiler.

@axel-h
Copy link
Member

axel-h commented Jul 13, 2023

Seems this is seL4/seL4#749 again. This change here seem to copy what we did in seL4/seL4#776

Default args for gcc have changed;
we need to fix the args given to the compiler.
This is needed in addition to seL4/seL4#776

Signed-off-by: Peter Chubb <[email protected]>
@wom-bat
Copy link
Member Author

wom-bat commented Jul 13, 2023

Seems this is seL4/seL4#749 again.

Yes, but the fix there didn't fix all the flags.

Github wants 4-space indents.

Signed-off-by: Peter Chubb <[email protected]>
@axel-h
Copy link
Member

axel-h commented Jul 13, 2023

Yes, but the fix there didn't fix all the flags.

You are referring to the CMake flags that are specific to OpenSBI, not some missing gcc flags, right? Because the change seem to be an exact copy of the flags.

Copy link
Member

@axel-h axel-h left a comment

Choose a reason for hiding this comment

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

Looks good to me

@wom-bat
Copy link
Member Author

wom-bat commented Jul 13, 2023

Yep.

@wom-bat wom-bat merged commit a9d1b6d into seL4:master Jul 13, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants