IBM Support

IY60802: NM COMMAND TRUNCATES SYMBOL SIZE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer found the size for large variables not being
    displayed properly. For example, in case of the
    following code.
    
    ------------------------
    #include <stdio.h>
    
    char mybigvar 1234567 ;
    
    int main (int argc, char *argv  )
    {
            mybigvar 0  = '1'; /* just reference it */
            exit (0);
    }
    ------------------------
    
    nm displays the size as 54919
    
    mybigvar             B  536872376   54919
    mybigvar             d  536872336       4
    

Local fix

Problem summary

  • Size of a symbol truncated.
    

Problem conclusion

  • Changed the display format in printf().
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY60802

  • Reported component name

    AIX 5L POWER V5

  • Reported component ID

    5765E6200

  • Reported release

    520

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2004-08-18

  • Closed date

    2004-08-18

  • Last modified date

    2004-09-10

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX 5L POWER V5

  • Fixed component ID

    5765E6200

Applicable component levels

  • R520 PSY U477473

       UP04/09/10 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11M","label":"APARs - AIX 5.2 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 September 2004