This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: check-textrel
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: libc-alpha at sources dot redhat dot com, Steve Munroe <sjmunroe at us dot ibm dot com>
- Date: Mon, 10 Feb 2003 20:36:41 -0800
- Subject: Re: check-textrel
- Organization: Red Hat, Inc.
- References: <20030211042731.GA23622@bubble.sa.bigpond.net.au>
Alan Modra wrote:
> This test breaks when cross-compiling powerpc64-linux glibc from
> a powerpc-linux host. Problem is that e_phoff is 64 bits while
> pread expects a 32-bit offset.
That's no problem. The compiler truncates the 64 bit value. If it
doesn't it's a compiler bug. SO what is it?
And what about this:
+#define _XOPEN_SOURCE 500
+#define _BSD_SOURCE 1
That's completely unnecessary. All of glibc is compiled with
_GNU_SOURCE defined.
--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------