On Wed, 27 Apr 2005, Christian Smith wrote: >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) > > [snip trace] > >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.
Checkin 2455 (http://www.sqlite.org/cvstrac/chngview?cn=2455) appears to have fixed this issue as well with a 32->64bit cross built SPARC binary. > >Either way, I still think it's worth removing config.h from the build to >help with general cross building. Still think so. Has anyone tried the patch? Comments? Patch attached to ticket, and is public domain. > >Cheers, >Christian > > Ditto -- /"\ \ / ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL X - AGAINST MS ATTACHMENTS / \