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

Fixes with GCC-14 #56

Open
wants to merge 3 commits into
base: JH7110_VisionFive2_devel
Choose a base branch
from

Conversation

kraj
Copy link
Contributor

@kraj kraj commented Jan 27, 2024

No description provided.

kraj and others added 3 commits January 27, 2024 15:00
…inition

GCC-14 will treat implicit function declarations as errors. Therefore
include the required header to fix

error: implicit declaration of function 'device_bind_driver_to_node' [-Wimplicit-function-declaration]

Signed-off-by: Khem Raj <[email protected]>
While compiling rtl8169.c, There are many "make pointer from
integer without a cast" compile warnings. fix them with
adding cast.

Signed-off-by: Minda Chen <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
GCC-14 find more warnings like
"make pointer from integer without a cast"
fix them by adding a type cast.

Signed-off-by: Khem Raj <[email protected]>
@plettich
Copy link

Can confirm that this patch works with current riscv64-linux-gnu-gcc (GCC) 14.1.0 on an Arch based system. The VisionFive2 boots just fine with the updated u-boot and OpenSBI JH7110_VF2_6.6_v5.12.0 from eMMC.

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.

3 participants