[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP
From: |
Bruno Haible |
Subject: |
Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP |
Date: |
Tue, 16 Dec 2003 13:34:28 +0100 |
User-agent: |
KMail/1.5 |
Hello,
Michael Elizabeth Chastain wrote:
> This patch fixes a build failure with gdb 6.0 on native
> hppa2.0w-hp-hpux11.00 with the hp ansi c compiler /opt/ansic/bin/cc.
> The build failure is documented at:
>
> http://sources.redhat.com/gdb/bugs/1458
>
> I googled on "gettextP.h SWAP" and found that several other people
> have had similar problems with hpux11.* .
> ...
> What do you think?
Your patch looks like a random hack around an unknown problem.
I'd suggest more investigations.
1) Some of the reported problems were with gpg-1.2.1, some with gdb-6.0.
However I can not reproduce a problem which cc on HP-UX 11. Both
gpg-1.2.1 and gdb-6.0 build fine for me in this configuration (except
for unrelated errors in gdb-6.0).
The C compiler I'm using is:
$ export CC="cc -Ae -O"
$ what /opt/ansic/bin/cc
/opt/ansic/bin/cc:
LINT B.11.11.02 CXREF B.11.11.02
HP92453-01 B.11.11.02 HP C Compiler
$ Sep 8 2000 23:13:51 $
2) Maybe the 'inline' keyword is not defined correctly in config.h?
The config.h file on HP-UX 11 with cc should contain the line
#define inline
3) Is something wrong with nls_uint32? This type should be defined
in gmo.h. Is it not?
4) Is the user attempting to use a global configure cache?
By the way, the gdb-6.0 intl/ directory is hopelessly outdated:
it's from gettext 0.10.35 and uses a macro named CY_GNU_GETTEXT.
Which the Cygnus/RedHat folks have to maintain on their own if
they don't want to use the official, released gettext 0.10.40 /
0.11.5 / 0.12.1 / 0.13.
Bruno
- patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP, Michael Elizabeth Chastain, 2003/12/15
- Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP,
Bruno Haible <=
- Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP, Michael Elizabeth Chastain, 2003/12/16
- Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP, Michael Elizabeth Chastain, 2003/12/16
- Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP, Michael Elizabeth Chastain, 2003/12/16
- Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP, Michael Elizabeth Chastain, 2003/12/16
- Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP, Michael Elizabeth Chastain, 2003/12/16