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] |
Hi, 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. blue skies, Martin. 2002-09-30 Bernd Kaindl <bk@suse.de> * sysdeps/s390/bits/wordsize.h: Move to... * sysdeps/s390/s390-32/bits/byteswap.h: ...here. * sysdeps/s390/s390-64/bits/byteswap.h: ...and here. diff -urN libc-head/sysdeps/s390/bits/wordsize.h libc-s390/sysdeps/s390/bits/wordsize.h --- libc-head/sysdeps/s390/bits/wordsize.h Thu Jul 11 23:38:44 2002 +++ libc-s390/sysdeps/s390/bits/wordsize.h Thu Jan 1 01:00:00 1970 @@ -1,7 +0,0 @@ -/* Determine the wordsize from the preprocessor defines. */ - -#if defined __s390x__ -# define __WORDSIZE 64 -#else -# define __WORDSIZE 32 -#endif diff -urN libc-head/sysdeps/s390/s390-32/bits/wordsize.h libc-s390/sysdeps/s390/s390-32/bits/wordsize.h --- libc-head/sysdeps/s390/s390-32/bits/wordsize.h Thu Jan 1 01:00:00 1970 +++ libc-s390/sysdeps/s390/s390-32/bits/wordsize.h Mon Sep 30 09:04:52 2002 @@ -0,0 +1,7 @@ +/* Determine the wordsize from the preprocessor defines. */ + +#if defined __s390x__ +# define __WORDSIZE 64 +#else +# define __WORDSIZE 32 +#endif diff -urN libc-head/sysdeps/s390/s390-64/bits/wordsize.h libc-s390/sysdeps/s390/s390-64/bits/wordsize.h --- libc-head/sysdeps/s390/s390-64/bits/wordsize.h Thu Jan 1 01:00:00 1970 +++ libc-s390/sysdeps/s390/s390-64/bits/wordsize.h Thu Jul 11 23:38:44 2002 @@ -0,0 +1,7 @@ +/* Determine the wordsize from the preprocessor defines. */ + +#if defined __s390x__ +# define __WORDSIZE 64 +#else +# define __WORDSIZE 32 +#endif
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |