This is the mail archive of the gcc@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]

Re: GCC 4.0 Ada Status Report (2005-04-09)


On Sat, 2005-04-09 at 11:54 +0200, Eric Botcazou wrote:
> > no FAIL:
> > sparc-linux
> > s390-linux
> > x86-linux
> 
> sparc-sun-solaris is clean, for all supported versions of Solaris, except 
> maybe 10.

Ok thanks for the information!

> > x86_64-linux
> > FAIL: cxa5012
> 
> I think this one is an artifact (sometimes an error is reported when 
> chopping/building/running the test).   x86_64-linux is clean too.

Unfortunately this is a real core dump while running the test on my
machine (glibc-2.3.3-118 SuSE 9.2) at -O2 or -O0, and this does not
reproduce under GDB, see below. I don't know about valgrind on x86_64,
is it available?

I also get from time to time "chopping/building/running exe not found"
errors, I've never understood why it happens. May be the following
could help.

*** run_all.sh.~1.18.~	2005-02-28 12:55:04.000000000 +0100
--- run_all.sh	2005-04-09 12:15:32.186180141 +0200
***************
*** 256,261 ****
--- 256,264 ----
  
        echo "RUN $binmain" >> $dir/acats.log
        cd $dir/run
+       if [ ! -x $dir/tests/$chapter/$i/$binmain ]; then
+          sync
+       fi
        target_run $dir/tests/$chapter/$i/$binmain > $dir/tests/$chapter/$i/${i}.log 2>&1
        cd $dir/tests/$chapter/$i
        cat ${i}.log >> $dir/acats.log


Laurent

guerby@pc64:~/work/gcc/build/build-20050408T093139/gcc/testsuite/ada/acats/tests/cxa/cxa5012> gnatmake -f -O0 -g -I../../../support/ ./cxa5012.adb
gcc -c -I./ -O0 -g -I../../../support/ -I- ./cxa5012.adb
cxa5012.adb:140:07: warning: "TC_Count" is never assigned a value
gcc -c -I./ -O0 -g -I../../../support/ -I- ../../../support/impdef.adb
gcc -c -I./ -O0 -g -I../../../support/ -I- ../../../support/report.adb
gnatbind -aO./ -I../../../support/ -I- -x cxa5012.ali
gnatlink cxa5012.ali -g
guerby@pc64:~/work/gcc/build/build-20050408T093139/gcc/testsuite/ada/acats/tests/cxa/cxa5012> ./cxa5012

,.,. CXA5012 ACATS 2.5 05-04-09 12:07:41
---- CXA5012 Check the effect of Procedures Save and Reset, and
                Functions Image and Value from the
                Ada.Numerics.Discrete_Random and Float_Random packages.
Segmentation fault
guerby@pc64:~/work/gcc/build/build-20050408T093139/gcc/testsuite/ada/acats/tests/cxa/cxa5012> gdb ./cxa5012
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db library "/lib64/tls/libthread_db.so.1".

(gdb) r
Starting program: /home/guerby/work/gcc/build/build-20050408T093139/gcc/testsuite/ada/acats/tests/cxa/cxa5012/cxa5012

,.,. CXA5012 ACATS 2.5 05-04-09 12:07:50
---- CXA5012 Check the effect of Procedures Save and Reset, and
                Functions Image and Value from the
                Ada.Numerics.Discrete_Random and Float_Random packages.
   - CXA5012 Constraint_Error raised by Function
                Ada.Numerics.Discrete_Random.Value when provided a
                string input that does not represent the state of a
                random number generator.
==== CXA5012 PASSED ============================.

Program exited normally.
(gdb) q




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