From: Jim Meyering Date: Sun, 23 Mar 2003 09:13:57 +0000 (+0000) Subject: Describe problem with 64-bit mode on HPUX 11.x, X-Git-Tag: COREUTILS-4_5_12~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8044f51ca3c57159c6bee1049446e8ef29d40c07;p=platform%2Fupstream%2Fcoreutils.git Describe problem with 64-bit mode on HPUX 11.x, with patch for /usr/include/inttypes.h. --- diff --git a/README b/README index 97f8cc17e..0d2acb712 100644 --- a/README +++ b/README @@ -53,6 +53,23 @@ If you run the tests on a SunOS4.1.4 system, expect the ctime-part of the ls `time-1' test to fail. I believe that is due to a bug in the way Sun implemented link(2) and chmod(2). +A known problem exists when compiling on HPUX on both hppa and ia64 +in 64-bit mode (i.e. +DD64) on all known HPUX 11.x versions. This +is not due to a bug in the package but instead due to a bug in the +system header file which breaks things in 64-bit mode. The default +compilation mode is 32-bit and the software compiles fine using the +default mode. To build this software in 64-bit mode you will need +to fix the system /usr/include/inttypes.h header file. After +correcting that file the software also compiles fine in 64-bit mode. +Here is one possible patch to correct the problem. + +--- /usr/include/inttypes.h.orig Thu May 30 01:00:00 1996 ++++ /usr/include/inttypes.h Sun Mar 23 00:20:36 2003 +@@ -489 +489 @@ +-#ifndef __STDC_32_MODE__ ++#ifndef __LP64__ + + There are pretty many tests, but nowhere near as many as we need. Additions and corrections are very welcome.