Ticket #903 (closed enhancement: fixed)

Opened 5 years ago

Last modified 3 years ago

mips64el cross-tools gcc-static requires a patch

Reported by: k2t0f12d Owned by: clfs-commits@…
Priority: major Milestone:
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc:

Description

If building cloog-0.17.0 with isl-0.10 and osl-0.8.4 you may see this error.

gcc-4.6.3/gcc/graphite-clast-to-gimple.c:1370:23: error: 'LANGUAGE_C' undeclared (first use in this function)

in which case apply the attached patch

Change History

comment:1 Changed 5 years ago by kb0iic

We are in a package freeze and we'll be moving to gcc 4.8 after release and by then it may be fixed. DO you have any idea?

comment:2 Changed 3 years ago by chris@…

  • Status changed from new to closed
  • Resolution set to fixed

This should no longer be an issue. Current GCC (4.8.2) has this near the top of that file:

#ifndef CLOOG_LANGUAGE_C
#define CLOOG_LANGUAGE_C LANGUAGE_C
#endif

Also, the reference to LANGUAGE_C in GCC 4.6.3 has been changed to CLOOG_LANGUAGE_C, which, due to the above #define, should always exist if CLooG is found. Though just to be sure, I did start a mips64el build, and gcc-static compiled just fine.

Note: See TracTickets for help on using tickets.