This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] libiberty: Bad UNSIGNED_64BIT_TYPE definition
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- To: gcc-patches at gcc dot gnu dot org
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 26 Apr 2004 14:13:39 +0200 (CEST)
- Subject: [patch] libiberty: Bad UNSIGNED_64BIT_TYPE definition
- Organization: Technical University of Gdansk
Hello,
There's a bug in libiberty/configure.ac 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 <macro@ds2.pg.gda.pl>
* configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
* configure: Regenerate.
Please apply.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
gcc-3.5.0-20040423-libiberty-ac.patch
diff -up --recursive --new-file gcc-3.5.0-20040423.macro/libiberty/configure.ac gcc-3.5.0-20040423/libiberty/configure.ac
--- gcc-3.5.0-20040423.macro/libiberty/configure.ac 2004-04-23 01:28:48.000000000 +0000
+++ gcc-3.5.0-20040423/libiberty/configure.ac 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)])])])
AC_MSG_RESULT($liberty_cv_uint64)
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.])
fi
# Given the above check, we always have uintptr_t or a fallback