[#6095] init18.C and init19.C execution tests fail with bfin-elf in folder g++.old-deja/g++.other

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

[#6095] init18.C and init19.C execution tests fail with bfin-elf in folder g++.old-deja/g++.other

Submitted By: Vivi Li

Open Date

2010-07-07 06:10:40     Close Date

2011-01-20 02:46:34

Priority:

Medium     Assignee:

Vivi Li

David Gibson

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

2010R1

Is this bug repeatable?:

yes     

Summary: init18.C and init19.C execution tests fail with bfin-elf in folder g++.old-deja/g++.other

Details:

 

init18.C and init19.C execution tests fail with bfin-elf in folder g++.old-deja/g++.other.

 

It's not a regression bug.

 

--

Executing on host: bfin-elf-c++ /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/g++.old-deja/g++.other/init18.C   -fmessage-length=0   -ansi -pedantic-errors -Wno-long-long  -fno-show-column  -msim    -lm   -o ./init18.exe    (timeout = 300)

 

spawn bfin-elf-c++ /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/g++.old-deja/g++.other/init18.C -fmessage-length=0 -ansi -pedantic-errors -Wno-long-long -fno-show-column -msim -lm -o ./init18.exe

 

PASS: g++.old-deja/g++.other/init18.C (test for excess errors)

 

spawn bfin-elf-run ./init18.exe

 

FAIL: g++.old-deja/g++.other/init18.C execution test

--

 

--

Executing on host: bfin-elf-c++ /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/g++.old-deja/g++.other/init19.C   -fmessage-length=0   -ansi -pedantic-errors -Wno-long-long  -fno-show-column  -msim    -lm   -o ./init19.exe    (timeout = 300)

 

spawn bfin-elf-c++ /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/g++.old-deja/g++.other/init19.C -fmessage-length=0 -ansi -pedantic-errors -Wno-long-long -fno-show-column -msim -lm -o ./init19.exe

 

PASS: g++.old-deja/g++.other/init19.C (test for excess errors)

 

spawn bfin-elf-run ./init19.exe

 

FAIL: g++.old-deja/g++.other/init19.C execution test

--

 

Follow-ups

 

--- David Gibson                                             2010-09-06 10:05:01

The test is failing because the routine to parse atexit/destructors in newlib

(newlib/libc/stdlib/__call_atexit.c) does not take into account any newly

registered items during the processing of the list.

 

This appears to be still broken on the head. I have a local fix that I'm

currently testing.

 

--- Vivi Li                                                  2010-09-29 04:07:53

I can see in 2010r1 branch, init18.C test pass but init19.C still fail.

 

--- Stuart Henderson                                         2010-10-04 09:36:53

checked in a fix that dave took from upstream (he's now on holiday) to trunk and

branch.  this should be fixed in RC4.

 

--- Vivi Li                                                  2010-10-13 23:57:38

OK in 2010r1-rc4.

 

--- Vivi Li                                                  2011-01-20 02:46:34

OK in trunk.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes