Version set to 3.3 Release set to 3.3.5 Version number set to 3003005 checking for sh4-pc-linux-uclibc-gcc... (cached) sh4-pc-linux-uclibc-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether sh4-pc-linux-uclibc-gcc accepts -g... (cached) yes checking for sh4-pc-linux-uclibc-gcc option to accept ANSI C... (cached) none needed configure: error: unable to find a compiler for building build tools
Created attachment 97321 [details] configure log
Which version? Also, post emerge --info.
Created attachment 98201 [details] emerge --info output
See emerge --info output in a new attachment
You still didn't tell us which sqlite version. And, OMG remove the fPIC thing from your C[XX]FLAGS.
Created attachment 98203 [details] this is script to use emerge to crosscompile - an official way from gentoo embedded (guys from gentoo-embedded have recomended me it) version is dev-db/sqlite-3.3.5-r1, but i have tryed the masked one too (dev-db/sqlite-3.3.6) with the same result. PS: Why -fPIC is so horrible? I have copied as is, but i must confess to, that i do not know what it does.
I am convinced, that this is really a bug. But maybe the bug is in configure script, not in the ebuild or emerge.
(In reply to comment #6) > PS: Why -fPIC is so horrible? I have copied as is, but i must confess to, that > i do not know what it does. 1/ Some stuff needs -dPIC as well (assembler e.g.) 2/ It hides bugs 3/ If you hit an ebuild that fails with "recompile with -fPIC", file a bug. Don't add these flags yourself.
actually, i fixed this upstream already :) the sqlite had pretty busted cross-compile logic it isnt fixed in the latest release (3.3.13), but it should be in the next one