[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    gcc 2.95.2 build fails building jc1
From:       AshCan () aol ! com
Date:       2000-11-30 14:24:05
[Download RAW message or body]

I am trying to build the latest arm-elf bin utilities, gcc, g++ under Linux RedHat \
6.2.  
My Linux gcc is egcs-2.91.66.

---- To configure for binutils, I did:

cd /opt/arm-tools/build-binutils
/my-binutils-2.10.1-install-path/configure --target=arm-elf --prefix=/opt/arm-tools
make

No errors

---- To configure gcc, I did:

cd /opt/arm-tools/build-gcc
/my-gcc-2.95.2-install-path/configure --target=arm-elf --prefix=/opt/arm-tools

---- I get errors when the compiler attempts to build jc1. 
---- I get the following error message.  I don't even get any ld specific error.

cd java; make "AR_FLAGS_FOR_TARGET=rc" "AR_FOR_TARGET=arm-elf-ar" "BISON=bison" \
"BISONFLAGS=" "CFLAGS=-g -O2" "CLIB=" \
"GCC_FOR_TARGET=/opt/arm-tools/build-gcc/gcc/xgcc -B/opt/arm-tools/build-gcc/gcc/ \
-B/usr/bin/arm-elf/bin/ -I/usr/bin/arm-elf/include" "LDFLAGS=" "LEX=flex" "LEXFLAGS=" \
"LN=ln" "LN_S=ln -s" "MAKEINFO=/opt/arm-tools/build-gcc/texinfo/makeinfo/makeinfo " \
"MAKEINFOFLAGS=" "RANLIB_FOR_TARGET=arm-elf-ranlib" "RANLIB_TEST_FOR_TARGET=[ -f \
arm-elf-ranlib ] || ( [ "i686-pc-linux-gnu" = "arm-unknown-elf" ] && [ -f \
/usr/bin/ranlib -o -f /bin/ranlib ] )" "SHELL=/bin/sh" "STAGE_PREFIX=" "exeext=" \
"build_exeext=" "objext=.o" "exec_prefix=/usr/bin" "prefix=/opt/arm-tools" \
"local_prefix=/usr/local" \
"gxx_include_dir=/usr/bin/lib/gcc-lib/arm-elf/2.95.2/../../../..`echo /usr/bin | sed \
-e 's|^/opt/arm-tools||' -e 's|/[^/]*|/..|g'`/include/g++-3" \
"tooldir=/usr/bin/arm-elf" \
"gcc_tooldir=/usr/bin/lib/gcc-lib/arm-elf/2.95.2/../../../`echo /usr/bin | sed -e \
's|^/opt/arm-tools||' -e 's|/! $||' -e 's|^[^/]|/|' -e 's|/[^/]
*|../|g'`arm-elf" "bindir=/usr/bin/bin" \
"libsubdir=/usr/bin/lib/gcc-lib/arm-elf/2.95.2" "datadir=/opt/arm-tools/share" \
"distdir=../tmp/\$(subdir)" "localedir=/opt/arm-tools/share/locale" "CC=gcc" \
"JAVA_FOR_BUILD=" "JAVAFLAGS=" "JAVA_FOR_TARGET=" ../jc1 make[2]: Entering directory \
`/opt/arm-tools/build-gcc/gcc/java' rm -f ../jc1
gcc  -DIN_GCC    -g -O2   -o ../jc1 \
      parse.o class.o decl.o expr.o constants.o lang.o typeck.o except.o verify.o \
zextract.o jcf-io.o jcf-parse.o mangle.o jcf-write.o buffer.o check-init.o \
jcf-depend.o jcf-path.o xref.o `cat ../stamp-objlist` `if [ xobstack.o != x ]; then \
                echo ../obstack.o; else true; fi` ../../libiberty/libiberty.a
collect2: ld returned 1 exit status
make[2]: *** [../jc1] Error 1
make[2]: Leaving directory `/opt/arm-tools/build-gcc/gcc/java'
make[1]: *** [jc1] Error 2
make[1]: Leaving directory `/opt/arm-tools/build-gcc/gcc'
make: *** [all-gcc] Error 2

thank you for any help,

Dan Ash
SonicBox Inc.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic