This is the mail archive of the mailing list for the GCC 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]

[patch] libiberty: Bad UNSIGNED_64BIT_TYPE definition


 There's a bug in libiberty/ since the change from 2004-04-22
-- UNSIGNED_64BIT_TYPE is set to $liberty_cv_uint64 (literally) and as a
result building in the directory fails.  It does not hurt without
rebuilding libiberty/configure as somehow the change escaped the
regeneration associated with the commit.

 Here's a fix.  Tested succesfully in a native build for mipsel-linux.

2004-04-26  Maciej W. Rozycki  <>

	* (UNSIGNED_64BIT_TYPE): Unquote the definition.
	* configure: Regenerate.

 Please apply.


+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

diff -up --recursive --new-file gcc-3.5.0-20040423.macro/libiberty/ gcc-3.5.0-20040423/libiberty/
--- gcc-3.5.0-20040423.macro/libiberty/	2004-04-23 01:28:48.000000000 +0000
+++ gcc-3.5.0-20040423/libiberty/	2004-04-25 11:21:06.000000000 +0000
@@ -196,8 +196,8 @@ liberty_cv_uint64="unsigned long",
 liberty_cv_uint64="unsigned long long", liberty_cv_uint64=none)])])])
 if test "$liberty_cv_uint64" != none; then
-  AC_DEFINE(UNSIGNED_64BIT_TYPE, $liberty_cv_uint64,
-            [Define to an unsigned 64-bit type available in the compiler.])
+  AC_DEFINE_UNQUOTED(UNSIGNED_64BIT_TYPE, $liberty_cv_uint64,
+                     [Define to an unsigned 64-bit type available in the compiler.])
 # Given the above check, we always have uintptr_t or a fallback

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