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: Sat, 6 Dec 2014 12:17:08 -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> <CAHu5Prb-3pAkpR93+TWsB0J2STU_3-XUYXO3Um87cty1uMnYKw at mail dot gmail dot com> <5480E7CB dot 4010302 at redhat dot com> <CAHu5Pra7kBjw_EgY9i5GGaogvedhZAf_ouRHZWC8j89QREob8Q at mail dot gmail dot com> <54817C09 dot 9010603 at redhat dot com>
On Fri, Dec 5, 2014 at 3:34 AM, Andrew Haley <aph@redhat.com> wrote:
> On 05/12/14 00:08, Cyd Haselton wrote:
>> On Thu, Dec 4, 2014 at 5:01 PM, Andrew Haley <aph@redhat.com> wrote:
>>> On 12/04/2014 09:00 PM, Cyd Haselton wrote:
>>>> Why is make complaining about those functions when they aren't being
>>>> referenced? Are the functions supposed to be transformed in some way?
>>>
>>> The names are being munged, like this:
>>>
>>> #ifndef __MPN
>>> #if __GMP_HAVE_TOKEN_PASTE
>>> #define __MPN(x) __gmpn_##x
>>> #else
>>> #define __MPN(x) __gmpn_/**/x
>>> #endif
>>> #endif
>>>
>>> #define mpn_tdiv_qr __MPN(tdiv_qr)
>>>
>>> I have no idea why. But it might have some relevance for your problem.
>>
>> Any chance this started in GCC 4.9.x? If not, it's back to the code-parsing...
>
> I don't know. Hint: compile with -save-temps. Look at the preprocessed
> source.
>
> Andrew.
>
>
So, after grepping through a lot of intermediate files, I can safely
say that if there should be files containing rules for munging the
various mpn_ functions, they do not exist or are missing. There are
defines for various mpn_ functions, mostly in gmp.h, but nothing for
munging them.
Is this something to report to mpfr or gmp maintainers or here?