Forum Stats

  • 3,875,872 Users
  • 2,266,977 Discussions
  • 7,912,361 Comments

Discussions

Solaris Studio 12.3 crashes on Solaris 11.4 when asking for debug or optimized build

User_CG5RM
User_CG5RM Member Posts: 4 Red Ribbon

Just compiling an tiny C program with a single printf hello world shows these errors when asking for debug (-g) or optimized build.

$ cc -m64 hello.c -o hello

$ cc -g -m64 hello.c -o hello

cc: Fatal error in /opt/solarisstudio12.3/prod/bin/acomp

cc: Status 139

$ cc -xO2 -m64 hello.c -o hello

Assertion failed: (cp >= min_heap_addr) && (cp <= cached_sbrk), file ../src/malloc.c, line 727

cc: Fatal error in /opt/solarisstudio12.3/prod/bin/cg

cc: Status 134

Answers