http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55621



--- Comment #1 from Jason Vas Dias <jason.vas.dias at gmail dot com> 2012-12-09 
08:15:58 UTC ---

After successfully building gcc-4.7.2 for multi-lib i386-pc-solaris2.11 

target ( x86_64 Solaris 11 ) ,  with configure arguments :



$ gcc -v

Target: i386-pc-solaris2.11

Configured with: ../configure --prefix=/usr/GNU --enable-languages=c,c++

--enable-threads --enable-version-specific-runtime-libs --disable-nls

--with-as=/usr/bin/as --with-ld=/usr/bin/ld --with-gmp=/usr/GNU

--with-mpfr=/usr/GNU --with-mpc=/usr/GNU

Thread model: posix

gcc version 4.7.2 (GCC) 

$



I try to run:

$ make check

or 

$ make check-gcc

or 

$ make check-g++



but all fail with a DeJaGNU expect error:



...

Target is i386-pc-solaris2.11

Host   is i386-pc-solaris2.11



                === gcc tests ===



ERROR: errors in tool init file

/usr/src/gnu/gcc-4.7.2/gcc/testsuite/config/unix

-gcc.exp

couldn't read file "/usr/src/gnu/gcc-4.7.2/gcc/testsuite/config/unix-gcc.exp":

N

o such file or directory

    while executing

"source /usr/src/gnu/gcc-4.7.2/gcc/testsuite/config/unix-gcc.exp"make[3]:

[check

-parallel-gcc] Error 1 (ignored)

make[3]: Leaving directory `/usr/share/src/gnu/gcc-4.7.2/solaris11-amd64/gcc'



...

                === g++ tests ===



ERROR: errors in tool init file

/usr/src/gnu/gcc-4.7.2/gcc/testsuite/config/unix

-g++.exp

couldn't read file "/usr/src/gnu/gcc-4.7.2/gcc/testsuite/config/unix-g++.exp":

N

o such file or directory

    while executing

"source /usr/src/gnu/gcc-4.7.2/gcc/testsuite/config/unix-g++.exp"make[3]:

[check

-parallel-g++] Error 1 (ignored)

make[3]: Leaving directory `/usr/share/src/gnu/gcc-4.7.2/solaris11-amd64/gcc'





The only tests which are run are the libiberty tests:



make[3]: Entering directory

`/usr/share/src/gnu/gcc-4.7.2/solaris11-amd64/libibe

rty/testsuite'

./test-demangle < ../../../libiberty/testsuite/demangle-expected

./test-demangle: 874 tests, 0 failures

./test-pexecute

./test-expandargv

PASS: test-expandargv-0.

PASS: test-expandargv-1.

PASS: test-expandargv-2.

PASS: test-expandargv-3.

PASS: test-expandargv-4.

PASS: test-expandargv-5.

PASS: test-expandargv-6.

make[3]: Leaving directory

`/usr/share/src/gnu/gcc-4.7.2/solaris11-amd64/libiber

ty/testsuite'





I installed SUNWguile ( guile 1.8.6 ) , SUNWautogen ( autogen 5.9 ) , and built

and installed dejagnu-1.1.1 against installed SUNWtcl-8 ( 8.5.9 ), and also 

tried using the installed /usr/bin/expect ( --version : 5.45 ) and runtest,

with the same result .  

A successful "make check" on linux does not create any

$OBJDIR/gcc/testsuite/config/*.exp files - the only file there is "default.exp"

, and there does

not seem to be anything generating these files.  

Please advise - thanks in advance!

Reply via email to