dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help Required. Failures with gcc.c-torture,


From: Shrinivas Atre
Subject: Help Required. Failures with gcc.c-torture,
Date: Sat, 22 Jun 2002 13:28:22 +0530

Hi,
I am testing my H8300 tool chain on GNU/Linux with DejaGNU 1.4.2.
Most of the gcc.c-torture tests are failing for h8300-hms and h8300-coff 
targets.
However all these test get passed in h8300-elf tool chain.

I have given extracts of my gcc.sum and gcc.log file for reference.

What could be the reason ? 
I think I need to change some part of testglue.c ( part of DejaGNU ?)
Any suggestions , clue or idea about what is to be done ?

Any help is appreciated.

Thanks in advance.

Regards
Shrinivas


Here is extract of my gcc.sum file and gcc.log file

==================== gcc.sum extract begin ===============================
Running 
/home/shrinivasa/new-src/gcc-3.1patch/gcc/testsuite/gcc.c-torture/execute/execute.exp
 ...
FAIL: gcc.c-torture/execute/20000112-1.c compilation,  -O0 
UNRESOLVED: gcc.c-torture/execute/20000112-1.c execution,  -O0 
FAIL: gcc.c-torture/execute/20000112-1.c compilation,  -O1 
UNRESOLVED: gcc.c-torture/execute/20000112-1.c execution,  -O1 
FAIL: gcc.c-torture/execute/20000112-1.c compilation,  -O2 
UNRESOLVED: gcc.c-torture/execute/20000112-1.c execution,  -O2 

==================== gcc.sum extract end =================================

==================== gcc.log extract begin ===============================
Running 
/home/shrinivasa/new-src/gcc-3.1patch/gcc/testsuite/gcc.c-torture/execute/execute.exp
 ...
Executing on host: 
/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/xgcc 
-B/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/ 
/home/shrinivasa/new-src/gcc-3.1patch/gcc/testsuite/gcc.c-torture/execute/20000112-1.c
 testglue.o  -w  -O0  -DSTACK_SIZE=4096    -Wl,-wrap,__exit -Wl,-wrap,_main 
-Wl,-wrap,_abort -lm   -mh -o 
/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/testsuite/20000112-1.x0
    (timeout = 300)
spawn /home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/xgcc 
-B/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/ 
/home/shrinivasa/new-src/gcc-3.1patch/gcc/testsuite/gcc.c-torture/execute/20000112-1.c
 testglue.o -w -O0 -DSTACK_SIZE=4096 -Wl,-wrap,__exit -Wl,-wrap,_main 
-Wl,-wrap,_abort -lm -mh -o 
/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/testsuite/20000112-1.x0
 
testglue.o(.text+0x148):testglue.c: undefined reference to `__real___exit'
testglue.o(.text+0x17e):testglue.c: undefined reference to `__real__abort'
testglue.o(.text+0x1bc):testglue.c: undefined reference to `__real__main'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
testglue.o(.text+0x148):testglue.c: undefined reference to `__real___exit'
testglue.o(.text+0x17e):testglue.c: undefined reference to `__real__abort'
testglue.o(.text+0x1bc):testglue.c: undefined reference to `__real__main'
collect2: ld returned 1 exit status

FAIL: gcc.c-torture/execute/20000112-1.c compilation,  -O0 
UNRESOLVED: gcc.c-torture/execute/20000112-1.c execution,  -O0 
Executing on host: 
/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/xgcc 
-B/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/ 
/home/shrinivasa/new-src/gcc-3.1patch/gcc/testsuite/gcc.c-torture/execute/20000112-1.c
 testglue.o  -w  -O1  -DSTACK_SIZE=4096    -Wl,-wrap,__exit -Wl,-wrap,_main 
-Wl,-wrap,_abort -lm   -mh -o 
/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/testsuite/20000112-1.x1
    (timeout = 300)
spawn /home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/xgcc 
-B/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/ 
/home/shrinivasa/new-src/gcc-3.1patch/gcc/testsuite/gcc.c-torture/execute/20000112-1.c
 testglue.o -w -O1 -DSTACK_SIZE=4096 -Wl,-wrap,__exit -Wl,-wrap,_main 
-Wl,-wrap,_abort -lm -mh -o 
/home/shrinivasa/h8300-builds/h8300-hms/build-gcc-3.1patch/gcc/testsuite/20000112-1.x1
 
testglue.o(.text+0x148):testglue.c: undefined reference to `__real___exit'
testglue.o(.text+0x17e):testglue.c: undefined reference to `__real__abort'
testglue.o(.text+0x1bc):testglue.c: undefined reference to `__real__main'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
testglue.o(.text+0x148):testglue.c: undefined reference to `__real___exit'
testglue.o(.text+0x17e):testglue.c: undefined reference to `__real__abort'
testglue.o(.text+0x1bc):testglue.c: undefined reference to `__real__main'
collect2: ld returned 1 exit status

FAIL: gcc.c-torture/execute/20000112-1.c compilation,  -O1 
UNRESOLVED: gcc.c-torture/execute/20000112-1.c execution,  -O1 
==================== gcc.log extract end =================================

-----------------------------------------------------------------------------
Free download of GNUSH and GNUH8 tool chains for Hitachi's SH and H8 Series.
The following site also offers free support to European customers.
Read more at http://www.kpit.com/products/support.htm
Latest versions of GNUSH and GNUH8 are released on Apr 1, 2002.
-----------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]