From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Fix s390{,x} build, 2 warnings
Date: Sun, 18 Apr 2004 02:02:00 -0000 [thread overview]
Message-ID: <20040417145735.GK514@sunsite.ms.mff.cuni.cz> (raw)
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
next reply other threads:[~2004-04-18 2:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-18 2:02 Jakub Jelinek [this message]
2004-04-18 2:38 ` Ulrich Drepper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040417145735.GK514@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).