https://sourceware.org/bugzilla/show_bug.cgi?id=20173
Nick Clifton <nickc at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-06-02 Ever confirmed|0 |1 --- Comment #3 from Nick Clifton <nickc at redhat dot com> --- Hi Romain, Ha - found it. You are linking with "--fatal-warnings" specified on the linker command line. Hence the warnings about being unable to create a .eh_frame_hdr section are causing the link to fail. I am not an expert in your build system, but I suspect that this option is the result of a configure-time option, or possibly the absence of a configure-time option to turn it off. I can understand that you might be reluctant to turn this option off, as it would allow other, possibly important, warnings to fly by without necessarily receiving the attention of the programmer. If that is the case then the only thing that I can suggest is that you do not enable PIC for these libraries. The root cause of the problem is that the nios2 target (and microblaze as well) does not generate PC-relative addresses in its .eh_frame sections, and this makes it impossible to generate the .eh_frame_hdr section. The warning is intended as a hint to the programmer to let them know why the linker is not doing something that they might otherwise expect. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils