Re: Relocation Truncated to Fit: R_X86_64_PC32

2018-08-21 Thread Jonathan Wakely
On Tue, 21 Aug 2018 at 19:43, R0b0t1 wrote: > Hello everyone, I'm adding a message to the gcc-devel list because I'd > appreciate some help figuring out if this is a bug. The issue was that > I was missing a linking directive to a library (-lwinpr). The message > does not seem to be reasonable in t

Re: Relocation Truncated to Fit: R_X86_64_PC32

2018-08-21 Thread R0b0t1
On Mon, Jul 30, 2018 at 6:28 PM, Jonathan Wakely wrote: > On Mon, 30 Jul 2018 at 22:53, R0b0t1 wrote: >> >> On Mon, Jul 30, 2018 at 4:32 PM, R0b0t1 wrote: >> > Hello list, >> > >> > I have been told to solve this error I should pass -fPIC and >> > -mcmodel=large. I believe I understand the reaso

Re: Relocation Truncated to Fit: R_X86_64_PC32

2018-07-30 Thread Jonathan Wakely
On Mon, 30 Jul 2018 at 22:53, R0b0t1 wrote: > > On Mon, Jul 30, 2018 at 4:32 PM, R0b0t1 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 look

Re: Relocation Truncated to Fit: R_X86_64_PC32

2018-07-30 Thread R0b0t1
On Mon, Jul 30, 2018 at 4:32 PM, R0b0t1 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 (htt

Relocation Truncated to Fit: R_X86_64_PC32

2018-07-30 Thread R0b0t1
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? Thanks in advance, R0b0t1 --- Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto