-
Notifications
You must be signed in to change notification settings - Fork 560
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
[QEMU] try updating #4506
[QEMU] try updating #4506
Conversation
Again only the 3 famous platforms are going on, so this likely does a try_run-like check... |
Yeah, I almost expected that, I just wanted to see what happened for the other platforms. How much do we care about non-linux and non-x86 platforms here? I'll look into the musl failures, but I mainly just care about those platforms. |
Any ideas about why the musl builds would import
|
Missing guards? |
Hmm, do you know where these headers are coming from? |
Ah, I think I found something helpful: https://patchwork.ozlabs.org/project/ltp/patch/[email protected]/#2562630 |
Is this warning something to worry about?
|
+typedef union _sigval { | ||
+ int sival_int; | ||
+ void *sival_ptr; | ||
+} sigval_t; | ||
+ | ||
+/* | ||
+ * This works because the alignment is ok on all current architectures | ||
+ * but we leave open this being overridden in the future | ||
+ */ | ||
+#ifndef __ARCH_SIGEV_PREAMBLE_SIZE | ||
+#define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(int) * 2 + sizeof(sigval_t)) | ||
+#endif | ||
+ | ||
+#define SIGEV_MAX_SIZE 64 | ||
+#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE - __ARCH_SIGEV_PREAMBLE_SIZE) \ | ||
+ / sizeof(int)) | ||
+ | ||
+typedef struct _sigevent { | ||
+ sigval_t sigev_value; | ||
+ int sigev_signo; | ||
+ int sigev_notify; | ||
+ union { | ||
+ int _pad[SIGEV_PAD_SIZE]; | ||
+ int _tid; | ||
+ | ||
+ struct { | ||
+ void (*_function)(sigval_t); | ||
+ void *_attribute; /* really pthread_attr_t */ | ||
+ } _sigev_thread; | ||
+ } _sigev_un; | ||
+} sigevent_t; | ||
+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is copied from the asm-generic/siginfo.h
headers. No idea if this is actually kosher...
@@ -30,20 +38,51 @@ echo '#!/bin/true ' > /usr/bin/Rez | |||
echo '#!/bin/true ' > /usr/bin/SetFile | |||
chmod +x /usr/bin/Rez | |||
chmod +x /usr/bin/SetFile | |||
make -j${nproc} | |||
make -j${nproc} || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the build process tries to delete a non-existent file in cleanup, which should be harmless. I tried patching the Makefile, but it didn't work and I thought it probably isn't worth the trouble over just ignoring the return code
Co-authored-by: Mosè Giordano <[email protected]>
Co-authored-by: Mosè Giordano <[email protected]>
|
They even search for |
Yeah I'm looking into it. Seems to be only for tests though |
Of course in https://gitlab.com/qemu-project/qemu/-/blob/fa435db8ce1dff3b15e3f59a12f55f7b3a347b08/meson_options.txt there isn't an option to disable tests, I think you'll have to comment out |
Ok, that seems to have fixed it |
Awesome! It'd be good to upstream the relevant patches (for the tests you'd need to add an option to |
Ok, I will |
No description provided.