Results for 4.3.2 (GCC) testsuite on x86_64-unknown-linux-gnu

Andrew Worsley andrew.worsley@nec.com.au
Tue Dec 2 21:24:00 GMT 2008


  This is my experience trying to build the GCC compiler on a etch/debian
  T9300 Intel processor:

  	Andrew Worsley

* Building gcc
ftp://mirrors.laffeycomputer.com/pub/gcc.gnu.org/pub/gcc/releases/gcc-4.3.2

ftp://mirrors.laffeycomputer.com/pub/gcc.gnu.org/pub/gcc/releases/gcc-4.3.2/gcc
- -core-4.3.2.tar.bz2

ftp://mirrors.laffeycomputer.com/pub/gcc.gnu.org/pub/gcc/releases/gcc-4.3.2/gcc
- -testsuite-4.3.2.tar.bz2

ftp://mirrors.laffeycomputer.com/pub/gcc.gnu.org/pub/gcc/releases/gcc-4.3.2/gcc
- -java-4.3.2.tar.bz2

cd ~/src
mkdir gcc
cd gcc
mkdir gcc-obj
tar -jxf /scratch/download/gcc-core-4.3.2.tar.bz2
tar -jxf /scratch/download/gcc-java-4.3.2.tar.bz2
tar -jxf /scratch/download/gcc-testsuite-4.3.2.tar.bz2
cd gcc-obj
../gcc-4.3.2/configure --prefix=/usr/local/gcc-4.3.2

* Damn wants GMP 4.1+
http://ftp.sunet.se/pub/gnu/gmp/gmp-4.2.4.tar.bz2

http://www.mpfr.org/
http://www.mpfr.org/mpfr-current/mpfr-2.3.2.tar.bz2

cd gcc-obj
../gcc-4.3.2/configure --prefix=/usr/local/gcc-4.3.2
make

 * Problem -> fails building multilib????
 * remove the gcc-obj directory and try again with 
cd ..
rm -rf gcc-obj
mkdir gcc-obj
cd gcc-obj
../gcc-4.3.2/configure --prefix=/usr/local/gcc-4.3.2
make all
 * Still fails:

/home/amw/src/gcc/gcc-obj/./gcc/xgcc -B/home/amw/src/gcc/gcc-obj/./gcc/ -B/usr/
local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ 
- -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64
- -unknown-linux-gnu/sys-include -g -fkeep-inline-functions -m32 -O2  -O2 -g -g -
O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototy
pes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -D
IN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../../.././gcc -I../../../../gc
c-4.3.2/libgcc -I../../../../gcc-4.3.2/libgcc/. -I../../../../gcc-4.3.2/libgcc/
../gcc -I../../../../gcc-4.3.2/libgcc/../include -I../../../../gcc-4.3.2/libgcc
/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o
 -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../../gcc-4.3.2/libg
cc/../gcc/libgcc2.c \\
          -fvisibility=hidden -DHIDE_EXPORTS
In file included from /usr/include/features.h:354,
                 from /usr/include/stdio.h:28,
                 from ../../../../gcc-4.3.2/libgcc/../gcc/tsystem.h:90,
                 from ../../../../gcc-4.3.2/libgcc/../gcc/libgcc2.c:33:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[5]: *** [_muldi3.o] Error 1
make[5]: Leaving directory \`/home/amw/src/gcc/gcc-obj/x86_64-unknown-linux-gnu
/32/libgcc'
 
   * Seems it wants a 32bit stubs??

   * Do with --disable-multilibs
../gcc-4.3.2/configure --prefix=/usr/local/gcc-4.3.2 --disable-multilib
make all

  * goes vastly further but then fails compiling java:

gcj -I../../../gcc-4.3.2/libjava -Iinclude -I../../../gcc-4.3.2/libjava/include
 -I../../../gcc-4.3.2/libjava/classpath/include -Iclasspath/include -I../../../
gcc-4.3.2/libjava/classpath/native/fdlibm -I../../../gcc-4.3.2/libjava/../boehm
- -gc/include -I../boehm-gc/include -I../../../gcc-4.3.2/libjava/libltdl -I../../
../gcc-4.3.2/libjava/libltdl -I../../../gcc-4.3.2/libjava/.././libjava/../gcc -
I../../../gcc-4.3.2/libjava/../zlib -I../../../gcc-4.3.2/libjava/../libffi/incl
ude -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifier
s -Wswitch-enum -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -Wextra -Wall -D_GN
U_SOURCE -DPREFIX=\\"/usr/local/gcc-4.3.2\\" -DTOOLEXECLIBDIR=\\"/usr/local/gcc
- -4.3.2/lib/../lib64\\" -DJAVA_HOME=\\"/usr/local/gcc-4.3.2\\" -DBOOT_CLASS_PATH
=\\"/usr/local/gcc-4.3.2/share/java/libgcj-4.3.2.jar\\" -DJAVA_EXT_DIRS=\\"/usr
/local/gcc-4.3.2/share/java/ext\\" -DGCJ_ENDORSED_DIRS=\\"/usr/local/gcc-4.3.2/
share/java/gcj-endorsed\\" -DGCJ_VERSIONED_LIBDIR=\\"/usr/local/gcc-4.3.2/lib/.
./lib64/gcj-4.3.2-9\\" -DPATH_SEPARATOR=\\":\\" -DECJ_JAR_FILE=\\"\\" -DLIBGCJ_
DEFAULT_DATABASE=\\"/usr/local/gcc-4.3.2/lib/../lib64/gcj-4.3.2-9/classmap.db\\
" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\\"gcj-4.3.2-9/classmap.db\\" -g -O2 -D_G
NU_SOURCE -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c ../../../gcc-4.3.
2/libjava/exception.cc  -fPIC -DPIC -o .libs/exception.o
../../../gcc-4.3.2/libjava/.././libjava/../gcc/unwind-pe.h:136: error: '_uleb12
8_t' has not been declared
../../../gcc-4.3.2/libjava/.././libjava/../gcc/unwind-pe.h: In function 'const 
unsigned char* read_uleb128(const unsigned char*, int*)':
../../../gcc-4.3.2/libjava/.././libjava/../gcc/unwind-pe.h:140: error: '_uleb12
8_t' was not declared in this scope
../../../gcc-4.3.2/libjava/.././libjava/../gcc/unwind-pe.h:140: error: expected
 ...

 * Don't extract out the java tree and try again.....

 * Compiles and apparently passes the test with
make check
LAST_UPDATED: Obtained from SVN: tags/gcc_4_3_2_release revision 139673

Native configuration is x86_64-unknown-linux-gnu

		=== gcc tests ===


Running target unix

		=== gcc Summary ===

# of expected passes		49272
# of expected failures		168
# of untested testcases		35
# of unsupported tests		381
/home/amw/src/gcc/gcc-obj/gcc/xgcc  version 4.3.2 (GCC) 

		=== libgomp tests ===


Running target unix

		=== libgomp Summary ===

# of expected passes		185
		=== libmudflap tests ===


Running target unix

		=== libmudflap Summary ===

# of expected passes		1700
# of unsupported tests		2

Compiler version: 4.3.2 (GCC) 
Platform: x86_64-unknown-linux-gnu
configure flags: --prefix=/usr/local/gcc-4.3.2 --disable-multilib



More information about the Gcc-testresults mailing list