This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: build/1458: compile failed on hpux11
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: chastain at sourceware dot org
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 18 Jun 2004 18:08:02 -0000
- Subject: Re: build/1458: compile failed on hpux11
- Reply-to: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
The following reply was made to PR build/1458; it has been noted by GNATS.
From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: heppe@techsoftamerica.com, mec.gnu@mindspring.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: build/1458: compile failed on hpux11
Date: Fri, 18 Jun 2004 14:05:24 -0400 (EDT)
I don't see the part where you did: export ac_cv_c_inline=no.
Can you do this inside the script command?
export ac_cv_c_inline=no
env
If you do it outside "script", then it might be getting reset by the fresh
shell that "script" starts.
Also do this:
echo $PATH
what /bin/cc /usr/bin/cc
Also please 'tar -xf' instead of 'tar -xvf'; I don't want to fill
up the disk on the machine with the PR database.
I just logged onto a hppa2.0w-hp-hpux11.00 system with this compiler:
% what /bin/cc /usr/bin/cc
/bin/cc:
LINT A.11.01.25171.GP CXREF A.11.01.25171.GP
HP92453-01 A.11.01.25171.GP HP C Compiler
$ Sep 8 2000 23:13:51 $
/usr/bin/cc:
LINT A.11.01.25171.GP CXREF A.11.01.25171.GP
HP92453-01 A.11.01.25171.GP HP C Compiler
$ Sep 8 2000 23:13:51 $
This compiler is old enough that all the "inline" tests return "no".
It's actually *too* old to see this bug. :(
I built gdb 6.1.1 on this machine just fine.
When I do:
export ac_cv_c_inline=no
configure
make > make.out 2>&1
Then I get these lines in make.out:
checking for inline... (cached) no
checking for inline... (cached) no
checking for inline... (cached) no
checking for inline... (cached) no
checking for inline... (cached) no
checking for inline... (cached) no
I don't see any "(cached) no" in your typescript, so I suspect that you
haven't actually done the "export ac_cv_c_inline=no" part.
Michael C