Hi,
This patch enables to compile uClibc-ng in FDPIC mode with a compiler
defaulting to Thumb mode (eg. targeting a cortex-M processor).
OK?
Thanks,
Christophe
Added in kernel in kernel 3.10 in
1ff3c9677bff ("timekeeping: Add CLOCK_TAI clockid")
NOTE: CLOCK_SGI_CYCLE was not added, as it has been lately removed.
Signed-off-by: Petr Vorel <petr.vorel(a)gmail.com>
---
Hi,
added in glibc 2.21 and in musl 0.9.12.
Kind regards,
Petr
---
libc/sysdeps/linux/common/bits/time.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libc/sysdeps/linux/common/bits/time.h b/libc/sysdeps/linux/common/bits/time.h
index c4269ae47..e35fa867f 100644
--- a/libc/sysdeps/linux/common/bits/time.h
+++ b/libc/sysdeps/linux/common/bits/time.h
@@ -65,6 +65,8 @@
# define CLOCK_REALTIME_ALARM 8
/* Like CLOCK_BOOTTIME but also wakes suspended system. */
# define CLOCK_BOOTTIME_ALARM 9
+/* Like CLOCK_REALTIME but in International Atomic Time. */
+# define CLOCK_TAI 11
/* Flag to indicate time is absolute. */
# define TIMER_ABSTIME 1
--
2.19.1
Hi,
I'm having an issue where it seems recvmmsg/sendmmsg is being included into
the c library regardless of kernel version. I work with kernel versions <
2.6.33 before this feature was included. When compiling applications,
autoconf is then mistakenly told from the c-library that recvmmsg/sendmmsg
is supported by the kernel, resulting in runtime errors. I use buildroot
to compile my toolchains.
Looking through uclibc-ng git, it looks like this feature was added with
this commit.
https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=6e15fafa200666…
thanks,
Lance Fredrickson
Hello,
On Sat, Oct 06, 2018 at 12:00:02PM +0200, devel-request(a)uclibc-ng.org wrote:
> Message: 1
> Date: Fri, 5 Oct 2018 07:48:40 -0600
> From: Lance Fredrickson <lancethepants(a)gmail.com>
> To: devel(a)uclibc-ng.org
> Subject: [uclibc-ng-devel] Fwd: recvmmsg/sendmmsg not in kernel <
> Linux 2.6.33
> Message-ID: <fc65bbd1-8cfa-f4cb-9a5b-25e21a273494(a)gmail.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hi,
>
> I'm having an issue where it seems recvmmsg/sendmmsg is being included
> into the c library regardless of kernel version. I work with kernel
> versions < 2.6.33 before this feature was included. When compiling
> applications, autoconf is then mistakenly told from the c-library that
> recvmmsg/sendmmsg is supported by the kernel, resulting in runtime
> errors. I use buildroot to compile my toolchains.
>
> Looking through uclibc-ng git, it looks like this feature was added with
> this commit.
> https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=6e15fafa200666…
+# ifdef __NR_recvmmsg
^^^^^^^^^^^^^
+ return (ssize_t)INLINE_SYSCALL(recvmmsg, 5, sockfd, msg, vlen, flags, tmo);
+# else
......
+ return (ssize_t)__socketcall(SYS_RECVMMSG, args);
+# endif
+}
You kernel define __NR_recvmmsg in unistd.h ?
Best Regards
Guo Ren
Hi,
I'm having an issue where it seems recvmmsg/sendmmsg is being included
into the c library regardless of kernel version. I work with kernel
versions < 2.6.33 before this feature was included. When compiling
applications, autoconf is then mistakenly told from the c-library that
recvmmsg/sendmmsg is supported by the kernel, resulting in runtime
errors. I use buildroot to compile my toolchains.
Looking through uclibc-ng git, it looks like this feature was added with
this commit.
https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=6e15fafa200666…
thanks,
Lance Fredrickson
Hi,
I'm having an issue where it seems recvmmsg/sendmmsg is being included
into the c library regardless of kernel version. I work with kernel
versions < 2.6.33 before this feature was included. When compiling
applications, autoconf is then mistakenly told from the c-library that
recvmmsg/sendmmsg is supported by the kernel, resulting in runtime
errors. I use buildroot to compile my toolchains.
Looking through uclibc-ng git, it looks like this feature was added with
this commit.
https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=6e15fafa200666…
thanks,
Lance Fredrickson