Re: Relocation Truncated to Fit: R_X86_64_PC32

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

 



On Mon, 30 Jul 2018 at 22:53, R0b0t1 <r030t1@xxxxxxxxx> wrote:
>
> On Mon, Jul 30, 2018 at 4:32 PM, R0b0t1 <r030t1@xxxxxxxxx> 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.

Your question is off-topic on the gcc list, I've CC'd the gcc-help
list where it belongs. Please remove gcc@ from any further replies.

-fPIC should be enough, you shouldn't need to change the code model.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux