gcc may be built with "--enable-targets=all" on x86_32 target to support "-m64" option, but no native way to set it. This feature introduced in gcc 2006-10-29. Now it implemented only for sparc+multilib. This is useful, for example, to build 64bit kernel from 32bit userspace without crossdev. Reproducible: Always Expected Results: "multitarget" useflag in toolchain.eclass for x86 to "--enable-targets=all" for suitable gcc's. Or another way to native use this option (I see no too serious reasons to not make it "always" on new gcc's exclude size of gcc code).
looks like ppc could benefit from this as well, and would obsolete the need for a dedicated kgcc64 package ... for the respective targets, it looks like support was added: ppc: gcc-3.4 sparc: gcc-4.4 x86: gcc-4.3
http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.509&r2=1.510
*** Bug 266564 has been marked as a duplicate of this bug. ***