I'm compiling with x86_64-pc-linux-gnu-3.4.3 as root. Let me know what else you might need to troubleshoot. Output: /var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/crtstuff.c: In function `frame_dummy': /var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/crtstuff.c:316: warning: passing arg 1 of `__register_frame_info' discards qualifiers from pointer target type mkdir libgcc /bin/sh: line 1: ./genflags: Permission denied make[3]: *** [s-flags] Error 126 make[2]: *** [crtend.o] Error 2 make[2]: *** Waiting for unfinished jobs.... insn-flags.h is unchanged insn-config.h is unchanged insn-codes.h is unchanged insn-attr.h is unchanged insn-emit.c is unchanged insn-opinit.c is unchanged insn-peep.c is unchanged insn-output.c is unchanged /var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/config/i386/i386.md:13841: warning: source missing a mode? /var/tmp/portage/libstdc++-v3-3.3.4/work/gcc-3.3.4/gcc/config/i386/i386.md:13908: warning: source missing a mode? insn-recog.c is unchanged make[1]: *** [stmp-multilib] Error 2 make: *** [all-gcc] Error 2 Reproducible: Always Steps to Reproduce:
This works for me. You have the file system mounted as noexec or something like that?
Actually this is just a really old bug that has since been fixed a long time ago. I just forgot about it.