I just tried to compile 7.8.352 on a new core i7 box running OSX 10.6 using 32-bit abi and the build fails because the pike generated crashes somewhere in the machine code generation.
I compiled using the following command line:
make CONFIGUREARGS="--with-abi=32"
The backtrace looks like this:
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x0000004f 0x000c0227 in ia32_flush_instruction_cache (start=<value temporarily unavailable, due to optimizations>, len=55) at ia32.c:1047 1047 __asm__ __volatile__(".byte 0x0f\n" (gdb) bt #0 0x000c0227 in ia32_flush_instruction_cache (start=<value temporarily unavailable, due to optimizations>, len=55) at ia32.c:1047 #1 0x0012e61e in eval_low (n=0x838d78, print_error=1) at /Users/hww3/Downloads/Pike-v7.8.352/src/las.c:5241 #2 0x0000b48b in yyparse () at language.yacc:660 #3 0x000ee199 in f_compilation_compile (args=0) at /Users/hww3/Downloads/Pike-v7.8.352/src/program.c:8213 #4 0x0001697b in low_mega_apply (type=APPLY_LOW, args=0, arg1=0x831fb4, arg2=0x1) at apply_low.h:226 #5 0x000181cc in mega_apply (type=APPLY_LOW, args=0, arg1=0x831fb4, arg2=0x1) at /Users/hww3/Downloads/Pike-v7.8.352/src/interpret.c:2211 #6 0x000185b0 in apply (o=0x831fb4, fun=0x1ecfbf "compile", args=0) at /Users/hww3/Downloads/Pike-v7.8.352/src/interpret.c:2604 #7 0x000d939f in f_compilation_env_compile (args=1) at /Users/hww3/Downloads/Pike-v7.8.352/src/program.c:7828 #8 0x0001697b in low_mega_apply (type=APPLY_LOW, args=1, arg1=0x831fdc, arg2=0x1) at apply_low.h:226 #9 0x000181cc in mega_apply (type=APPLY_LOW, args=1, arg1=0x831fdc, arg2=0x1) at /Users/hww3/Downloads/Pike-v7.8.352/src/interpret.c:2211 #10 0x00145d5c in f_compile (args=1) at /Users/hww3/Downloads/Pike-v7.8.352/src/builtin_functions.c:4229 #11 0x000c83ae in get_master () at /Users/hww3/Downloads/Pike-v7.8.352/src/object.c:643 #12 0x000c85bb in debug_master () at /Users/hww3/Downloads/Pike-v7.8.352/src/object.c:689 #13 0x000b61cc in load_pike_master () at /Users/hww3/Downloads/Pike-v7.8.352/src/pike_embed.c:468 #14 0x000022e8 in main (argc=1, argv=0xbffff804) at /Users/hww3/Downloads/Pike-v7.8.352/src/main.c:629
Of course, things work fine using 64 bit ABIs, but I have a need to use some libraries that are 32 bit only, which of course makes everything more complicated. I'm going to assume that it's not something I've done wrong, but please do let me know if my assumption is incorrect :)
Thanks in advance,
Bill