strace_5.13 -> strace 5.14
PATCH 1/1 strace_5.13 -> strace 5.14
From: Persian Prince <[email protected]>
Strace 5.13 won't compile with 5.14 headers:
| ../../strace-5.13/src/fs_x_ioctl.c: In function 'fs_x_ioctl': | ../../strace-5.13/src/fs_x_ioctl.c:64:14: error: invalid application of 'sizeof' to incomplete type 'struct fsxattr' | 64 | case FS_IOC_FSGETXATTR: | | ^~~~~~~~~~~~~~~~~ | ../../strace-5.13/src/fs_x_ioctl.c:71:14: error: invalid application of 'sizeof' to incomplete type 'struct fsxattr' | 71 | case FS_IOC_FSSETXATTR: | | ^~~~~~~~~~~~~~~~~ | make[3]: *** [Makefile:5011: libstrace_a-fs_x_ioctl.o] Error 1 | make[3]: *** Waiting for unfinished jobs....
According to https://strace.io/files/5.14/:
* Improvements
* Implemented decoding of memfd_secret and quotactl_fd syscalls, introduced in Linux 5.14.
* Enhanced prctl syscall decoding.
* Enhanced decoding of IFLA_* netlink attributes.
* Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes.
* Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*, and UFFD_* constants.
* Updated lists of ioctl commands from Linux 5.14.
Persian Prince <[email protected]>
---
meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb} (96%)meta/recipes-devtools/strace/strace_5.14.bb renamed from meta/recipes-devtools/strace/strace_5.13.bb +1 -1
@@ -15,7 +15,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://uintptr_t.patch \ file://0001-strace-fix-reproducibilty-issues.patch \ " -SRC_URI[sha256sum] = "5acc34888b9d510ad6ac915d4a8df08f51cf1ae920ea24649f6a4bb984d0b656" +SRC_URI[sha256sum] = "901bee6db5e17debad4530dd9ffb4dc9a96c4a656edbe1c3141b7cb307b11e73" inherit autotools ptest
Signature · 1 line
2.33.0
Quoted 17 lines · Khem Raj
From: Persian Prince <[email protected]>
Strace 5.13 won't compile with 5.14 headers:
| ../../strace-5.13/src/fs_x_ioctl.c: In function 'fs_x_ioctl': | ../../strace-5.13/src/fs_x_ioctl.c:64:14: error: invalid application of 'sizeof' to incomplete type 'struct fsxattr' | 64 | case FS_IOC_FSGETXATTR: | | ^~~~~~~~~~~~~~~~~ | ../../strace-5.13/src/fs_x_ioctl.c:71:14: error: invalid application of 'sizeof' to incomplete type 'struct fsxattr' | 71 | case FS_IOC_FSSETXATTR: | | ^~~~~~~~~~~~~~~~~ | make[3]: *** [Makefile:5011: libstrace_a-fs_x_ioctl.o] Error 1 | make[3]: *** Waiting for unfinished jobs....According to https://strace.io/files/5.14/:
Quoted 9 lines
* Improvements
* Implemented decoding ofmemfd_secretandquotactl_fdsyscalls, introduced in Linux 5.14.
* Enhanced prctl syscall decoding.
* Enhanced decoding of IFLA_* netlink attributes.
* Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes.
* Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*, and UFFD_* constants.
* Updated lists of ioctl commands from Linux 5.14.
Interesting that none of our oe-core build coverage picked this up.
I'll send out a patch that adds the packagegroup containing strace to core-image-kernel-dev, so it won't be missed on future libc-header updates.
Cheers,
Bruce
Quoted 28 lines
Persian Prince <[email protected]>
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb} (96%)meta/recipes-devtools/strace/strace_5.14.bb renamed from meta/recipes-devtools/strace/strace_5.13.bb +1
-2@@ -15,7 +15,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://uintptr_t.patch \ file://0001-strace-fix-reproducibilty-issues.patch \ " -SRC_URI[sha256sum] = "5acc34888b9d510ad6ac915d4a8df08f51cf1ae920ea24649f6a4bb984d0b656" +SRC_URI[sha256sum] = "901bee6db5e17debad4530dd9ffb4dc9a96c4a656edbe1c3141b7cb307b11e73" inherit autotools ptest --2.33.0
Quoted 8 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156475): https://lists.openembedded.org/g/openembedded-core/message/156475
Mute This Topic: https://lists.openembedded.org/mt/85959484/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Quoted 17 lines · Khem Raj
From: Persian Prince <[email protected]>
Strace 5.13 won't compile with 5.14 headers:
| ../../strace-5.13/src/fs_x_ioctl.c: In function 'fs_x_ioctl': | ../../strace-5.13/src/fs_x_ioctl.c:64:14: error: invalid application of 'sizeof' to incomplete type 'struct fsxattr' | 64 | case FS_IOC_FSGETXATTR: | | ^~~~~~~~~~~~~~~~~ | ../../strace-5.13/src/fs_x_ioctl.c:71:14: error: invalid application of 'sizeof' to incomplete type 'struct fsxattr' | 71 | case FS_IOC_FSSETXATTR: | | ^~~~~~~~~~~~~~~~~ | make[3]: *** [Makefile:5011: libstrace_a-fs_x_ioctl.o] Error 1 | make[3]: *** Waiting for unfinished jobs....According to https://strace.io/files/5.14/:
Quoted 10 lines
* Improvements
* Implemented decoding ofmemfd_secretandquotactl_fdsyscalls, introduced in Linux 5.14.
* Enhanced prctl syscall decoding.
* Enhanced decoding of IFLA_* netlink attributes.
* Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes.
* Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*, and UFFD_* constants.
* Updated lists of ioctl commands from Linux 5.14.
I am curious for a bit more information about the configuration that was used for the broken build, since I was able to build the existing strace with 5.14 libc-headers and the 5.14 kernel on two different machines.
The bump is fine, but I'd just like to understand what configuration triggered it, so we can catch it next time.
Bruce
Quoted 35 lines
Persian Prince <[email protected]>
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb} (96%)meta/recipes-devtools/strace/strace_5.14.bb renamed from meta/recipes-devtools/strace/strace_5.13.bb +1
-2@@ -15,7 +15,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://uintptr_t.patch \ file://0001-strace-fix-reproducibilty-issues.patch \ " -SRC_URI[sha256sum] = "5acc34888b9d510ad6ac915d4a8df08f51cf1ae920ea24649f6a4bb984d0b656" +SRC_URI[sha256sum] = "901bee6db5e17debad4530dd9ffb4dc9a96c4a656edbe1c3141b7cb307b11e73" inherit autotools ptest --2.33.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156475): https://lists.openembedded.org/g/openembedded-core/message/156475
Mute This Topic: https://lists.openembedded.org/mt/85959484/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Hello,
Quoted 26 lines · Khem Raj
From: Persian Prince <[email protected]>
Strace 5.13 won't compile with 5.14 headers:
| ../../strace-5.13/src/fs_x_ioctl.c: In function 'fs_x_ioctl': | ../../strace-5.13/src/fs_x_ioctl.c:64:14: error: invalid application of 'sizeof' to incomplete type 'struct fsxattr' | 64 | case FS_IOC_FSGETXATTR: | | ^~~~~~~~~~~~~~~~~ | ../../strace-5.13/src/fs_x_ioctl.c:71:14: error: invalid application of 'sizeof' to incomplete type 'struct fsxattr' | 71 | case FS_IOC_FSSETXATTR: | | ^~~~~~~~~~~~~~~~~ | make[3]: *** [Makefile:5011: libstrace_a-fs_x_ioctl.o] Error 1 | make[3]: *** Waiting for unfinished jobs....According to https://strace.io/files/5.14/:
* Improvements
* Implemented decoding ofmemfd_secretandquotactl_fdsyscalls, introduced in Linux 5.14.
* Enhanced prctl syscall decoding.
* Enhanced decoding of IFLA_* netlink attributes.
* Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes.
* Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*, and UFFD_* constants.
* Updated lists of ioctl commands from Linux 5.14.
Quoted 1 line
Persian Prince <[email protected]>
I guess this should have been an SoB.
However, this is not applicable as we already carry a similar patch in kirkstone-next.
Quoted 35 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb} (96%)meta/recipes-devtools/strace/strace_5.14.bb renamed from meta/recipes-devtools/strace/strace_5.13.bb +1
-1@@ -15,7 +15,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://uintptr_t.patch \ file://0001-strace-fix-reproducibilty-issues.patch \ " -SRC_URI[sha256sum] = "5acc34888b9d510ad6ac915d4a8df08f51cf1ae920ea24649f6a4bb984d0b656" +SRC_URI[sha256sum] = "901bee6db5e17debad4530dd9ffb4dc9a96c4a656edbe1c3141b7cb307b11e73" inherit autotools ptestSignature · 11 lines
2.33.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#156475): https://lists.openembedded.org/g/openembedded-core/message/156475 Mute This Topic: https://lists.openembedded.org/mt/85959484/3617179 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 32 lines · Alexandre Belloni
Hello,
Quoted 6 lines · Khem Raj
From: Persian Prince <[email protected]>
Strace 5.13 won't compile with 5.14 headers:
|
../../strace-5.13/src/fs_x_ioctl.c: In function 'fs_x_ioctl':
|../../strace-5.13/src/fs_x_ioctl.c:64:14: error: invalid applicationof 'sizeof' to incomplete type 'struct fsxattr'
Quoted 3 lines
| 64 | case FS_IOC_FSGETXATTR: | | ^~~~~~~~~~~~~~~~~ | ../../strace-5.13/src/fs_x_ioctl.c:71:14: error: invalid applicationof 'sizeof' to incomplete type 'struct fsxattr'
Quoted 5 lines
| 71 | case FS_IOC_FSSETXATTR: | | ^~~~~~~~~~~~~~~~~ | make[3]: *** [Makefile:5011: libstrace_a-fs_x_ioctl.o] Error 1 | make[3]: *** Waiting for unfinished jobs....Quoted 8 lines
According to https://strace.io/files/5.14/:
* Improvements
* Implemented decoding ofmemfd_secretandquotactl_fdsyscalls, introduced in Linux 5.14.
* Enhanced prctl syscall decoding.
* Enhanced decoding of IFLA_* netlink attributes.
* Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlinkattributes.
Quoted 4 lines
* Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*, and UFFD_* constants.
* Updated lists of ioctl commands from Linux 5.14.
Quoted 6 lines
Quoted 1 line
Persian Prince <[email protected]>
I guess this should have been an SoB.
However, this is not applicable as we already carry a similar patch in kirkstone-next.
If you do that’s fine see if commit msg makes sense and perhaps transplant that part to what you are staging
Quoted 50 lines
Quoted 6 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/strace/{strace_5.13.bb => strace_5.14.bb}(96%)
Review
Quoted 2 lines
(quoted diff) +0
-0b/meta/recipes-devtools/strace/strace_5.14.bb
meta/recipes-devtools/strace/strace_5.14.bb SRC_URI = "
Quoted 7 lines
similarity index 96%
rename from meta/recipes-devtools/strace/strace_5.13.bb rename to meta/recipes-devtools/strace/strace_5.14.bb index7d93f2da98..02a4843edf100644meta/recipes-devtools/strace/strace_5.14.bb renamed from meta/recipes-devtools/strace/strace_5.13.bb +0
-0@@ -15,7 +15,7 @@ SRC_URI = "meta/recipes-devtools/strace/strace_5.14.bb SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
Quoted 4 lines
meta/recipes-devtools/strace/strace_5.14.bb renamed from meta/recipes-devtools/strace/strace_5.13.bb +0
-1file://uintptr_t.patch \ file://0001-strace-fix-reproducibilty-issues.patch \ " -SRC_URI[sha256sum] ="
5acc34888b9d510ad6ac915d4a8df08f51cf1ae920ea24649f6a4bb984d0b656"meta/recipes-devtools/strace/strace_5.14.bb SRC_URI = " · line 18
Quoted 1 line
meta/recipes-devtools/strace/strace_5.14.bb renamed from meta/recipes-devtools/strace/strace_5.13.bb +1
-0+SRC_URI[sha256sum] ="
901bee6db5e17debad4530dd9ffb4dc9a96c4a656edbe1c3141b7cb307b11e73"Quoted 11 lines
meta/recipes-devtools/strace/strace_5.14.bb renamed from meta/recipes-devtools/strace/strace_5.13.bb +0
-1inherit autotools ptest --2.33.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#156475):https://lists.openembedded.org/g/openembedded-core/message/156475
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/85959484/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com