This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Relocation Truncated to Fit: R_X86_64_PC32


On Mon, Jul 30, 2018 at 4:32 PM, R0b0t1 <r030t1@gmail.com> wrote:
> Hello list,
>
> I have been told to solve this error I should pass -fPIC and
> -mcmodel=large. I believe I understand the reasons.
>
> Sadly the error persists. Any advice?
>

It looks like I may have to recompile everything with -mcmodel=large
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46125) which is rather
inconvenient in this case.

If anyone has more information it may help.

Cheers,
    R0b0t1


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