This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

genAIS warning messages

When I run the genAIS.pl script, I get many pages of the following warning message:

Warning: <symbol> element has non-unique value in 'name' key attribute: .cinit at genAIS.pl line 318

Warning: <symbol> element has non-unique value in 'name' key attribute: .bios at genAIS.pl line 318

essentially a warning msg referencing line 318 for each section type in my app, ie. .cinit, .bss, .bios, .debug_line, .debug_info .... etc.

The perl version is ActivePerl 5.10.0 Build 1003, downloaded from the TI website.

The genAIS.pl version is V1.05.00, dated 2007-Jan-25.

genAIS.pl Line 318:       $cf = XMLin($xmlFile);

Can these warnings be ignored, or are they pointing out an incompatiblity I should fix?

Thanks.

 

  • There are some incompatibility issues with ActivePerl 5.10.0. I ran into some issues when using this newer version of ActivePerl as well and had to revert back to 5.8.8.

  • Does this mean the output can't be trusted when using ActivePerl 5.10.0, or are the warnings benign?  Thanks for the confirmation of what I'm seeing.

     

  • The output I saw was incorrect, so I strongly urge you to move back to Perl 5.8.8. I will see if I can dig up any collateral that backs this up.

    *edit* Take a look at this link: https://community.ti.com/forums/t/110.aspx

  •  

    Perl 5.8.8 has exactly the same behavior with genAIS 1.05.00.  There are a hundred or more of these warnings, all referencing line 318 in genAIS:

    Warning: <symbol> element has non-unique value in 'name' key attribute: .debug_line at genAIS.pl line 318
    Warning: <symbol> element has non-unique value in 'name' key attribute: .debug_info at genAIS.pl line 318
    Warning: <symbol> element has non-unique value in 'name' key attribute: .debug_info at genAIS.pl line 318
    Warning: <symbol> element has non-unique value in 'name' key attribute: $C$RL0 at genAIS.pl line 318
    Warning: <symbol> element has non-unique value in 'name' key attribute: $C$RL1 at genAIS.pl line 318

    .

    .

    .

     

    Perl version info:

    >perl -v

    This is perl, v5.8.8 built for MSWin32-x86-multi-thread
    (with 12 registered patches, see perl -V for more detail)

    Copyright 1987-2007, Larry Wall

    Binary build 824 [287188] provided by ActiveState http://www.ActiveState.com
    Built Sep  3 2008 11:14:55

    Can the warnings be ignored?  Is there a newer version of genAIS that corrects the problem?

    Thanks!

     

  • Seems that the software (executable) included in the zip file attached to this post

    http://community.ti.com/forums/t/3679.aspx

    solves the issue. It should be based on a compiled version of the perl scripts, although I don't know on which version it is based upon

  • I had the same problem. This warnings disappeared when I select option "Project -> Build Options -> Linker -> Advanced -> Strip Symbolic Information" (Linker option -s).

  • Hi,

    I had the same issue, due to the XLMin function that convert XML file in perl format.

    I resolved it calling the perl script disabling warnings with -X option.

     

    From dos prompt (remembering the .pl extension):

    perl -X genAIS.pl ... 

    Bye