Tobias, The most recent commits at svn revision 240868 have broken the Polly build on x86_64 on darwin... [ 57%] Building C object tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o /sw/src/fink.build/llvm37-3.7.0-100/llvm-3.7.0.src/tools/polly/lib/External/isl/isl_int_sioimath.c:1:10: fatal error: 'malloc.h' file not found #include <malloc.h> ^ 1 error generated. tools/polly/lib/CMakeFiles/Polly.dir/build.make:1457: recipe for target 'tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o' failed make[2]: *** [tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o] Error 1 CMakeFiles/Makefile2:8352: recipe for target 'tools/polly/lib/CMakeFiles/Polly.dir/all' failed make[1]: *** [tools/polly/lib/CMakeFiles/Polly.dir/all] Error 2 Makefile:136: recipe for target 'all' failed make: *** [all] Error 2 Jack
On 06/27/2015 03:39 AM, Jack Howarth wrote:> Tobias, > The most recent commits at svn revision 240868 have broken the > Polly build on x86_64 on darwin... > > [ 57%] Building C object > tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o > /sw/src/fink.build/llvm37-3.7.0-100/llvm-3.7.0.src/tools/polly/lib/External/isl/isl_int_sioimath.c:1:10: > fatal error: 'malloc.h' file not found > #include <malloc.h> > ^ > 1 error generated. > tools/polly/lib/CMakeFiles/Polly.dir/build.make:1457: recipe for > target 'tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o' > failed > make[2]: *** [tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o] > Error 1 > CMakeFiles/Makefile2:8352: recipe for target > 'tools/polly/lib/CMakeFiles/Polly.dir/all' failed > make[1]: *** [tools/polly/lib/CMakeFiles/Polly.dir/all] Error 2 > Makefile:136: recipe for target 'all' failed > make: *** [all] Error 2Hi Jack, thank you for the report. Could you quickly check if deleting this include lines fixes the compile error? Thank you Tobias
Tobias, I can confirm that deleting the... #include <malloc.h> from the top of lib/External/isl/isl_int_sioimath.c allows the polly cmake build to complete on x86_64 darwin. Jack On Sat, Jun 27, 2015 at 2:25 AM, Tobias Grosser <tobias at grosser.es> wrote:> On 06/27/2015 03:39 AM, Jack Howarth wrote: >> >> Tobias, >> The most recent commits at svn revision 240868 have broken the >> Polly build on x86_64 on darwin... >> >> [ 57%] Building C object >> tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o >> >> /sw/src/fink.build/llvm37-3.7.0-100/llvm-3.7.0.src/tools/polly/lib/External/isl/isl_int_sioimath.c:1:10: >> fatal error: 'malloc.h' file not found >> #include <malloc.h> >> ^ >> 1 error generated. >> tools/polly/lib/CMakeFiles/Polly.dir/build.make:1457: recipe for >> target >> 'tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o' >> failed >> make[2]: *** >> [tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o] >> Error 1 >> CMakeFiles/Makefile2:8352: recipe for target >> 'tools/polly/lib/CMakeFiles/Polly.dir/all' failed >> make[1]: *** [tools/polly/lib/CMakeFiles/Polly.dir/all] Error 2 >> Makefile:136: recipe for target 'all' failed >> make: *** [all] Error 2 > > > Hi Jack, > > thank you for the report. Could you quickly check if deleting this include > lines fixes the compile error? > > Thank you > Tobias