On Tue Feb 17, 2026 at 1:59 PM CET, Paul Barker wrote: > On Tue, 2026-02-17 at 12:09 +0100, Yoann Congal via > lists.openembedded.org wrote: >> On Tue Feb 17, 2026 at 11:18 AM CET, Javier Viguera wrote: >> > Hi Yoann, >> > >> > On 2/13/26 19:47, Yoann Congal via lists.openembedded.org wrote: >> > > >> > > Richard Purdie (2): >> > > pseudo: Update to 1.9.3 release >> > > pseudo: Update to include an openat2 fix >> > > >> > >> > The backport of the pseudo patches to Scarthgap broke the build on >> > Ubuntu 20, as it still uses glibc 2.31, so the pseudo-native build fails >> > with: >> > >> > > In file included from pseudo_ports.h:5, >> > > from pseudo.h:164, >> > > from pseudo_wrappers.c:30: >> > > ports/linux/pseudo_wrappers.c: In function ‘syscall’: >> > > ports/linux/portdefs.h:59:21: error: ‘__NR_openat2’ undeclared (first >> > use in this function); did you mean ‘real_openat2’? >> > > 59 | #define SYS_openat2 __NR_openat2 >> > > | ^~~~~~~~~~~~ >> > >> > According to poky.conf, ubuntu-20 is still a supported distro to build >> > Scarthgap, so I guess this needs to be somehow fixed. >> >> Thanks for the report, I'm working on a fix. >> In this case, __NR_openat2 is not present in the kernel headers. >> (Ubuntu 20.04 is on Linux 5.4, the openat2 syscall was added in 5.6) > > Can we just define __NR_openat2 if it is not already defined? > > It's defined in include/uapi/asm-generic/unistd.h as: > #define __NR_openat2 437
FYI, I've sent a patch to pseudo with this: [pseudo] [PATCH] ports/linux: define __NR_openat2 if missing https://lists.yoctoproject.org/g/yocto-patches/message/3248 > Best regards, -- Yoann Congal Smile ECS
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#231261): https://lists.openembedded.org/g/openembedded-core/message/231261 Mute This Topic: https://lists.openembedded.org/mt/117797771/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
