I tried to build a cross toolchain for fbsd 7 with crossdev but the gcc stage2 does nothing thus I don't have g++. It seems to be due to the fact that crossdev doesn't use --newuse for this stage: # emerge -pvu cross-i686-gentoo-freebsd7.0/gcc These are the packages that would be merged, in order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 kB # emerge -pvNu cross-i686-gentoo-freebsd7.0/gcc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] cross-i686-gentoo-freebsd7.0/gcc-4.2.4 USE="doc fortran* (multilib) nls test (-altivec) -bootstrap -build -gcj -gtk -hardened -ip28 -ip32r10k -libffi -mudflap -multislot (-n32) (-n64) -nocxx* -objc -objc++ -objc-gc -openmp -vanilla" 0 kB [1] It seems that set_eopts_on_pkg_status ${GPKG} crosscompile_opts_bootstrap always sets EOPTS=${EOPTS_UP} because crosscompile_opts_bootstrap isn't in /var/db/pkg/cross-${CTARGET}/${pkg}-*/USE. Perhaps because it's in USE_EXPAND_HIDDEN ? I don't know. My workaround for now is to make it set EOPTS to EOPTS_DEF, though it seems far from optimal.
I experienced the same problem, and used the same workaround you did. IMO, the crossdev script should not add "-u" to the emerge options.
Had the same experience with # crossdev -t x86 on 2 x86_64 machines, in both cases the g++ and c++ and fortran compilers were not built. I tried a (purely a guess!) #crossdev --ex-gcc -t x86 this produced the missing bits on both machines. I am now cross compiling for my new acer one on my 2 x86_64 desktops.
*** Bug 237425 has been marked as a duplicate of this bug. ***
*** Bug 242832 has been marked as a duplicate of this bug. ***
After poking Zac about this, it seems adding crosscompile_opts_bootstrap to gcc IUSE should fix this. I have not tried it yet.
*** Bug 231665 has been marked as a duplicate of this bug. ***
hmm, i thought i was using --newuse already, but i guess for only post-stage4 should be fixed in crossdev-0.9.18-r10 now http://sources.gentoo.org/sys-devel/crossdev/files/crossdev?r1=1.107&r2=1.108
*** Bug 244823 has been marked as a duplicate of this bug. ***