Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Subject: Re: Tru64 5.1b & GCC 3.2.2
Date: 27 Feb 2003 13:40:32 +0100	[thread overview]
Message-ID: <yddr89tnbgf.fsf@xayide.TechFak.Uni-Bielefeld.DE> (raw)
In-Reply-To: 3E5D04B5.52E02860@dolphin.upenn.edu

Todd Seeleman <seeleman@dolphin.upenn.edu> writes:

> 	I'm trying to build GCC 3.2.2 on a Compaq Alpha DS20 running Tru64
> 5.1b.  I've read the docs but found no clue.  This worked find on a
> Tru64 4.0g system but
> 
> CC=cc /usr/local/src/gcc*/configure
> 
> gmake bootstrap
> 
> results in;
> 
> stage1/xgcc -Bstage1/ -B/usr/local/alphaev6-dec-osf5.1/bin/ -DIN_GCC   
> -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o cc1 \
>         c-parse.o c-lang.o attribs.o c-errors.o c-lex.o c-pragma.o
> c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-format.o
> c-semantics.o c-objc-common.o libcpp.a  main.o libbackend.a
> ./intl/libintl.a  -liconv  ../libiberty/libiberty.a
> _F64__F64_stat
> _F64__F64_fstat
> _F64__F64_lstat
> libiconv
> libiconv_open
> libiconv_close

> Any clues?

the _F64__F64_stat etc. part of the problem is fixed for the gcc 3.2.3, 3.3
and 3.4 releases:

	http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01802.html

There are two variants of the gcc/config/alpha/osf.h patch, the latter one
is for the 3.2.x releases.  Also note that you need to install autogen to
regenerate fixincl.x after applying the patch.  Alternatively, you can get
the current gcc 3.2 branch from cvs.

I'm not entirely sure about the missing libiconv* symbols: this generally
happens when the bootstrap compiler finds and uses a copy of the GNU
libiconv <iconv.h> header, but later you link against the system libiconv.
If you really have GNU libiconv installed, you might try to use the
--with-libiconv-prefix=DIR configure switch to refer the gcc build to the
correct location.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University


      reply	other threads:[~2003-02-27 12:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 18:17 Tru64 5.1b & GCC 3.2.2 Todd Seeleman
2003-02-27 12:40 ` Rainer Orth [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox