This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ELIBBAD when linked with gold


ELIBBAD means that the interpreter pointed to by the PT_INTERP segment
is in the wrong format.

Please run "readelf -l" (lower-case L) on the binary produced by gold,
and check the program interpreter shows under PT_INTERP, then compare
that with the binary produced by ld.bfd.

-cary


On Thu, Jul 31, 2014 at 6:20 AM, Erwan Legrand <lists@erwanlegrand.com> wrote:
> Hi,
>
> I've stumbled upon the following problem while trying to use ld.gold
> from binutils 2.24 to link a large project.
>
> When the project is linked with ld.gold, the resulting executable
> cannot be executed: execve fails with ELIBBAD.
>
> When linking with ld.bfd, everything works as expected.
>
> I have made a few searches and did not find anything relevant. Is this
> a know issue? If not, is there anything I can do to help find the root
> cause?
>
> Regards,
>
> E.L.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]