bug-bash
[Top][All Lists]
Advanced

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

Compile problem with bash 2.05b while porting to HP NonStop Server


From: Schmitz, Joachim (GCSC)
Subject: Compile problem with bash 2.05b while porting to HP NonStop Server
Date: Mon, 22 Sep 2003 16:34:55 +0200

Configuration Information:
Machine: nsr
OS: nsk
Compiler: c89
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='nsr' -DCONF_OSTYPE='nsk' -DCONF_MACHTYPE='nsr-tandem-nsk' -DCONF_VENDOR='tandem' -DSHELL  -DHAVE_CONFIG_H -I.  -I. -I./include -I./lib -I/usr/local/include -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -WIEEE_float -allow_cplusplus_comments -Wextensions -Wnowarn -Woptimize=2 -Wsystype=oss -g

uname output: NONSTOP_KERNEL rat G06 00 NSR-Y
Machine Type: nsr-tandem-nsk

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

Description:
                There seems to be a bug in ...bash*/lib/sh/{fmtullong,snprintf,strtol}.c where it is incorrectly assumed that if a compiler understands long long, that it also understands unsigned long long.

        The c89 compiler on HP NonStop Servers (Formerly Tandem) is one of these compilers, it supports long long, but not unsigned long long

        In the above mentioned files there is something like
#ifdef HAVE_LONG_LONG
        unsigned long long xyz;
#endif

Repeat-By:
        N/A

Fix:
        Check for HAVE_UNSIGNED_LONG_LONG instead

Workaround:
        bash_cv_type_long_long=long ./configure
       


reply via email to

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