On Sun, 02 Sep 2018 22:25:16 -0600 "Keith Medcalf" <kmedc...@dessus.com> wrote:
> Interesting ... Sounds like the optimizer in the compiler is broken ... > unless someone has ideas about how to debug this. Can you compile with no > optimization and SQLITE_DEBUG defined and see what happens? Though, to me it > sounds like the compiler and/or the optimizer is just broken (or perhaps the > replacement standard library is broken and does not return properly aligned > memory allocations) ... Well, the problem is solved. The crashes was caused because gcc compiled sqlite with requirement for stack alignment on 16 bytes, regardles of that it was compiled to 32bit code. On the other hand, my code aligns the stack on 4 bytes as an usual 32bit program. The option -mpreferred-stack-boundary=2 fixed the issue. -- John Found <johnfo...@asm32.info> _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users