On Tue, 26 Apr 2005, D. Richard Hipp wrote: >On Tue, 2005-04-26 at 17:49 +0100, Christian Smith wrote: >> Just created ticket #1224 to remove config.h from build, but there appears >> to be no way to attach a patch to the ticket itself. Have I missed >> something? >> > >There is an "[Attach]" hyperlink at the top of the screen.
Worst thing is I've attached things before to other tickets. D'oh. Patch is attached to ticket. I've done a Solaris 32-bit to Solaris 64-bit target build, and come out with a "working" sqlite3 binary, but as yet I've not run the regression tests due to lack of installed TCL libraries, but I have bumped into the alignment problem I seem to remember running into before. I've built with 32-bit gcc 3.3.2, using the -m64 flag to generate a 64-bit binary. The callback trace (debugging symbols don't appear to work with gdb or Sun Forte 6) main(0x2, 0xffffffff7ffff7e8, 0xffffffff7ffff800, 0x100185460, 0x100000000, 0x0) process_input(0xffffffff7fffedf0, 0x0, 0x10018ad70, 0x7efefeff, 0x81010100, 0xff0000) sqlite3_exec(0x100187e50, 0x100186c40, 0x100008808, 0xffffffff7fffedf0, 0xffffffff7fffecd0, 0xff00) sqlite3_step(0x1001ae070, 0x100186c40, 0xffffffffffffffff, 0xffffffff7fffebe8, 0xffffffff7fffebf0, 0x0) sqlite3VdbeExec(0x1001ae070, 0x0, 0xffffffffffffffff, 0xfffffffffffffff8, 0x0, 0x10018b131) sqlite3BtreeInsert(0x1001b1d80, 0x0, 0x66, 0x1001b19a0, 0x5, 0x1001b1958) balance(0x1001ad7b8, 0x1, 0x1001af9a0, 0x7, 0x0, 0x0) balance_deeper(0x1001ad7b8, 0x1001b19a5, 0x0, 0x0, 0x1, 0x1001af9a2) balance_nonroot(0x1001b0208, 0x2, 0x0, 0x0, 0x0, 0x1001b0220) Same trace as that 64-bit problem you worked on last October, check in #2026: http://www.sqlite.org/cvstrac/chngview?cn=2026 Do you have any other alignment/size assumptions, other than the ones fixed above? Or this could just be a bug in gcc perhaps? I can retry the build using the Sun compiler to generate the 64-bit binaries. Either way, I still think it's worth removing config.h from the build to help with general cross building. Cheers, Christian -- /"\ \ / ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL X - AGAINST MS ATTACHMENTS / \