Logs are attached
Created attachment 496182 [details] Build log
Created attachment 496184 [details] emerge --info
You have USE="cpu_flags_x86_avx2" but CFLAGS="-O2 -pipe -march=core2" (the Core2 does not support AVX2).