bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash 2.05a on HP-UX 11.00 requires patch


From: Austermuehle Stephan
Subject: bash 2.05a on HP-UX 11.00 requires patch
Date: Thu, 22 Nov 2001 12:00:51 +0100

Configuration Information [Automatically generated, do not change]:
Machine: hppa2.0w
OS: hpux11.00
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0w'
-DCONF_OSTYPE='hpux11.00' -DCONF_MACHTYPE='hppa2.0w-hp-hpux11.00'
-DCONF_VENDOR='hp' -DSHELL -DHAVE_CONFIG_H
-DHPUX   -I.  -I. -I./include -I./lib +O2
uname output: HP-UX zdvklnat B.11.00 U 9000/800 633309332 unlimited-user
license
Machine Type: hppa2.0w-hp-hpux11.00

Bash Version: 2.05a
Patch Level: 0
Release Status: release

Description:
        The HP-UX ANSI C compiler complains about the following error while
trying to compile bash 2.05a on HP-UX 11.00 with the HP ANSI C compiler:

        cc: "printf.def", line 1013: error 1718: Types are not
assignment-compatible.
        make[1]: *** [printf.o] Error 1

        This is somewhat strange because strtold(3C) returns type long
double and ret is of type long double.

Repeat-By:
        CC="cc" CFLAGS="+O2" ./configure --prefix=/opt/gnu
--enable-largefile
        make

Fix:
        According to Mrs. Katharina Christen from HP Support Germany the
function strtold() does not return the type long double but long_double and
she stated that the man page for strtold(3C) on HP-UX 11.00 is incorrect.
The HP-UX 11.X release notes suggest the work-around that is contained in
the attached patch. strtold() shouldn't be used in new applications.

        bash 2.05a compiles after applying this patch.

Attachment: printf.def.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]