FS#40851 - [gcc 4.9.0-4] Graphite loop optimizations unimplemented

Attached to Project: Arch Linux
Opened by jean noel (jean_no) - Sunday, 15 June 2014, 05:54 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 June 2014, 10:20 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since 4.9.0-4 version, Graphite loop optimizations cannot be used.

$ gcc -Q -O2 --help=optimizers
The following options control optimizations:
...
-fgraphite-identity [disabled]
...
-floop-block [disabled]
-floop-interchange [disabled]
-floop-nest-optimize [disabled]
-floop-parallelize-all [disabled]
-floop-strip-mine [disabled]
...

And compiling the git version of blender with these options, here is the error obtained:
...
-- Configuring done
-- Generating done
-- Build files have been written to: /build/blender-git/src/blender-build
Scanning dependencies of target datatoc
Scanning dependencies of target datatoc_icon
[ 0%] [ 0%] Building C object source/blender/datatoc/CMakeFiles/datatoc_icon.dir/datatoc_icon.c.o
Building C object source/blender/datatoc/CMakeFiles/datatoc.dir/datatoc.c.o
/build/blender-git/src/blender/source/blender/datatoc/datatoc.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot be used (-fgraphite, -fgraphite-identity, -floop-block, -floop-interchange, -floop-strip-mine, -floop-parallelize-all, and -ftree-loop-linear)
/*
^
/build/blender-git/src/blender/source/blender/datatoc/datatoc_icon.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot be used (-fgraphite, -fgraphite-identity, -floop-block, -floop-interchange, -floop-strip-mine, -floop-parallelize-all, and -ftree-loop-linear)
/*
^
source/blender/datatoc/CMakeFiles/datatoc.dir/build.make:54: recipe for target 'source/blender/datatoc/CMakeFiles/datatoc.dir/datatoc.c.o' failed
make[2]: *** [source/blender/datatoc/CMakeFiles/datatoc.dir/datatoc.c.o] Error 1
CMakeFiles/Makefile2:213: recipe for target 'source/blender/datatoc/CMakeFiles/datatoc.dir/all' failed
make[1]: *** [source/blender/datatoc/CMakeFiles/datatoc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
...


Additional info:
Arch: x86_64
Linux: 3.14.6-1
gcc 4.9.0-4
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 28 June 2014, 10:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  gcc-4.9.0-5
Comment by Allan McRae (Allan) - Sunday, 15 June 2014, 06:46 GMT
Graphite optimizations are not enabled with -O2, so the output of "gcc -Q -O2 --help=optimizers" is not of any use. Also blender-git from the AUR built fine here.

Are you using gcc or gcc-multilib?
Comment by Allan McRae (Allan) - Sunday, 15 June 2014, 11:19 GMT
I see gcc fails to detect isl-0.13. I will fix this.
Comment by jean noel (jean_no) - Sunday, 15 June 2014, 15:32 GMT
Sorry for the late reply, I used gcc.
The output of compiling blender-git was present for example. The error occurs when I add the options -floop-interchange -floop-strip-mine -floop-block"
Thank you for reading
Comment by Allan McRae (Allan) - Wednesday, 25 June 2014, 13:01 GMT
Should be fixed in gcc-4.9.0-5 in [testing]

Loading...