When "crossdev -t avr -s4" is run it sets "cross-avr/gcc" with "nocxx" USE flag. Therefore avr-g++ is not available. Reproducible: Always Steps to Reproduce: 1.crossdev -t avr -s4 2.check portage.use 3.cross-avr/gcc without "-nocxx" in the file Actual Results: stage4 avr build without c++ compiler Expected Results: stage4 avr build with c++ compiler "/usr/bin/avr-g++" This didn't happen to me 6months ago (i may have forgotten) but it appears to a recent regression (perhaps). This bug may also be the cause of avr-g++ not being available on my amd64 Gentoo box.
*** Bug 242836 has been marked as a duplicate of this bug. ***
Hiya Jon, Could you please provide a few more bits of information. The output of "emerge --info" is always helpful. Then the output of emerge -pv cross-avr/gcc (just to double check what USE flags are actually set and which aren't) and then the version of cross-avr/gcc you're trying to build. Thanks... 5:)
Hi Mike, sorry for the duplicate. I've noticed crossdev on my amd64 box is having the same issue. I crosscompiled i686 and i586 pc-linux-gnu and without putting "-nocxx" in make.conf the stage4 wouldn't actually happen. Anyways, that's a different bug i guess. emerge --info Portage 2.2_rc11 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.24-gentoo-r8-i686-Pentium_III_-Coppermine-with-glibc2.0 Timestamp of tree: Mon, 20 Oct 2008 14:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.virginmedia.com/ " LDFLAGS="" LINGUAS="en_GB en" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina /usr/portage/local/layman/xwing /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa apm avahi avi bash-completion berkdb bzip2 cli cracklib crypt cups dbus dio directfb dri exif fbcon fortran ftp gdbm glib hal htmlhandbook iconv ipv6 isdnlog joystick jpeg kdeenablefinal kerberos ldap lirc midi mmx mp3 mudflap ncurses nls nptl nptlonly nsplugin opengl openmp oss pam pcmcia pcre perl png pppd python qt3 qt4 readline reflection sdl session spl sse ssl svga tcpd theora tiff unicode utempter vorbis win32codecs x86 xcb xml xorg xpm xscreensaver xv zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2 directory" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" LIRC_DEVICES="devinput serial sir" USERLAND="GNU" VIDEO_CARDS="neomagic" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
genpad jon # emerge cross-avr/gcc -pv WARNING: repository at /usr/local/portage is missing a repo_name entry These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] cross-avr/gcc-4.1.2 USE="nls nocxx (-altivec) -bootstrap -build -d -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k -libffi -mudflap (-multilib) -multislot (-n32) (-n64) -objc -objc++ -objc-gc -test -vanilla" 0 kB [1] Total: 1 package (1 new), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage genpad jon #
*** This bug has been marked as a duplicate of bug 234239 ***