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

Re: "relocation truncated to fit" error using Coldfire target.

2008-06-22 Thread Luigi 'Comio' Mantellini
Hi List, I think that the problem is the same of this: http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00094.html Starting form the patch proposed in the post above, I produced (with few changes) the attached patch for gcc.4.3.1. ciao luigi On dom, 2008-06-22 at 12:24 +0200, Luigi 'Comio' Mantel

Re: relocation truncated to fit

2007-07-26 Thread Canqun Yang
Hi, Guenther It works. Thank you very much! Canqun Yang --- Richard Guenther <[EMAIL PROTECTED]>: > On 7/26/07, Canqun Yang <[EMAIL PROTECTED]> wrote: > > Hi, all > > > > Can anyone help me to resolve this problem? > > > > When I compile a program with .bss segement larger than 2.0GB, I get the

Re: relocation truncated to fit

2007-07-26 Thread Richard Guenther
On 7/26/07, Canqun Yang <[EMAIL PROTECTED]> wrote: Hi, all Can anyone help me to resolve this problem? When I compile a program with .bss segement larger than 2.0GB, I get the following error message from GNU linker (binutils-2.15). (.text+0x305): In function `sta_': : relocation truncated to