Opened 12 years ago

Closed 10 years ago

#903 closed enhancement (fixed)

mips64el cross-tools gcc-static requires a patch

Reported by: Bryan Baldwin 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 (2)

comment:1 by William Harrington, 12 years ago

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 by chris@…, 10 years ago

Resolution: fixed
Status: newclosed

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.