Hmm, I just switched to Mandrake 9.0 and now I'm not able to compile Pike (I only added a "(%d)" to show a shift size in stralloc.c):
[ .. snip .. ] make[3]: Entering directory `/root/7.3-cvs-021030/build/std/post_modules/GTK' Makefile:279: warning: overriding commands for target `depend' Makefile:202: warning: ignoring old commands for target `depend' /root/7.3-cvs-021030/build/std/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/root/7.3-cvs-021030/build/std/master.pike /root/7.3-cvs-021030/src/post_modules/GTK/new_build_pgtk.pike --source='/root/7.3-cvs-021030/src/post_modules/GTK/source/'\ /root/7.3-cvs-021030/src/post_modules/GTK/output/few.pike /root/7.3-cvs-021030/src/stralloc.c:155: Fatal error: Illegal shift size (135208384)! Attempting to dump backlog (may fail)... make[3]: *** [compile1] Segmentation fault (core dumped) make[3]: Leaving directory `/root/7.3-cvs-021030/build/std/post_modules/GTK' make[2]: *** [GTK] Error 1 make[2]: Leaving directory `/root/7.3-cvs-021030/build/std/post_modules' make[1]: *** [post_module_objects] Error 1 make[1]: Leaving directory `/root/7.3-cvs-021030/build/std' make: *** [all] Error 2
And now backtraces from gdb:
[root@elrond std]# ./pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/root/7.3-cvs-021030/build/std/master.pike /root/7.3-cvs-021030/src/stralloc.c:155: Fatal error: Illegal shift size (135208384)! Attempting to dump backlog (may fail)... Segmentation fault (core dumped) [root@elrond std]# gdb ./pike GNU gdb 5.2.1-2mdk (Mandrake Linux) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-mandrake-linux-gnu"... (gdb) r -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/root/7.3-cvs-021030/build/std/master.pike Starting program: /root/7.3-cvs-021030/build/std/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/root/7.3-cvs-021030/build/std/master.pike /root/7.3-cvs-021030/src/stralloc.c:155: Fatal error: Illegal shift size (135208384)! Attempting to dump backlog (may fail)...
Program received signal SIGSEGV, Segmentation fault. 0x08067e84 in eval_instruction (pc=0x83225c4 "\x{0104}\020\x{0104} \b\203@\034\022\x{0104}") at /root/7.3-cvs-021030/src/interpret.c:871 871 return 0; (gdb) bt #0 0x08067e84 in eval_instruction (pc=0x83225c4 "\x{0104}\020\x{0104} \b\203@\034\022\x{0104}") at /root/7.3-cvs-021030/src/interpret.c:871 #1 0x08067ec1 in eval_instruction (pc=0x402133e0 "\006") at /root/7.3-cvs-021030/src/interpret.c:901 #2 0x0806b49d in opcode_F_BRANCH_WHEN_GE () at /root/7.3-cvs-021030/src/interpret_functions.h:1088 #3 0x0832269d in ?? () #4 0x08071550 in mega_apply (type=134643328, args=134643328, arg1=0x8067e80, arg2=0x8067e80) at /root/7.3-cvs-021030/src/interpret.c:1431 #5 0x080a32ce in debug_fatal (fmt=0x402d7000 "\x{0155}3!@ 3!@") at /root/7.3-cvs-021030/src/error.c:397 #6 0x080f32fb in index_shared_string () at /root/7.3-cvs-021030/src/stralloc.c:155 #7 0x08117ad2 in append_path_unix (s=0xbffff668, path= {ptr = 0x82a24cc "/root/7.3-cvs-021030/build/std/lib/modules/Getopt.pmod", shift = 0}, len=54) at /root/7.3-cvs-021030/src/combine_path.h:110 #8 0x08117c9e in f_combine_path_unix (args=2) at /root/7.3-cvs-021030/src/stralloc.h:89 #9 0x0806ed3b in opcode_F_CALL_BUILTIN_AND_RETURN (arg1=134643328) at /root/7.3-cvs-021030/src/interpret_functions.h:2061 #10 0x083187ea in ?? () #11 0x08071550 in mega_apply (type=134643328, args=134643328, arg1=0x8067e80, arg2=0x8067e80) at /root/7.3-cvs-021030/src/interpret.c:1431 #12 0x08072179 in apply (o=0x402d7000, fun=0x8067e80 "\x{0154}u\r1\x{0154}\211\x{011B}]\x{0102}\215´&", args=-72) at /root/7.3-cvs-021030/src/interpret.c:1734 #13 0x080c193d in main (argc=4, argv=0xbffff884) at /root/7.3-cvs-021030/src/main.c:726 #14 0x400b7082 in __libc_start_main () from /lib/i686/libc.so.6 (gdb)
pike-devel@lists.lysator.liu.se