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: Cyd Haselton <chaselton at gmail dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 4 Dec 2014 15:00:46 -0600
- 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> <548063CF dot 9070100 at redhat dot com> <CAHu5PrYJ_uNew7_dkDhtUovm8uNHF3aSnBvpSBwFqE-xyNLWWQ at mail dot gmail dot com> <54809118 dot 90601 at redhat dot com> <CAHu5PrYYFSQuyU=5CDObMwyphj1eAdykPymt5n20AM4bUUSUzQ at mail dot gmail dot com> <54809A96 dot 2020300 at redhat dot com>
On Thu, Dec 4, 2014 at 11:32 AM, Andrew Haley <aph@redhat.com> wrote:
> On 12/04/2014 05:10 PM, Cyd Haselton wrote:
>> On Thu, Dec 4, 2014 at 10:51 AM, Andrew Haley <aph@redhat.com> wrote:
>>> On 12/04/2014 03:41 PM, Cyd Haselton wrote:
>>>>> 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.
>>>>>>
>>>> Two follow up questions:
>>>> 1. If there are differently-prefixed versions in the library, what
>>>> would I do to allow the make to find them and resolve the original
>>>> problem?
>>>> 2. Shouldn't the build of libgmp.a include these symbols?
>>>
>>> Let's see what's going on first. Is there anything in that library
>>> which matches mpn_tdiv_qr ?
>>
>> ...and is not prefixed with "U"? Unfortunately no. Grepping for any
>> permutation of mpn_tdiv_qr outputs the same results as previously
>> posted.
>
> Okay, so you must now find out why. What is in that library?
> Why is this not defined? You must debug the build.
>
> Andrew.
>
>
Back again after parsing through code from the previous errors. With
a question.
In gcc-4.9.2/mpfr/div.c:324 mpfr_div references mpn_divrem...but the
error thrown by make references gmpn_divrem.
In gcc-4.9.2/mpfr/div.c:284 mpfr_div references mpn_rshift...but the
error thrown by make references gmpn_rshift.'
Same thing occurs with the undefined references in mpfr_add1 from
gcc-4.9.2/mpfr/add1.c
Why is make complaining about those functions when they aren't being
referenced? Are the functions supposed to be transformed in some way?