This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sparc-sun-sol2.5.1, g77 config error for gcc-3.3.1


I'm having problems configuring g77 as part of the gcc-3.3.1 build
process on Solaris 2.5.1 using:

gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GNU assembler 2.13.2.1
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `sparc-sun-solaris2.5.1'.

GNU ld version 2.13.2.1
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

I have done the build with:
---------8<-------------
#!/bin/sh

CC=gcc
export CC

ASOPT="--with-as=/usr/local/bin/as"
LDOPT="--with-ld=/usr/local/bin/ld"
LANGOPT="--enable-languages=c,c++,f77,java,objc"

../gcc-3.3.1/configure $ASOPT $LDOPT $LANGOPTS --disable-nls && \
gmake --jobs=2 bootstrap-lean
---------8<-------------

And the last chunk of the build looks like this:

[...]
Configuring in sparc-sun-solaris2.5.1/libf2c
loading cache ../config.cache
checking host system type... sparc-sun-solaris2.5.1
checking target system type... sparc-sun-solaris2.5.1
checking build system type... sparc-sun-solaris2.5.1
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking whether ln -s works... (cached) yes
checking for gcc... (cached) /apps/hgs/gcc-build/gcc/xgcc
-B/apps/hgs/gcc-build/gcc/ -B/usr/local/sparc-sun-solaris2.5.1/bin/
-B/usr/local/sparc-sun-solaris2.5.1/lib/ -isystem
/usr/local/sparc-sun-solaris2.5.1/include
checking whether we are using GNU C... (cached) yes
checking whether /apps/hgs/gcc-build/gcc/xgcc
-B/apps/hgs/gcc-build/gcc/ -B/usr/local/sparc-sun-solaris2.5.1/bin/
-B/usr/local/sparc-sun-solaris2.5.1/lib/ -isystem
/usr/local/sparc-sun-solaris2.5.1/include accepts -g... (cached) yes
checking for as... (cached) /usr/local/bin/as
checking for ar... (cached) ar
checking for ranlib... (cached) true
checking for a BSD compatible install... /bin/sh
/apps/hgs/gcc-3.3.1/install-sh -c
checking for interface version number...
checking for --enable-version-specific-runtime-libs... no
grep: can't open ${top_srcdir}/../gcc/version.c
checking if compiler f771 has been built... yes
checking for ld used by GCC... (cached) /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... (cached) yes
checking for /usr/local/bin/ld option to reload object files...
(cached) -r
checking for BSD-compatible nm... (cached)
/usr/local/sparc-sun-solaris2.5.1/bin/nm
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for ranlib... (cached) true
checking for strip... (cached) strip
updating cache ../config.cache
loading cache ../config.cache within ltconfig
checking whether -lc should be explicitly linked in... (cached) yes
checking for objdir... .libs
checking for /apps/hgs/gcc-build/gcc/xgcc option to produce PIC...
-fPIC -DPIC
checking if /apps/hgs/gcc-build/gcc/xgcc PIC flag  -fPIC -DPIC
works... (cached) yes
checking if /apps/hgs/gcc-build/gcc/xgcc static flag -static
works... (cached) yes
finding the maximum length of command line arguments... (cached)
1537
checking if /apps/hgs/gcc-build/gcc/xgcc supports -c -o file.o...
(cached) yes
checking if /apps/hgs/gcc-build/gcc/xgcc supports -fno-rtti
-fno-exceptions ... no
checking whether the linker (/usr/local/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.5.1 ld.so
checking command to parse /usr/local/sparc-sun-solaris2.5.1/bin/nm
output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
loading cache ../config.cache
checking for a BSD compatible install... /bin/sh
/apps/hgs/gcc-3.3.1/install-sh -c
checking whether gmake sets ${MAKE}... (cached) yes
checking how to run the C preprocessor... (cached)
/apps/hgs/gcc-build/gcc/xgcc -B/apps/hgs/gcc-build/gcc/
-B/usr/local/sparc-sun-solaris2.5.1/bin/
-B/usr/local/sparc-sun-solaris2.5.1/lib/ -isystem
/usr/local/sparc-sun-solaris2.5.1/include -E
checking for stdio.h... yes
checking for built-in g77 integer types... yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating g2c.h
Adding multilib support to Makefile in ../../../gcc-3.3.1/libf2c
multidirs=
with_multisubdir=
configuring in libU77
running /bin/sh ../../../../gcc-3.3.1/libf2c/libU77/configure
--host=sparc-sun-solaris2.5.1 --build=sparc-sun-solaris2.5.1
--enable-multilib
--with-gcc-version-trigger=/apps/hgs/gcc-3.3.1/gcc/version.c
--with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld
--disable-nls --with-target-subdir=sparc-sun-solaris2.5.1
--cache-file=../../config.cache
--srcdir=../../../../gcc-3.3.1/libf2c/libU77
loading cache ../../config.cache
configure: error: ../../../../gcc-3.3.1/libf2c/libU77/configure
failed for libU77
gmake[1]: *** [configure-target-libf2c] Error 1
gmake[1]: Leaving directory `/apps/hgs/gcc-build'
gmake: *** [bootstrap-lean] Error 2
paris hgs 23 %>


Is there anything I can do in this situation. I'm installing the
latest Gnu Awk, sed, and currently downloading the new binutils in
the hope that this might help....

        Hugh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]