* Tru64 5.1b & GCC 3.2.2
@ 2003-02-26 18:17 Todd Seeleman
2003-02-27 12:40 ` Rainer Orth
0 siblings, 1 reply; 2+ messages in thread
From: Todd Seeleman @ 2003-02-26 18:17 UTC (permalink / raw)
Greetings,
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
collect2: ld returned 1 exit status
gmake[2]: *** [cc1] Error 1
gmake[2]: Leaving directory `/usr/local/gcc/gcc'
gmake[1]: *** [stage2_build] Error 2
gmake[1]: Leaving directory `/usr/local/gcc/gcc'
gmake: *** [bootstrap] Error 2
Any clues?
=====================================================================
* Todd Seeleman, Systems Analyst email: seeleman@gse.upenn.edu *
* University of Pennsylvania *
* Graduate School of Education phone: 215-573-8378 *
* 3700 Walnut St., Rm. 002 fax: 215-573-2119 *
* Philadelphia, PA. 19104-6216 *
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Tru64 5.1b & GCC 3.2.2
2003-02-26 18:17 Tru64 5.1b & GCC 3.2.2 Todd Seeleman
@ 2003-02-27 12:40 ` Rainer Orth
0 siblings, 0 replies; 2+ messages in thread
From: Rainer Orth @ 2003-02-27 12:40 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-27 12:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26 18:17 Tru64 5.1b & GCC 3.2.2 Todd Seeleman
2003-02-27 12:40 ` Rainer Orth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox