Hi, Thomas Petazzoni wrote, > Hello, > > uClibc-ng 1.0.50 + Linux headers 4.4 fails to build with: > > In file included from ./include/sys/syscall.h:33, > from ./ldso/include/dl-syscall.h:12, > from ./ldso/include/ldso.h:52, > from ldso/ldso/ldso.c:32: > ./ldso/include/dl-syscall.h: In function '_dl_fstat': > ./include/bits/syscalls-common.h:34:63: error: '__NR__dl_fstat' undeclared > (first use in this function); did you mean '_dl_fstat'? > # define INLINE_SYSCALL(name, nr, args...) INLINE_SYSCALL_NCS(__NR_##name, > nr, args) > > This is reproducible with Buildroot's arcturus_ucp1020_defconfig, and a > log is visible at: > > https://gitlab.com/buildroot.org/buildroot/-/jobs/8864051076 > > With the full log at: > > https://buildroot.org.gitlab.io/-/buildroot/-/jobs/8864051076/artifacts/build.log > > Any clue?
We enabled time64 by default in uClibc-ng a while ago. With 1.0.51 you will get: #error 64bit time on 32bit targets is not supported on Linux < 5.1.0 We somehow need to handle UCLIBC_USE_TIME64 inside Buildroot and disable it for Linux < 5.1.0 systems. Any idea how to manage it? best regards Waldemar _______________________________________________ devel mailing list -- devel@uclibc-ng.org To unsubscribe send an email to devel-le...@uclibc-ng.org