Linker Does Not Accept SHT_PROGBITS Type For .eh_frame Section On AMD Solaris
Last updated on AUGUST 03, 2016
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 .eh_frame: section type is SHT_PROGBITS: expected SHT_AMD64_UNWIND
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
- when hand-coded assembler is used that contains an explicit @progbits section
- when a 3rd party compiler is used that uses SHT_PROGBITSfor AMD64 platforms
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