cross-compiling LM32 internal error while linking
Kyrill Tkachov
kyrylo.tkachov@foss.arm.com
Thu Jan 28 17:44:00 GMT 2016
On 28/01/16 17:35, Federico Vaga wrote:
> Hello,
>
> actually I'm not sure if this is there right place because my error looks
> related to the linker and not directly gcc, but anyway, let's try :)
>
> I'm compiled a cross-compiler x86_64 to lm32:
> gcc 5.3.0
> binutils 2.26
> mpc 1.0.3
> mpfr 3.1.3
> gmp 6.1.0
> newlib 2.2.0
>
> When I compile my code I get this message:
>
> <path-to-my-environment>/lib/gcc/lm32-elf/5.3.0/../../../../lm32-elf/bin/ld: internal error: addend should be zero for R_LM32_16_GOT
>
> Then the compilation complete without errors (O_O)
> (like if that error is only not an error but a warning)
>
>
> I do not understand what does this mean, and I cannot find information on
> the web. Any hint? If this is not the right place, can you redirect me to the
> right place?
>
You want the binutils list for linker issues:
binutils@sourceware.org
(people prefer if you don't cross-post, so email just the binutils list and not both
that and gcc-help)
Kyrill
> Thank you in advance
>
More information about the Gcc-help
mailing list