sqlite is not compatible with for example -ffast-math: sqlite3.c:18431:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC. Therefor this flag should be filtered out. Note that the ebuild already sources the filter-o-matic eclass. Reproducible: Always Steps to Reproduce: 1. Set CFLAGS to include -ffast-math 2. emerge -1 =dev-db/sqlite-3.6.2 Actual Results: libtool: compile: i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -fomit-frame-pointer -falign-functions=32 -fweb -ffast-math -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_ALLOW_XTHREAD_CONNECT=1 -I/usr/include -DSQLITE_THREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c sqlite3.c -fPIC -DPIC -o .libs/sqlite3.o sqlite3.c: In function ‘sqlite3_soft_heap_limit’: sqlite3.c:15671: warning: ‘sqlite3_memory_alarm’ is deprecated (declared at sqlite3.c:4435) sqlite3.c:15673: warning: ‘sqlite3_memory_alarm’ is deprecated (declared at sqlite3.c:4435) sqlite3.c:18431:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC. sqlite3.c: In function ‘sqlite3Reprepare’: sqlite3.c:68059: warning: ‘sqlite3_transfer_bindings’ is deprecated (declared at sqlite3.c:45337) make: *** [sqlite3.lo] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: dev-db/sqlite-3.6.2 failed. Expected Results: >>> /usr/lib/libsqlite3.la >>> /usr/lib/libsqlite3.a >>> /usr/lib/libsqlite3.so.0.8.6 --- /usr/lib/sqlite3/ >>> /usr/lib/sqlite3/pkgIndex.tcl >>> /usr/lib/sqlite3/libtclsqlite3.so * sqlite-3.6.0 is not totally backwards compatible, see * http://www.sqlite.org/releaselog/3_6_0.html for full details. >>> Regenerating /etc/ld.so.cache... >>> dev-db/sqlite-3.6.2 merged.
Created attachment 165917 [details] Ebuild which filters -ffast-math Ebuild which filters -ffast-math
We cannot possibly patch all ebuilds for packages that you find do not support -ffast-math. Stop filing bugs for this type of problem, please - -ffast-math is not supported. *** This bug has been marked as a duplicate of bug 97799 ***