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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: s390 wordsize.


On Mon, Sep 30, 2002 at 12:47:36AM -0700, Roland McGrath wrote:
> > Bernd Kaindl from SuSE noticed that a make install copies the wrong
> > wordsize.h header. The implies file in sysdeps/s390/s390-{32,64}
> > specifies the wordsize-{32,64} directory. The wordsize header file in
> > wordsize-{32,64} overrides the wordsize header in sysdeps/s390/bits.
> > Bernds solution is to copy the wordsize.h file back to their original
> > location sysdeps/s390/s390-{32,64}/bits. Then a  make install picks
> > up the correct file and biarch compiles work.
> 
> That's how it is for sparc32/sparc64 too, so I guess this is the thing to
> do.  It would be nice to avoid the duplication.  I can quickly whip up a
> way to have an Implies file line say it should apply after the parent dir
> rather than before, but that might be pushing the obscurity of the system
> even further.  As an example kludge if you want to try it, take this patch
> to configure.in (and make sure your autoconf is 2.13), and change
> wordsize-NN to wordsize-NN+ in s390-NN/Implies.  
> 
> Conversely, you might see what happens to your sysdirs list if you just put
> s390 before wordsize-NN in the Implies files.

Patch is missing.
Anyway, if we are not going to change this, sysdeps/powerpc/bits/wordsize.h
has to be moved one level deeper and duplicated too.
Otherwise, all those 3 arches will need to be audited for files in
wordsize-* directories, fortunately there aren't too many.

	Jakub


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