This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.9.2 Build Fails at cc1
- From: Andrew Haley <aph at redhat dot com>
- To: Cyd Haselton <chaselton at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 04 Dec 2014 13:38:23 +0000
- Subject: Re: GCC 4.9.2 Build Fails at cc1
- Authentication-results: sourceware.org; auth=none
- References: <CAHu5PraGXAt==5gN8F8akrVg+14a56ycORgMmKXh0VOVAdZWCw at mail dot gmail dot com> <547F5278 dot 90906 at redhat dot com> <CAHu5Prb=G7Kvh5mSOe2oe6wKwBFwQcxPF_dhPdWH-E+AzbhwfA at mail dot gmail dot com> <54802DEC dot 8000403 at redhat dot com> <CAHu5PrZMu7akRSgY+z_ZzQO8WAWUBcq1qzm2mwMcT91SKTFYuQ at mail dot gmail dot com>
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.