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 18:08:02 -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>
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.
>
> Andrew.
>
Any chance this started in GCC 4.9.x? If not, it's back to the code-parsing...