I am trying to crosscompile / rebuild packages using emerge-wrapper/crossdev, but it fails on gcc: # powerpc64-unknown-linux-gnu-emerge -e @world [...] /var/tmp/cross-powerpc64-unknown-linux-gnu/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/libstdc++-v3/src/atomic.cc: In function 'bool std::atomic_flag_test_and_set_explicit(std::__atomic_flag_base*, std::memory_order)': /var/tmp/cross-powerpc64-unknown-linux-gnu/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/libstdc++-v3/src/atomic.cc:83:62: error: invalid conversion from 'volatile std::__atomic2::atomic_flag*' to 'std::__atomic2::atomic_flag*' [-fpermissive] /var/tmp/cross-powerpc64-unknown-linux-gnu/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/libstdc++-v3/src/atomic.cc: In function 'void std::atomic_flag_clear_explicit(std::__atomic_flag_base*, std::memory_order)': /var/tmp/cross-powerpc64-unknown-linux-gnu/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/libstdc++-v3/src/atomic.cc:91:62: error: invalid conversion from 'volatile std::__atomic2::atomic_flag*' to 'std::__atomic2::atomic_flag*' [-fpermissive] Reproducible: Always ROOT=/usr/powerpc64-unknown-linux-gnu: Portage 2.2.0_alpha121 (default/linux/powerpc/ppc64/10.0/64bit-userland, gcc-4.6.3, glibc-2.15-r2, 2.6.18-308.11.1.el5 x86_64) ================================================================= System uname: Linux-2.6.18-308.11.1.el5-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2352-with-gentoo-2.1 Timestamp of tree: Mon, 20 Aug 2012 11:45:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo local sunrise ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -mcpu=cell -mabi=altivec" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-pipe -O2 -mcpu=cell -mabi=altivec" DISTDIR="/var/cache/portage/distfiles" EMERGE_DEFAULT_OPTS="--usepkg --binpkg-respect-use --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parallel-install parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-war n unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" PKGDIR="/usr/powerpc64-unknown-linux-gnu/packages/" PORTAGE_COMPRESS="xz" PORTAGE_CONFIGROOT="/usr/powerpc64-unknown-linux-gnu/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp/portage-powerpc64-unknown-linux-gnu" PORTDIR="/var/cache/portage/gentoo" PORTDIR_OVERLAY="/var/cache/portage/local /var/cache/portage/overlays/sunrise" [...] Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ROOT=/: Portage 2.2.0_alpha121 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 2.6. 18-308.11.1.el5 x86_64) ================================================================= System uname: Linux-2.6.18-308.11.1.el5-x86_64-Quad-Core_AMD_Opteron-tm-_Process or_2352-with-gentoo-2.1 Timestamp of tree: Wed, 22 Aug 2012 07:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo local sunrise ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=opteron-sse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo -release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-pipe -O2 -march=opteron-sse3" DISTDIR="/var/cache/portage/distfiles" EMERGE_DEFAULT_OPTS="--usepkg --binpkg-respect-use --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distloc ks ebuild-locks fixlafiles news parallel-fetch parallel-install parse-eapi-ebuil d-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-st ud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirro rs/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles .gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--hash-style=gnu" PKGDIR="/var/cache/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/ distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/cache/portage/gentoo" PORTDIR_OVERLAY="/var/cache/portage/local /var/cache/portage/overlays/sunrise" SYNC="rsync://gentoo.kynes.de:800/gentoo-portage" USE="acl amd64 berkdb bzip2 caps cli cracklib crypt cups cxx dri fortran gdbm gp m iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre pppd readline session sse sse2 ssl tcpd unicode zlib" ALSA_CARDS="ali5451 als4000 ati ixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm80 1 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 p lug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth n_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default au thz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav _fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter hea ders include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATU RES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="p tp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC=" glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gp sclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtc m104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mou se evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter -minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGE TS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neom agic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" X TABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geo ip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude c haos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAG E_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 321942 [details] build.log