[#7511] gfortran.fortran-torture/execute/stack_varsize.f90 fails for SEGV failure

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#7511] gfortran.fortran-torture/execute/stack_varsize.f90 fails for SEGV failure

Submitted By: Mingquan Pan

Open Date

2012-11-28 02:05:19     Close Date

2012-12-20 01:10:31

Priority:

Medium     Assignee:

Stuart Henderson

Board:

STAMP     Silicon Revision:

Resolution:

Assigned (Not Started)     Fixed In Release:

N/A

Processor:

BF537     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: gfortran.fortran-torture/execute/stack_varsize.f90 fails for SEGV failure

Details:

 

gfortran.fortran-torture/execute/stack_varsize.f90 fails for SEGV failure when testing on buildroot kernel, while it isn't seen testing on uclinux.

 

#########################################

#

# Comparing gfortran-4.3.sum

#

########################################

Tests that now fail, but worked before:

 

bfin-linux-uclibc: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -O0

bfin-linux-uclibc: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -O1

bfin-linux-uclibc: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -O2

bfin-linux-uclibc: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -O2 -fbounds-check

bfin-linux-uclibc: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -O2 -fomit-frame-pointer -finline-functions

bfin-linux-uclibc: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -O2 -fomit-frame-pointer -finline-functions -funroll-loops

bfin-linux-uclibc: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -O3 -g

bfin-linux-uclibc: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -Os

 

Detailed log:

 

Executing on host: bfin-linux-uclibc-gfortran /home/test/workspace/src/toolchain/gcc-4.3/gcc/testsuite/gfortran.fortran-torture/execute/stack_varsize.f90  -w  -O2    -lm  -mcpu=bf537-0.2  -o /home/test/temp/regtest_build4.3/gfortran_build/testsuite/stack_varsize.x    (timeout = 300)

spawn bfin-linux-uclibc-gfortran /home/test/workspace/src/toolchain/gcc-4.3/gcc/testsuite/gfortran.fortran-torture/execute/stack_varsize.f90 -w -O2 -lm -mcpu=bf537-0.2 -o /home/test/temp/regtest_build4.3/gfortran_build/testsuite/stack_varsize.x^M

PASS: gfortran.fortran-torture/execute/stack_varsize.f90 compilation,  -O2

Executing on bfin-linux-uclibc: /tmp/stack_varsize.x.2138 {} {}   (timeout = 300)

spawn [open ...]^M

SEGV

XYZ139ZYX

Executing on bfin-linux-uclibc: rm -f  /tmp/stack_varsize.x.2138    (timeout = 300)

spawn [open ...]^M

XYZ0ZYX

Executed /home/test/temp/regtest_build4.3/gfortran_build/testsuite/stack_varsize.x, status 1

SEGV

FAIL: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -O2

Executing on host: bfin-linux-uclibc-gfortran /home/test/workspace/src/toolchain/gcc-4.3/gcc/testsuite/gfortran.fortran-torture/execute/stack_varsize.f90  -w  -O2 -fomit-frame-pointer -finline-functions    -lm  -mcpu=bf537-0.2  -o /home/test/temp/regtest_build4.3/gfortran_build/testsuite/stack_varsize.x    (timeout = 300)

spawn bfin-linux-uclibc-gfortran /home/test/workspace/src/toolchain/gcc-4.3/gcc/testsuite/gfortran.fortran-torture/execute/stack_varsize.f90 -w -O2 -fomit-frame-pointer -finline-functions -lm -mcpu=bf537-0.2 -o /home/test/temp/regtest_build4.3/gfortran_build/testsuite/stack_varsize.x^M

PASS: gfortran.fortran-torture/execute/stack_varsize.f90 compilation,  -O2 -fomit-frame-pointer -finline-functions

Executing on bfin-linux-uclibc: /tmp/stack_varsize.x.2138 {} {}   (timeout = 300)

spawn [open ...]^M

SEGV

XYZ139ZYX

Executing on bfin-linux-uclibc: rm -f  /tmp/stack_varsize.x.2138    (timeout = 300)

spawn [open ...]^M

XYZ0ZYX

Executed /home/test/temp/regtest_build4.3/gfortran_build/testsuite/stack_varsize.x, status 1

SEGV

FAIL: gfortran.fortran-torture/execute/stack_varsize.f90 execution,  -O2 -fomit-frame-pointer -finline-functions

 

 

 

 

Follow-ups

 

--- Mingquan Pan                                             2012-12-03 23:22:26

More case has the sililar issue.

 

#########################################

#

# Comparing gfortran-4.3.sum

#

########################################

Tests that now fail, but worked before:

 

bfin-linux-uclibc: gfortran.dg/largeequiv_1.f90  -O0  execution test

bfin-linux-uclibc: gfortran.dg/largeequiv_1.f90  -O1  execution test

bfin-linux-uclibc: gfortran.dg/largeequiv_1.f90  -O2  execution test

bfin-linux-uclibc: gfortran.dg/largeequiv_1.f90  -O3 -fomit-frame-pointer

execution test

bfin-linux-uclibc: gfortran.dg/largeequiv_1.f90  -O3 -fomit-frame-pointer

-funroll-all-loops -finline-functions  execution test

bfin-linux-uclibc: gfortran.dg/largeequiv_1.f90  -O3 -fomit-frame-pointer

-funroll-loops  execution test

bfin-linux-uclibc: gfortran.dg/largeequiv_1.f90  -O3 -g  execution test

bfin-linux-uclibc: gfortran.dg/largeequiv_1.f90  -Os  execution test

 

 

Executing on host: bfin-linux-uclibc-gfortran

/home/test/workspace/src/toolchain/gcc-4.3/gcc/testsuite/gfortran.dg/largeequiv_1.f90

  -O0   -pedantic-errors   -lm  -mcpu=bf537-0.2  -o ./largeequiv_1.exe  

(timeout = 300)

spawn bfin-linux-uclibc-gfortran

/home/test/workspace/src/toolchain/gcc-4.3/gcc/testsuite/gfortran.dg/largeequiv_1.f90

-O0 -pedantic-errors -lm -mcpu=bf537-0.2 -o ./largeequiv_1.exe^M

PASS: gfortran.dg/largeequiv_1.f90  -O0  (test for excess errors)

Executing on bfin-linux-uclibc: /tmp/largeequiv_1.exe.17770 {} {}   (timeout =

300)

spawn [open ...]^M

SEGV

XYZ139ZYX

Executing on bfin-linux-uclibc: rm -f  /tmp/largeequiv_1.exe.17770    (timeout

= 300)

spawn [open ...]^M

XYZ0ZYX

Executed ./largeequiv_1.exe, status 1

SEGV

FAIL: gfortran.dg/largeequiv_1.f90  -O0  execution test

Executing on host: bfin-linux-uclibc-gfortran /home/test/workspace

 

--- Mingquan Pan                                             2012-12-20 02:17:02

These failure doesn't see after cutting tested buildroot kernel size.

So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes