My Oracle Support Banner

Linker Does Not Accept SHT_PROGBITS Type For .eh_frame Section On Solaris x86 AMD64 (Doc ID 1514794.1)

Last updated on FEBRUARY 28, 2019

Applies to:

Solaris Operating System - Version 10 9/10 U9 to 10 8/11 U10 [Release 10.0]
Oracle Solaris Studio - Version Sun Studio 10 to 12.3 [Release 10.0 to 12]
Oracle Solaris on x86-64 (64-bit)


Linking object files together on Solaris 10 on x86-64 system on the AMD64 architecture fails with one of the following errors:

ld: fatal: file sample1.o: section [5].eh_frame: section type is SHT_PROGBITS: expected SHT_AMD64_UNWIND


% ld -G a.o b.o     ld: fatal: file a.o; section [8].eh_frame and file b.o; section [8].eh_frame have incompatible attributes and cannot be merged into a single output section


The problem shows up only if patch 144501-19 (Solaris 10 Update 10 rejuvenated kernel update patch) is installed.

The problem is specific to AMD64, and cannot show up on SPARC.

The problem has been observed


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.