Fixed
Created: Jan 2, 2019
Updated: Feb 25, 2019
Resolved Date: Feb 20, 2019
Found In Version: 9.0.0.11
Fix Version: 9.0.0.20
Severity: Critical
Applicable for: Wind River Linux 9
Component/s: Toolchain
1.While building one module with WRL9 , we get following linking issue.
...../usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/6.2.0/real-ld: .eh_frame_hdr refers to overlapping FDEs.
...../usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/6.2.0/real-ld: final link failed: Bad value
2.One way is to disable creation of ".eh_frame_hdr" section. But when we provide, '--no-eh-frame-hdr' linking flag, GCC shows following error:
....... x86_64-wrs-linux-gcc: error: unrecognized command line option '--no-eh-frame-hdr';
3.Looks like, current GCC always adds "--eh-frame-hdr" automatically on linker call and there
is no "--no-eh-frame-hdr" option to override that. It would be good if such
option could be provided or the error could somehow be made a warning instead.
NA
Reproducible in customer setup, this is impacting their build.