* Building gcc on HPUX 11.00
@ 2001-01-26 18:14 Eric Gilmore
2001-01-27 9:37 ` Alexandre Oliva
2001-01-30 0:03 ` Puneet Singhal
0 siblings, 2 replies; 5+ messages in thread
From: Eric Gilmore @ 2001-01-26 18:14 UTC (permalink / raw)
To: gcc-help
I've been trying to compile gcc on an HP C110 workstation (PARISC 1.1
architecture) on which I recently installed HPUX 11.00. I finally got gcc
built using the following procedure:
1) Install make 3.79.1
2) Install bison 1.28
3) Install flex 2.5.4a
4) Install binutils 2.9.1
5) Bootstrap gcc 2.95.2
Despite numerous warning during the compilation, it succeeded. However,
when I try to compile even a pretty basic application, I get warnings
similar to the following:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pwd.h:99,
from
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:352,
from foo.c:1:
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30:
warning: `__va__list' redefined
/usr/include/pwd.h:27: warning: this is the location of the previous definition
In file included from
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:356,
from foo.c:1:
/usr/include/errno.h:26: warning: `__va__list' redefined
/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30:
warning: this is the location of the previous definition
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I haven't been able to find any information on this error. However, in the
process of looking, I noticed several messages in the archives stating that
gcc 2.95.X will not work on HPUX 11.00.
What I would like to know is this: what is the latest gcc (and binutils)
that compiles and runs on HPUX 11.00 without any major problems? Also, is
there anything that I need to change in my procedure for building and
installing gcc?
Thanks,
Eric
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Building gcc on HPUX 11.00
2001-01-26 18:14 Building gcc on HPUX 11.00 Eric Gilmore
@ 2001-01-27 9:37 ` Alexandre Oliva
2001-01-29 17:21 ` Eric Gilmore
2001-01-30 0:03 ` Puneet Singhal
1 sibling, 1 reply; 5+ messages in thread
From: Alexandre Oliva @ 2001-01-27 9:37 UTC (permalink / raw)
To: Eric Gilmore; +Cc: gcc-help
On Jan 27, 2001, Eric Gilmore <ergi@rc.rose.hp.com> wrote:
> /opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:352,
GCC 2.95.2 doesn't support HP-UX 11. This is just one of the errors
you'll encounter. Get a development snapshot. But note that you may
still encounter problems, as the PA port has been somewhat unstable in
the past few months. It's stabilizing for the upcoming release, but
it may not be ready yet.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Building gcc on HPUX 11.00
2001-01-27 9:37 ` Alexandre Oliva
@ 2001-01-29 17:21 ` Eric Gilmore
0 siblings, 0 replies; 5+ messages in thread
From: Eric Gilmore @ 2001-01-29 17:21 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: gcc-help
At 09:37 AM 1/27/01, Alexandre Oliva wrote:
>On Jan 27, 2001, Eric Gilmore <ergi@rc.rose.hp.com> wrote:
>
> > /opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:352,
>
>GCC 2.95.2 doesn't support HP-UX 11. This is just one of the errors
>you'll encounter. Get a development snapshot. But note that you may
>still encounter problems, as the PA port has been somewhat unstable in
>the past few months. It's stabilizing for the upcoming release, but
>it may not be ready yet.
I was hoping to find someone who could recommend a specific release or
development snapshot that is known to bootstrap on HPUX 11.00 and run well.
I tried the binutils snapshot from January 23, 2001 and it compiles
fine. I tried to bootstrap the January 22, 2001 gcc, but it fails with a
Segmentation Fault when trying to run xgcc.
If you have any further suggestions/recommendations, it would be appreciated.
Thanks,
Eric
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Building gcc on HPUX 11.00
2001-01-26 18:14 Building gcc on HPUX 11.00 Eric Gilmore
2001-01-27 9:37 ` Alexandre Oliva
@ 2001-01-30 0:03 ` Puneet Singhal
2001-02-05 14:04 ` Eric Gilmore
1 sibling, 1 reply; 5+ messages in thread
From: Puneet Singhal @ 2001-01-30 0:03 UTC (permalink / raw)
To: Eric Gilmore, gcc-help
Hi Eric,
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>In file included from /usr/include/pwd.h:99,
> from
>/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:352,
> from foo.c:1:
>/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30:
>warning: `__va__list' redefined
>/usr/include/pwd.h:27: warning: this is the location of the
>previous definition
>In file included from
>/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:356,
> from foo.c:1:
>/usr/include/errno.h:26: warning: `__va__list' redefined
>/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30:
>warning: this is the location of the previous definition
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
I think this problem does not have anything to do with GCC not working on
HPUX
Actually, GCC provides some corrected header files like varargs.h etc. Find
the directory and include it While giving the gcc build command using the
"-I" switch as the first switch.
Tell me if this works.
Puneet
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Building gcc on HPUX 11.00
2001-01-30 0:03 ` Puneet Singhal
@ 2001-02-05 14:04 ` Eric Gilmore
0 siblings, 0 replies; 5+ messages in thread
From: Eric Gilmore @ 2001-02-05 14:04 UTC (permalink / raw)
To: Puneet Singhal, gcc-help
Hello Puneet,
Since I had tossed the 2.95.2 build, I had to recompile. This time I used
the latest release (2.95.1). I watched the compilation process more
carefully than last time and noticed that the same warning messages occur
during the bootstrap of the compiler. So it would seem to me that this
problem is more likely the result of a problem in the HP-UX source instead
of my build environment.
If you are curious, this is the command I used to build bootstrap the compiler:
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap
I got this out of the gcc-2.95.2/install/BUILD file.
Thanks,
Eric
At 10:49 PM 1/28/01, Puneet Singhal wrote:
>Hi Eric,
>
> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >In file included from /usr/include/pwd.h:99,
> > from
> >/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:352,
> > from foo.c:1:
> >/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30:
> >warning: `__va__list' redefined
> >/usr/include/pwd.h:27: warning: this is the location of the
> >previous definition
> >In file included from
> >/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdlib.h:356,
> > from foo.c:1:
> >/usr/include/errno.h:26: warning: `__va__list' redefined
> >/opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.2/include/stdio.h:30:
> >warning: this is the location of the previous definition
> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
>I think this problem does not have anything to do with GCC not working on
>HPUX
>Actually, GCC provides some corrected header files like varargs.h etc. Find
>the directory and include it While giving the gcc build command using the
>"-I" switch as the first switch.
>
>Tell me if this works.
>Puneet
--
HP strives to improve customer loyalty through customer support. It
is our goal to be your support services provider of choice. Please
forward any comments or suggestions to my manager at the following
e-mail address: <tim_estes@hp.com>
Please take the opportunity to check out these additional resources
that may help troubleshoot or avoid future problems:
HP Documentation in an on-line viewable and/or downloadable format:
http://docs.hp.com
In addition to the Technical Knowledge Base and the Knowledge Trees,
the ITRC also allows you to submit problem cases directly to the
Response Center and communicate with an HP engineer through the web
and/or e-mail:
http://itrc.hp.com
*********************************************************************
********* / / ************** *
******* / / ************ Eric Gilmore *
***** / /___ _____ ********** Hewlett-Packard Company *
**** / __ // __ / ********* Roseville Response Center *
**** / / / // /_/ / ********* 8000 Foothills Blvd, MS 5713 *
***** /_/ /_// /___/ ********** Roseville, California 95747 *
******* / / ************ email: ergi@rc.rose.hp.com *
********* / / ************** *
*********************************************************************
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-02-05 14:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-26 18:14 Building gcc on HPUX 11.00 Eric Gilmore
2001-01-27 9:37 ` Alexandre Oliva
2001-01-29 17:21 ` Eric Gilmore
2001-01-30 0:03 ` Puneet Singhal
2001-02-05 14:04 ` Eric Gilmore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).