[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20173] LD: Link issue with grantlee 0.5.1

From: nickc at redhat dot com
Subject: [Bug ld/20173] LD: Link issue with grantlee 0.5.1
Date: Thu, 02 Jun 2016 08:30:56 +0000


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.


You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]