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

igt-gpu-tools: fix segment fault on resolve_half_to_float #26673

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

tw4452852
Copy link
Contributor

This patch fix segment fault because the ifunc
resolver resolve_half_to_float() tries to call unbound global function
igt_x86_features().

Fix issue #26671

Signed-off-by: Tw wei.tan@intel.com

@@ -0,0 +1,63 @@
diff --git a/lib/igt_halffloat.c b/lib/igt_halffloat.c
Copy link
Member

Choose a reason for hiding this comment

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

Do you have an upstream commit for this?

Copy link
Contributor Author

@tw4452852 tw4452852 Nov 25, 2020

Choose a reason for hiding this comment

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

Not yet, the upstream patch seems to haven't been merged into master. BTW, I attach the link about the patch in the commit message.

This patch fix segment fault because the ifunc
resolver resolve_half_to_float() tries to call unbound global function
igt_x86_features().

The upstream patch is https://patchwork.freedesktop.org/series/67150/

Fix issue void-linux#26671

Signed-off-by: Tw <wei.tan@intel.com>
@ericonr ericonr merged commit 6ffb2e0 into void-linux:master Nov 25, 2020
@tw4452852 tw4452852 deleted the igt-gpu_tools branch November 25, 2020 04:39
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants