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

amdvlk: update to 2024.Q1.3. #49649

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

SpidFightFR
Copy link
Contributor

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, (x64-GlibC)

@SpidFightFR SpidFightFR marked this pull request as draft April 1, 2024 19:00
@SpidFightFR
Copy link
Contributor Author

The issue with x64-musl happens after the update, the original version still builds fine.

@Johnnynator
Copy link
Member

The errors in the build logs seem to be mainly missuse of NULL and should be patched to be OL.

Most of the warnings can probably be ignored.

@SpidFightFR
Copy link
Contributor Author

The errors in the build logs seem to be mainly missuse of NULL and should be patched to be OL.

Most of the warnings can probably be ignored.

Copy that. I'll see what i can do.

It's because of a misuse from Upstream and not a difference between glibc and musl?

@Johnnynator
Copy link
Member

Musl and Glibc differ at how they define NULL. (std::nullptr vs (void*)0).
Both of these choices are valid, but std::nullptr can't be implicitely used as a number.

Upstream amdvlk uses NULL as an integer and not a Pointer in a few places

@SpidFightFR
Copy link
Contributor Author

Musl and Glibc differ at how they define NULL. (std::nullptr vs (void*)0). Both of these choices are valid, but std::nullptr can't be implicitely used as a number.

Upstream amdvlk uses NULL as an integer and not a Pointer in a few places

I see... Thanks for the explanation! If i got some time in the future i'll try to learn more about musl and glibc.

@SpidFightFR
Copy link
Contributor Author

I made a little test on the rush, replacing NULL, by OL returns undefined and 0L (apparently it's a zero, long number type) returns another error.

I might have made a few mistakes here and there tho. I tried to changed the NULL, that was reported in the error to not create any new error.

But which ones should i change in particular?

@SpidFightFR
Copy link
Contributor Author

[Nevermind, talked about it on the IRC: TL;DR available here.]

@SpidFightFR SpidFightFR marked this pull request as ready for review April 3, 2024 21:07
@Johnnynator Johnnynator merged commit 15871e3 into void-linux:master Apr 4, 2024
8 checks passed
@SpidFightFR SpidFightFR deleted the update-amdvlk branch April 4, 2024 11:43
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