This is the mail archive of the cygwin-apps mailing list for the Cygwin 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: [64 bit] relocation truncated to fit: R_X86_64_PC32


Il 5/27/2013 11:34 AM, Corinna Vinschen ha scritto:
On May 26 08:40, marco atzeri wrote:
trying to build octave I hit:


You can try.  The general idea was that this isn't necessary.
-mcmodel=medium is default and despite the text you're quoting, the idea
was that the base address of the result shouldn't matter on PE/COFF.
Unfortunately the linker is making a fuss about that yet and maybe
there's still another problem as well.

So you have two choices:

- Try -mcmodel=large, but there's a good chance it crashes (harfbuzz
   apparently does).

it crashed, but it could be another reason as also the second option
failed with 1.7.18-6

- Link with -Wl,--image-base-address -Wl,0x10000000 and rebase the
   DLLs afterwards to some arbitrary address between 0x4:00000000 and
   0x6:00000000.  This should work as expected.

this worked. (-Wl,--image-base -Wl,0x10000000")
with latest 1.7.18-8 not with 1.7.18-6

Corinna
Marco




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