Bug 285194 - coverage profile broken in ti.targets.elf.C64P target
Summary: coverage profile broken in ti.targets.elf.C64P target
Status: CLOSED FIXED
Alias: None
Product: RTSC (ARCHIVED)
Classification: Technology
Component: Targets (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sasha Slijepcevic CLA
QA Contact:
URL:
Whiteboard: target:3.16
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-07-30 13:39 EDT by Chris Ring CLA
Modified: 2009-11-05 11:24 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Ring CLA 2009-07-30 13:39:42 EDT
I get the following error using the 'coverage' profile in the ti.targets.elf.C64P target (note the '--use_profile_info' flag... I wonder if it should be '--gen_profile_info', like the 'profile' profile uses):

=========================================
/db/toolsrc/library/tools/vendors/ti/c6x/7.0.0B1/Linux/bin/cl6x -c  -qq -pdsw225 -pdr -pden -pds=195  -mv64p --abi=elfabi -eo.oe64P -ea.se64P  -Dxdc_target_name__=C64P -Dxdc_target_types__=ti/targets/elf/std.h -Dxdc_bld__profile_coverage -Dxdc_bld__vers_1_0_7_0_0_1 --codecov --use_profile_info  -I. -I../../../../../../hijacks -I../../../../../../imports -I/db/toolsrc/library/tools/packages -I/db/rtree/install/trees/products/xdcprod-k59/product/Linux/xdctools_3_15_01_59/packages -I../../../../.. -I/db/toolsrc/library/tools/vendors/ti/c6x/7.0.0B1/Linux/include -fs=./package/lib/lib/coverage/auddec1copy -fr=./package/lib/lib/coverage/auddec1copy -fc auddec1copy.c
fatal error: Error opening profile info file "pprofout.prf"
=========================================
Comment 1 Chris Ring CLA 2009-07-30 13:58:00 EDT
The ti.targets.nda.C64T target has this issue in the 'coverage' profile as well.  Both COFF and ELF.

---------------------

/db/toolsrc/library/tools/vendors/ti/c6x/7.0.0B1/Linux/bin/cl6x -c  -qq -pdsw225 -mv=tesla --abi=coffabi -eo.o64T -ea.s64T  -pdr -pden -pds=195  -Dxdc_target_name__=C64T -Dxdc_target_types__=ti/targets/nda/std.h -Dxdc_bld__profile_coverage-Dxdc_bld__vers_1_0_7_0_0_1 --codecov --use_profile_info  -I. -I../../../../../../hijacks -I../../../../../../imports -I/db/toolsrc/library/tools/packages -I/db/rtree/install/trees/products/xdcprod-k59/product/Linux/xdctools_3_15_01_59/packages -I../../../../.. -I/db/toolsrc/library/tools/vendors/ti/c6x/7.0.0B1/Linux/include -fs=./package/lib/lib/coverage/auddec1copy -fr=./package/lib/lib/coverage/auddec1copy -fc auddec1copy.c
fatal error: Error opening profile info file "pprofout.prf"

---------------------

/db/toolsrc/library/tools/vendors/ti/c6x/7.0.0B1/Linux/bin/cl6x -c  -qq -pdsw225 -mv=tesla --abi=elfabi -eo.oe64T -ea.se64T  -Dxdc_target_name__=C64T -Dxdc_target_types__=ti/targets/elf/std.h -Dxdc_bld__profile_coverage -Dxdc_bld__vers_1_0_7_0_0_1 --codecov --use_profile_info  -I. -I../../../../../../hijacks -I../../../../../../imports -I/db/toolsrc/library/tools/packages -I/db/rtree/install/trees/products/xdcprod-k59/product/Linux/xdctools_3_15_01_59/packages -I../../../../.. -I/db/toolsrc/library/tools/vendors/ti/c6x/7.0.0B1/Linux/include -fs=./package/lib/lib/coverage/auddec1copy -fr=./package/lib/lib/coverage/auddec1copy -fc auddec1copy.c
fatal error: Error opening profile info file "pprofout.prf"

---------------------

FWIW, some other targets (e.g. ti.targets.C64P) seem to use the --use_profile_info flag successfully.
Comment 2 Chris Ring CLA 2009-07-30 15:46:30 EDT
Another probably related failure in the 'coverage' profile of ti.targets.[elf].C674 (both COFF and ELF):

/db/toolsrc/library/tools/vendors/ti/c6x/6.1.9/Linux/bin/cl6x -c  -qq -pdsw225 -pdr -pden -pds=195  -mv6740 -eo.o674 -ea.s674 -mi10 -mo  -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/std.h -Dxdc_bld__profile_coverage -Dxdc_bld__vers_1_0_6_1_9 --codecov --use_profile_info  -I. -I../../../../../../hijacks -I../../../../../../imports -I/db/toolsrc/library/tools/packages -I/db/rtree/install/trees/products/xdcprod-k59/product/Linux/xdctools_3_15_01_59/packages -I../../../../.. -I/db/toolsrc/library/tools/vendors/ti/c6x/6.1.9/Linux/include -fs=./package/lib/lib/coverage/auddec1copy -fr=./package/lib/lib/coverage/auddec1copy -fc auddec1copy.c
fatal error: Error opening profile info file "pprofout.prf"

/db/toolsrc/library/tools/vendors/ti/c6x/7.0.0B1/Linux/bin/cl6x -c  -qq -pdsw225 -pdr -pden -pds=195  -mv6740 --abi=elfabi -eo.oe674 -ea.se674  -Dxdc_target_name__=C674 -Dxdc_target_types__=ti/targets/elf/std.h -Dxdc_bld__profile_coverage -Dxdc_bld__vers_1_0_7_0_0_1 --codecov --use_profile_info  -I. -I../../../../../../hijacks -I../../../../../../imports -I/db/toolsrc/library/tools/packages -I/db/rtree/install/trees/products/xdcprod-k59/product/Linux/xdctools_3_15_01_59/packages -I../../../../.. -I/db/toolsrc/library/tools/vendors/ti/c6x/7.0.0B1/Linux/include -fs=./package/lib/lib/coverage/auddec1copy -fr=./package/lib/lib/coverage/auddec1copy -fc auddec1copy.c
"auddec1copy.c", line 96: warning #36-D: #warn in elf
fatal error: Error opening profile info file "pprofout.prf"
Comment 3 Dave Russo CLA 2009-08-07 18:59:51 EDT
We should add a test to xdctest that does a sanity test build for every target and every profile supported by XDCtools
Comment 4 Sasha Slijepcevic CLA 2009-09-25 20:18:53 EDT
In xdctest-a18, there is a package 'alltargets' that tests all targets and all profiles.
Comment 5 Chris Ring CLA 2009-10-06 14:37:51 EDT
Verified fixed in XDC 3.16.00.15-eng (xdcprod-l15) by rebuilding XDAIS example libs for these profiles/targets.
Comment 6 Dave Russo CLA 2009-11-05 11:21:35 EST
shipped in 3.16.00 available at http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/
Comment 7 Dave Russo CLA 2009-11-05 11:24:18 EST
shipped as described above.