See attachments
Created attachment 127783 [details] build.log
Created attachment 127784 [details] emerge --info
your cflags looks wrong in many ways... the issue seems that you have a register depletion, not sure if I could reproduce it (no x86 around here)
Yeah, I was playing around with CFLAGS, but I've filtered everything out and still get the same error
Looks like it compiles cleanly with 3.3.6
-mmmx -msse -msse2: implied by -march, redundant -falign-functions: implied by -O2, redundant -mfpmath=sse,387: unsupported, marked as experimental even with gcc-4.2 -fforce-addr: probably what's giving you trouble here, remove it and try again. Please, sanitize your C[XX]FLAGS before reporting bugs.
I get this error too, and have safe cflags. Attaching both emerge info and build.log.
Created attachment 128634 [details] emerge --info
Created attachment 128636 [details] build.log
I had similar problems and found that it works if I build gcc3 with USE=nopie. Add this to your /etc/portage/packages.use: =sys-devel/gcc-3* nopie (personally I have "nopie nocxx -gtk" set for gcc-3 because qemu is the only thing I need it for and it doesn't use c++)
Compile fails with i686-pc-linux-gnu-3.4.6 even if gcc is built with nopie USE flag. Compile succeeds with i686-pc-linux-gnu-3.3.6 built with nopie.
I haven't tested 0.9.0 with a 3 GCC, but maybe it is appropriate to change the notification in pkg_setup to a GCC 3.3*
can't reproduce it with sys-devel/gcc-3.4.6-r2. this looks like a regression in <gcc-4*, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22362 - so we have to wait until qemu builds with gcc-4.