Studio 12.4 CC compiler assertion error in /lnk/emitinitializer.cc, when it initializes with a large literal string. (Doc ID 1999768.1)

Last updated on APRIL 21, 2015

Applies to:

Oracle Solaris Studio - Version 12.4 to 12.4 [Release 12]
Information in this document applies to any platform.

Symptoms

Assertion in 12.4 compiler happens due to buffer limit. The magic number is 2^16=65536, which is probably the
buffer size used in the CC compiler to hold the initializing string as it is built step by step, and the compiler asserts when the length crosses over that limit.

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