GMP Shared Libraries include Text Relocations for some Architectures
Michael Arpin
marpin at unicoi.com
Mon May 22 21:09:48 UTC 2017
Hey Mike,
Just in case you didn't realize, I was also the one to open the issue on
GitHub. In that regards, I pulled the latest build of the GMP libraries
from the "new_toolchain" branch you recommended and they indeed resolve the
issue with TEXTRELs. Android Studio is no longer complaining about them.
Thank you for looking into the issue and resolving it so quickly. This
matter can be considered resolved.
Best regards,
Michael
--
On Sat, May 20, 2017 at 12:12 PM, Mike Mohr <akihana at gmail.com> wrote:
> I wouldn't have included the patch unless something (some toolchain
> component) had complained about it at some point - the details are lost to
> memory at this point. In any case, the text relocations are in the ARM
> build and this assembly file is for x86_64, so it couldn't be related. I
> only included the information in the interests of full disclosure.
>
> Michael, can you provide details of the build failure?
>
> On Sat, May 20, 2017 at 8:27 AM, Torbjörn Granlund <tg at gmplib.org> wrote:
>
>> Mike Mohr <akihana at gmail.com> writes:
>>
>> The original issue was discovered in the Android build of GMP 6.1.2 I
>> host
>> on Github. It might be a bug in the GMP assembly files, or it could be
>> a
>> compiler / toolchain bug. I don't modify the GMP source code, other
>> than
>> to add a missing closing parentheses in one of the assembly files (here
>> <https://github.com/Rupan/gmp/blob/master/build/gmp_add_miss
>> ing_paren.patch>
>> ).
>>
>> Oh no, a typo in a comment! Could that be the cause of the reloc error?
>> :-)
>>
>>
>> --
>> Torbjörn
>> Please encrypt, key id 0xC8601622
>>
>
>
More information about the gmp-discuss
mailing list