You receive this bug because this package does not respect my system's CC (x86_64-pc-linux-gnu-gcc) and calls directly /usr/bin/gcc(or similar) The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can; 2)inherit toolchain-funcs and use tc-export CC 3)inherit toolchain-funcs and use emake CC="$(tc-getCC)" From the build log: gcc -O2 -Wall -DLUA_ANSI -pedantic -Wall -W -D__EXTENSIONS__ -D_XPG6 -march=native -O2 -g0 -pipe -c -o lapi.o lapi.c
Created attachment 346574 [details] redis-2.6.9:20130425-085758.log build log
This is fixed in one of my test branches: https://github.com/jbergstroem/gentoo-overlay/compare/redis-2.6.12 This is actually a problem with lua rather than redis, but nevertheless a bug.
Fixed in redis-2.6.13.ebuild.