* [PATCH] Fix s390{,x} build, 2 warnings
@ 2004-04-18 2:02 Jakub Jelinek
2004-04-18 2:38 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2004-04-18 2:02 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
Without the first 2 hunks, s390{,x} gets undefined __syscall_error
in librt.so, the latter 2 hunks shut up warning about missing free prototype
on s390*.
2004-04-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add
rt-sysdep.
* sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file.
nptl/
* sysdeps/unix/sysv/linux/mq_notify.c: Include stdlib.h.
linuxthreads/
* sysdeps/unix/sysv/linux/mq_notify.c: Include stdlib.h.
--- libc/sysdeps/unix/sysv/linux/s390/Makefile.jj 2002-10-16 05:02:48.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/s390/Makefile 2004-04-17 14:21:57.303198483 +0200
@@ -1 +1,4 @@
64bit-predefine = __s390x__
+ifeq ($(subdir),rt)
+librt-routines += rt-sysdep
+endif
--- libc/sysdeps/unix/sysv/linux/s390/rt-sysdep.S.jj 2004-04-17 14:18:55.142843991 +0200
+++ libc/sysdeps/unix/sysv/linux/s390/rt-sysdep.S 2004-04-17 14:18:47.197267941 +0200
@@ -0,0 +1 @@
+#include <sysdep.S>
--- libc/nptl/sysdeps/unix/sysv/linux/mq_notify.c.jj 2004-04-17 12:14:23.000000000 +0200
+++ libc/nptl/sysdeps/unix/sysv/linux/mq_notify.c 2004-04-17 14:07:46.650646496 +0200
@@ -23,6 +23,7 @@
#include <mqueue.h>
#include <pthread.h>
#include <signal.h>
+#include <stdlib.h>
#include <string.h>
#include <sysdep.h>
#include <unistd.h>
--- libc/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c.jj 2004-04-17 12:14:22.000000000 +0200
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c 2004-04-17 14:08:08.360755762 +0200
@@ -23,6 +23,7 @@
#include <mqueue.h>
#include <pthread.h>
#include <signal.h>
+#include <stdlib.h>
#include <string.h>
#include <sysdep.h>
#include <unistd.h>
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix s390{,x} build, 2 warnings
2004-04-18 2:02 [PATCH] Fix s390{,x} build, 2 warnings Jakub Jelinek
@ 2004-04-18 2:38 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2004-04-18 2:38 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Glibc hackers
Applied.
--
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-18 2:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-18 2:02 [PATCH] Fix s390{,x} build, 2 warnings Jakub Jelinek
2004-04-18 2:38 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).