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 .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
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