hindsight does not compile anymore on ARM raspberry pi device
bbinet opened this issue · comments
I get the following compilation issue:
Scanning dependencies of target hindsight
[ 3%] Building C object src/CMakeFiles/hindsight.dir/hindsight.c.o
[ 7%] Building C object src/CMakeFiles/hindsight.dir/hs_analysis_plugins.c.o
[ 11%] Building C object src/CMakeFiles/hindsight.dir/hs_checkpoint_reader.c.o
[ 14%] Building C object src/CMakeFiles/hindsight.dir/hs_checkpoint_writer.c.o
[ 18%] Building C object src/CMakeFiles/hindsight.dir/hs_config.c.o
[ 22%] Building C object src/CMakeFiles/hindsight.dir/hs_input.c.o
[ 25%] Building C object src/CMakeFiles/hindsight.dir/hs_input_plugins.c.o
[ 29%] Building C object src/CMakeFiles/hindsight.dir/hs_logger.c.o
[ 33%] Building C object src/CMakeFiles/hindsight.dir/hs_output.c.o
[ 37%] Building C object src/CMakeFiles/hindsight.dir/hs_output_plugins.c.o
/root/hindsight/src/hs_output_plugins.c: In function 'update_checkpoint_callback':
/root/hindsight/src/hs_output_plugins.c:70:13: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
/root/hindsight/src/hs_output_plugins.c: In function 'output_message':
/root/hindsight/src/hs_output_plugins.c:236:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors
src/CMakeFiles/hindsight.dir/build.make:261: recipe for target 'src/CMakeFiles/hindsight.dir/hs_output_plugins.c.o' failed
make[2]: *** [src/CMakeFiles/hindsight.dir/hs_output_plugins.c.o] Error 1
CMakeFiles/Makefile2:947: recipe for target 'src/CMakeFiles/hindsight.dir/all' failed
make[1]: *** [src/CMakeFiles/hindsight.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
Closing: this has been fixed by #38