Community
Participate
Working Groups
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" =========================================
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.
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"
We should add a test to xdctest that does a sanity test build for every target and every profile supported by XDCtools
In xdctest-a18, there is a package 'alltargets' that tests all targets and all profiles.
Verified fixed in XDC 3.16.00.15-eng (xdcprod-l15) by rebuilding XDAIS example libs for these profiles/targets.
shipped in 3.16.00 available at http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/
shipped as described above.