Change In How /usr/bin/nm Classifies Symbols From Solaris 11.2 To 11.3 (Doc ID 2242792.1)

Last updated on MARCH 10, 2017

Applies to:

Solaris Operating System - Version 11.3 and later
Information in this document applies to any platform.

Goal

On : Solaris Studio 12.3, Solaris OS 11.3

After upgrading from Solaris 11.2 to 11.3 there are changes in how /usr/bin/nm reports certain symbols.

The issue can be easily demonstrated with this simple test

 

In other words, the global uninitialized symbol ugv was reported in Solaris 11.2 as D (data object symbol), but in Solaris 11.3 is reported as C (COMMON symbol).

Is this change intentional or an oversight that will be corrected?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms