Trying to build a Pike with --with-long-long-int and --with-double-precision:
| /home/mirar/pike/build/linux-2.6.17-11-generic-x86_64/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/mirar/pike/build/linux-2.6.17-11-generic-x86_64/master.pike /home/mirar/pike/src/post_modules/Shuffler/make_sources.pike /home/mirar/pike/src/post_modules/Shuffler sources.h sources_to_compile | -:1: Type mismatch for callback function `!: | -:1: Expected: function( : int(2147483647..2147483647)) | -:1: Got : function( : int(0..1)) | -:1: Program constant "Iterator" is NULL. | make[2]: *** [override] Segmentation fault (core dumped)
I can't even begin to spot what's going wrong here.
Should I assume Pike 7.7 is so severly broken it's no use trying to get it to work?
Trying to build a Pike with --with-long-long-int and --with-double-precision:
| /home/mirar/pike/build/linux-2.6.17-11-generic-x86_64/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/mirar/pike/build/linux-2.6.17-11-generic-x86_64/master.pike /home/mirar/pike/src/post_modules/Shuffler/make_sources.pike /home/mirar/pike/src/post_modules/Shuffler sources.h sources_to_compile | -:1: Type mismatch for callback function `!: | -:1: Expected: function( : int(2147483647..2147483647)) | -:1: Got : function( : int(0..1)) | -:1: Program constant "Iterator" is NULL. | make[2]: *** [override] Segmentation fault (core dumped)
I can't even begin to spot what's going wrong here.
Looks like the support for PIKE_T_INT_UNTYPED in make_pike_type() got broken for the case where sizeof(INT_TYPE) > sizeof(INT32) when I reworte it yesterday. Fixed.
The SEGV was due to a bug in constants.c:add_global_program() that didn't support getting a NULL program. Also fixed.
pike-devel@lists.lysator.liu.se