Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 663360

Summary: dev-lang/gnat-gpl-2018 doesn't build with USE=graphite
Product: Gentoo Linux Reporter: Kidd Fiddler <e7w7jb+6unn2u8tyrzx0>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: gentoo, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: graphite.h just lacks a couple includes...

Description Kidd Fiddler 2018-08-11 11:05:13 UTC
I was building coreboot toolchain and I got error about graphite on my system. Build root uses system compiler and isl to build gcc.

I then try to build gnat-gpl on my system with USE=graphite for gnat-gpl and error. Is this version too new for the 7.3 compiler?

/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c: In member function 'loop* translate_isl_ast_to_gimple::graphite_create_new_loop(edge, isl_ast_node*, loop_p, tree, tree, tree, ivs_params&)':
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:629:28: error: 'isl_id_free' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c: In member function 'edge_def* translate_isl_ast_to_gimple::translate_isl_ast_for_loop(loop_p, isl_ast_node*, edge, tree, tree, tree, ivs_params&)':
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:669:72: error: 'isl_id_get_user' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:672:22: error: 'isl_id_free' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c: In member function 'edge_def* translate_isl_ast_to_gimple::translate_isl_ast_node_user(isl_ast_node*, edge, ivs_params&)':
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:876:55: error: 'isl_id_get_user' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:882:23: error: 'isl_id_free' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c: In function 'isl_id* ast_build_before_for(isl_ast_build*, void*)':
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:2886:61: error: 'isl_space_dim' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:2890:33: error: 'isl_space_free' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:2891:73: error: 'isl_id_alloc' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c: In function 'isl_map* constrain_domain(isl_map*, isl_set*)':
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:48:53: error: 'isl_space_get_tuple_id' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:51:20: error: 'isl_space_free' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c: In function 'isl_stat max_number_of_out_dimensions(isl_map*, void*)':
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:179:49: error: 'isl_space_dim' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:185:24: error: 'isl_space_free' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c: In function 'isl_map* extend_map(isl_map*, int)':
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:195:44: error: 'isl_space_dim' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:197:24: error: 'isl_space_free' was not declared in this scope
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c: In function 'bool carries_deps(isl_union_map*, isl_union_map*, int)':
/tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:272:56: error: 'isl_space_range' was not declared in this scope
Comment 1 Jonas Stein gentoo-dev 2018-08-18 12:57:30 UTC
Thank you for the report. Please recompile and *attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
The logs must be part of the ticket, but not on external websites.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 David Haller 2018-10-08 00:00:20 UTC
Created attachment 549758 [details, diff]
graphite.h just lacks a couple includes...