I've got a build failure while trying to upgrade gcc6-devel to the latest version: .././../gcc-6-20160103/gcc/graphite-dependences.c:240:3: error: no matching function for call to 'isl_union_map_foreach_map' isl_union_map_foreach_map (x, max_number_of_out_dimensions, (void *) &max); ^~~~~~~~~~~~~~~~~~~~~~~~~ I could not reproduce it in poudriere, so the cause is probably some locally installed package. As a wild guess, I've added localbase to USES of gcc6-devel and that fixed the problem, so the guess is that it includes some headers from system instead of its local ones. Complete logs before/after adding USES=localbase: https://people.freebsd.org/~amdmi3/gcc6.fail.log https://people.freebsd.org/~amdmi3/gcc6.ok.log
Hi Dmitry, sorry you ran into this. As far as I can tell, this only should happen with GRAPHITE enabled and just yesterday I analyzed this and created a fix that I committed to upstream GCC: https://gcc.gnu.org/ml/gcc-patches/2016-01/msg00509.html The next snapshot of GCC 6, which I plan on updating to in the next 24 hours (it has not been released yet) will have my fix and should address your issue.
That was with GRAPHITE disabled.
Ah, in that case I bet your system nevertheless has the isl package installed (which would be consistent with your original note of "I could not reproduce it in poudriere, so the cause is probably some locally installed package).
(In reply to Gerald Pfeifer from comment #3) > Ah, in that case I bet your system nevertheless has the isl package > installed (which would be consistent with your original note of "I > could not reproduce it in poudriere, so the cause is probably some > locally installed package). Yes. So that really is an include directory order problem?
A commit references this bug: Author: gerald Date: Mon Jan 11 04:56:09 UTC 2016 New revision: 405763 URL: https://svnweb.freebsd.org/changeset/ports/405763 Log: Update to the 20160110 development snapshot of GCC 6. This addresses a build failure with option GRAPHITE set or when the devel/isl port is present [1] via a patch I contributed upstream since the previous snapshot. PR: 206075 [1] Changes: head/lang/gcc6-devel/Makefile head/lang/gcc6-devel/distinfo
(In reply to Dmitry Marakasov from comment #4) > Yes. So that really is an include directory order problem? Not a directory order problem, but a directory consideration problem. This should be fixed upstream now and with the update I just committed to the lang/gcc6-devel ports also there.