On Sunday, 2 September, 2018 20:32, John Found <johnfo...@asm32.info> wrote:
>On Sun, 02 Sep 2018 14:18:50 -0600 "Keith Medcalf" <kmedc...@dessus.com> wrote: >> This is a compiler issue and has nothing to do with SQLite3. >>Anything you compiled using that compiler would exhibit the same >>problems ... >Well, I was almost sure, but as long as here I can find people >understanding gcc and I am compiling sqlite after all, >considered a good place to ask. ;) >> However, that the compiler does not automatically use the correct >>alignment for the cpu architecture in use is puzzling, since this is >>something that one would normally expect to be correct by default. >>You did not say what Operating System or CPU you are using ... this >>is probably important information. As is likely the version of GCC >>(use gcc -v or musl-gcc -v to get the compiler's compile >>configuration). >The OS is 64bit Linux (Manjaro/Arch), the CPU is AMD A4-1200 >(supports almost all extensions), gcc version is 8.2.0; >BTW, compiling with -O1 sometimes produces working result (but pretty >slow) which only entagles the puzzle. 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) ... --- The fact that there's a Highway to Hell but only a Stairway to Heaven says a lot about anticipated traffic volume. > >-- >John Found <johnfo...@asm32.info> >_______________________________________________ >sqlite-users mailing list >sqlite-users@mailinglists.sqlite.org >http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users