s390 wordsize.
Martin Schwidefsky
schwidefsky@de.ibm.com
Mon Sep 30 00:27:00 GMT 2002
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
More information about the Libc-hacker
mailing list