This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: check-textrel


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 `---------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]