[#6096] simple execution of bfin-uclinux-objcopy fail in binutils test

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

[#6096] simple execution of bfin-uclinux-objcopy fail in binutils test

Submitted By: Vivi Li

Open Date

2010-07-07 07:01:52    

Priority:

Medium     Assignee:

Vivi Li

Board:

N/A     Silicon Revision:

Resolution:

Assigned (Not Started)     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Open     Found In Release:

2010R1

Is this bug repeatable?:

N/A     

Summary: simple execution of bfin-uclinux-objcopy fail in binutils test

Details:

 

simple execution of bfin-uclinux-objcopy fail in binutils test.

 

This is not a regression bug and always exists.

 

--

Executing on host: bfin-uclinux-gcc /home/test/work/cruise/checkouts/toolchain/binutils-2.17/binutils/testsuite/binutils-all/testprog.c   -Wl,-elf2flt=-s80000 -g  -lm   -o tmpdir/testprog    (timeout = 300)

 

spawn bfin-uclinux-gcc /home/test/work/cruise/checkouts/toolchain/binutils-2.17/binutils/testsuite/binutils-all/testprog.c -Wl,-elf2flt=-s80000 -g -lm -o tmpdir/testprog

 

Executing on host: bfin-uclinux-objcopy  tmpdir/testprog tmpdir/copyprog   (timeout = 300)

 

spawn bfin-uclinux-objcopy tmpdir/testprog tmpdir/copyprog

 

bfin-uclinux-objcopy: tmpdir/testprog: File format not recognized

 

FAIL: simple objcopy of executable

--

 

Follow-ups

 

--- Robin Getz                                               2010-07-07 13:09:05

I think this is an expected failure - since bfin-uclinux-objcopy will need to

run on the elf file (the xxxx.gdb file), not the flat file (xxxx).

 

Either - (preferred is #1):

1) update the test case to handle the .gdb suffix when using flat, or

2) mark as expected fail for Blackfin.

 

-Robin

 

--- Mike Frysinger                                           2010-07-07 13:43:33

it isnt a blackfin-specific issue; it'd fail for all FLAT targets

 

--- Sonic Zhang                                              2010-07-07 23:57:13

So, update test case is the preferred solution.

 

--- Mike Frysinger                                           2010-07-08 00:04:42

it might require work on the test framework and not specific tests.  this is

what the gdb guys wanted for example.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes