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]

Problem when building GCC 4.3.0 on PPC64 - stage1 bubble


Hi,

I am installed GCC 4.3.0 on a POWER5 machine w./ 4 virtual processors. This installation is for C and Fortran.

Current compiler: GCC 4.2.2
OS: Red Hat Enterprise Linux Server release 5.1 (Tikanga)
GMP version: 4.2.2 (latest release)
	- installed in /usr/local
	- verified w./ `make check'
MPFR version: 2.3.1 (latest release)
	- installed in /usr/local
	- verified w./ `make check'

important environment variables
LIBRARY_PATH=/usr/lib64;/usr/lib;/usr/local/lib64;/usr/local/lib
LD_LIBRARY_PATH=/usr/lib64;/usr/lib;/usr/local/lib64;/usr/local/lib
C_INCLUDE_PATH=/usr/include;/usr/local/include
PATH=.:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/ykwok/bin

The source code of GCC 4.3.0 is at
/tmp/gcc-4.3.0

The objdir directory for building GCC is at
/tmp/gcc-4.3.0-obj

Shell: bash

Steps:
%cd /tmp/gcc-4.3.0-obj
%/tmp/gcc-4.3.0/configure --enable-languages=c,fortran --with-gmp=/usr/local/ --with-mpfr=/usr/local/
%make -j 4


error messages at the end of make:
cp /tmp/gcc-4.3.0/gcc/../fixincludes/README-fixinc include-fixed/README
chmod a+r include-fixed/README
echo timestamp > stmp-int-hdrs
make[3]: Leaving directory `/tmp/gcc-4.3.0-obj/gcc'
mkdir -p -- powerpc64-unknown-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in powerpc64-unknown-linux-gnu/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking for powerpc64-unknown-linux-gnu-ar... ar
checking for powerpc64-unknown-linux-gnu-lipo... lipo
checking for powerpc64-unknown-linux-gnu-nm... /tmp/gcc-4.3.0-obj/./gcc/nm
checking for powerpc64-unknown-linux-gnu-ranlib... ranlib
checking for powerpc64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for powerpc64-unknown-linux-gnu-gcc... /tmp/gcc-4.3.0-obj/./gcc/xgcc -B/tmp/gcc-4.3.0-obj/./gcc/ -B/usr/local/powerpc64-unknown-linux-gnu/bin/ -B/usr/local/powerpc64-unknown-linux-gnu/lib/ -isystem /usr/local/powerpc64-unknown-linux-gnu/include -isystem /usr/local/powerpc64-unknown-linux-gnu/sys-include
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /tmp/gcc-4.3.0-obj/./gcc/xgcc -B/tmp/gcc-4.3.0-obj/./gcc/ -B/usr/local/powerpc64-unknown-linux-gnu/bin/ -B/usr/local/powerpc64-unknown-linux-gnu/lib/ -isystem /usr/local/powerpc64-unknown-linux-gnu/include -isystem /usr/local/powerpc64-unknown-linux-gnu/sys-include accepts -g... yes
checking for /tmp/gcc-4.3.0-obj/./gcc/xgcc -B/tmp/gcc-4.3.0-obj/./gcc/ -B/usr/local/powerpc64-unknown-linux-gnu/bin/ -B/usr/local/powerpc64-unknown-linux-gnu/lib/ -isystem /usr/local/powerpc64-unknown-linux-gnu/include -isystem /usr/local/powerpc64-unknown-linux-gnu/sys-include option to accept ANSI C... none needed
checking how to run the C preprocessor... /tmp/gcc-4.3.0-obj/./gcc/xgcc -B/tmp/gcc-4.3.0-obj/./gcc/ -B/usr/local/powerpc64-unknown-linux-gnu/bin/ -B/usr/local/powerpc64-unknown-linux-gnu/lib/ -isystem /usr/local/powerpc64-unknown-linux-gnu/include -isystem /usr/local/powerpc64-unknown-linux-gnu/sys-include -E
checking whether decimal floating point is supported... yes
checking whether fixed-point is supported... no
checking for __attribute__((visibility("hidden")))... yes
checking whether the target asssembler upports thread-local storage... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: executing default commands
Adding multilib support to Makefile in /tmp/gcc-4.3.0/libgcc
multidirs=32 32/nof
with_multisubdir=
Running configure in multilib subdirs 32 32/nof
pwd: /tmp/gcc-4.3.0-obj/powerpc64-unknown-linux-gnu/libgcc
Running configure in multilib subdir 32
pwd: /tmp/gcc-4.3.0-obj/powerpc64-unknown-linux-gnu
mkdir 32
/tmp/gcc-4.3.0/libgcc/../config-ml.in: line 855: /usr/lib: is a directory
/tmp/gcc-4.3.0/libgcc/../config-ml.in: line 855: /usr/local/lib64: is a directory
/tmp/gcc-4.3.0/libgcc/../config-ml.in: line 855: /usr/local/lib: is a directory
/tmp/gcc-4.3.0/libgcc/../config-ml.in: line 855: /usr/lib: is a directory
/tmp/gcc-4.3.0/libgcc/../config-ml.in: line 855: /usr/local/lib64: is a directory
/tmp/gcc-4.3.0/libgcc/../config-ml.in: line 855: /usr/local/lib: is a directory
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/tmp/gcc-4.3.0-obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/tmp/gcc-4.3.0-obj'
make: *** [all] Error 2















Can someone help?


Thank you!

-Yipkei

--
********************************************
Yipkei Kwok
Ph.D. Student
Research Assistant
HiPerSys Lab
Department of Computer Science
The University of Texas at El Paso
Phone: 915 747 6433 (O)
E-mail: ykwok2 at miners dot utep dot edu
********************************************


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