When I Recompile My Code, I Do Not Get Identical Object Files. (Doc ID 1009220.1)

Last updated on AUGUST 03, 2016

Applies to:

Oracle Solaris Studio - Version Forte Developer 6 Update 2 to 12.4 [Release 6.0 to 12]
Oracle Solaris on x86 (32-bit)
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (32-bit)

Symptoms

Different compilations of the same code result in non-identical object files, libraries, and executables.

Changes

If you are not using identical software on different compilations, you might see differences due to header files, system libraries, or different object code being emitted by different compiler versions.

If you are using different compiler options on different compilations, .o files also frequently will be different. Compilation options configure how the compiler generates object files, what information is contained in the emitted object files, and also lead to different optimization paths within the compiler.

Cause

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