GCC 4.9.2 Build Fails at cc1

Andrew Haley aph@redhat.com
Thu Dec 4 13:38:00 GMT 2014


On 12/04/2014 10:57 AM, Cyd Haselton wrote:
> On Thu, Dec 4, 2014 at 3:48 AM, Andrew Haley <aph@redhat.com> wrote:
>> On 03/12/14 18:24, Cyd Haselton wrote:
>>> On Wed, Dec 3, 2014 at 12:12 PM, Andrew Haley <aph@redhat.com> wrote:
>>>> On 12/03/2014 05:37 PM, Cyd Haselton wrote:
>>>>> ../gcc-4.9.2/configure --prefix=/usr/gcc-4.9
>>>>> --build=arm-linux-androideabi --host=arm-linux-androideabi
>>>>> --target=arm-linux-androideabi
>>>>
>>>> You're building this GCC on an Android machine?  So this isn't
>>>> an Android cross compiler, but an Android native compiler?
>>>>
>>>> Andrew.
>>>>
>>> Correct.  This is an Android native compiler, being built on an Android device.
>>
>> Try this:
>>
>> nm <objdir>/gmp/.libs/libgmp.a|grep gmpn_tdiv_qr
> 
> Here's the output:
> 
>          U __gmpn_tdiv_qr
>          U __gmpn_tdiv_qr
>          U __gmpn_tdiv_qr
>          U __gmpn_tdiv_qr
>          U __gmpn_tdiv_qr
>          U __gmpn_tdiv_qr
>          U __gmpn_tdiv_qr
>          U __gmpn_tdiv_qr
>          U __gmpn_tdiv_qr
>          U __gmpn_tdiv_qr

Right, so that's your problem.  You need to look at that library to
see if there are any versions of mpn_tdiv_qr, perhaps with different
prefixes to the names.

Andrew.



More information about the Gcc-help mailing list