Trying to build a ppc64 cross-toolchain on amd64 arch using crossdev, it fails build cross gcc stage2. Reproducible: Always $ cat /var/log/portage/cross-powerpc64-unknown-linux-gnu-info.log ------------------------------------------------------------------------------------------------------------------------------- * crossdev version: 20110310 * Host Portage ARCH: amd64 * Target Portage ARCH: ppc64 * Target System: powerpc64-unknown-linux-gnu * Stage: 4 (C/C++ compiler) * ABIs: default * binutils: binutils-[latest] * gcc: gcc-[latest] * headers: linux-headers-[latest] * libc: glibc-[latest] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PORTAGE_CONFIGROOT: _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.3.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ABI="amd64" ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" ACCEPT_PROPERTIES="*" ALSA_CARDS="emu20k1" 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" ANDROID_SWT="/usr/share/swt-3.5/lib" ANT_HOME="/usr/share/ant" 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 cgi cgid 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" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" CAMERAS="ptp2" CBUILD="x86_64-pc-linux-gnu" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-march=core2 -mtune=generic -O2 -pipe -fomit-frame-pointer -fno-stack-protector" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" COLLISION_IGNORE="/lib/modules" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CVS_RSH="ssh" CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe -fomit-frame-pointer -fno-stack-protector" DEFAULT_ABI="amd64" DISPLAY=":0" DISTDIR="/usr/portage/distfiles" ELIBC="glibc" EMERGE_WARNING_DELAY="10" EPREFIX="" EROOT="/" FCFLAGS="" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"" FFLAGS="" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="http://ftp.kaist.ac.kr/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GSETTINGS_BACKEND="gconf" GUILE_LOAD_PATH="/usr/share/guile/1.8" HG="/usr/bin/hg" HOME="/root" INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.2/info" INPUT_DEVICES="evdev keyboard mouse" JAVACC_HOME="/usr/share/javacc/" KERNEL="linux" LANGUAGE="" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_CTYPE="ko_KR.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LDFLAGS_x86="-m elf_i386" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LIBBLURAY_CP="/usr/share/libbluray/lib/libbluray.jar" LIBDIR_amd64="lib64" LIBDIR_amd64_fbsd="lib64" LIBDIR_ppc="lib32" LIBDIR_ppc64="lib64" LIBDIR_sparc32="lib32" LIBDIR_sparc64="lib64" LIBDIR_x86="lib32" LIBDIR_x86_fbsd="lib32" LOGNAME="root" LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:" MAIL="/var/mail/root" MAKEOPTS="-j9" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.2/man:/etc/java-config/system-vm/man/:/usr/lib64/php5.3/man/:/usr/share/postgresql-8.4/man:/usr/share/postgresql-9.0/man:/opt/cuda/man" MULTILIB_ABIS="amd64 x86" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)" NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" NOCOLOR="true" OLDPWD="/home/otherplace/cell_related" OPENGL_PROFILE="nvidia" PATH="/lib64/rc/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/opt/ibm/systemsim-cell/bin:/usr/lib64/subversion/bin:/opt/eagle-5.9.0/bin" PHP_TARGETS="php5-3" PKGDIR="/var/repository/portage/x86_64" PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib64/portage/bin" PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="warn error log" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save syslog" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_PYM_PATH="/usr/lib64/portage/pym" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="-1" PORTAGE_SANDBOX_COMPAT_LEVEL="16" PORTAGE_SYNC_STALE="30" PORTAGE_TMPDIR="/var/tmp" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/cell /usr/local/layman/gentoo-kr /usr/local/layman/lisp /usr/local/layman/lu_zero /usr/local/portage /usr/local/layman/op-custom" PORT_LOGDIR="/var/log/portage" PRELINK_PATH_MASK="/usr/lib64/klibc:/opt/eagle-5.10.0:/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so" PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND" PWD="/" PYTHONDONTWRITEBYTECODE="1" RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"" ROOT="/" ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/spu-elf/gcc-bin/4.3.5:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2:/opt/ibm/systemsim-cell/bin:/usr/lib64/subversion/bin:/opt/eagle-5.10.0/bin:/opt/cuda/computeprof/bin:/opt/cuda/bin" RPMDIR="/usr/portage/rpm" RUBY_TARGETS="ruby18" SHELL="/bin/bash" SHLVL="1" STAGE1_USE="multilib nptl nptlonly unicode" SUDO_COMMAND="/usr/bin/crossdev -t ppc64" SUDO_GID="100" SUDO_UID="1000" SUDO_USER="otherplace" SVN_HOTBACKUP_NUM_BACKUPS="2" SYMLINK_LIB="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage/" TERM="xterm" TEXINPUTS="/usr/lib64/ocaml/ocamldoc:" USER="root" USERLAND="GNU" USERNAME="root" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VIDEO_CARDS="nv nvidia" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share" XIM_PROGRAM="/usr/bin/nabi" XMODIFIERS="@im=nabi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" XZ_OPT="--memory=max" _="/usr/bin/emerge" Portage 2.1.9.43 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.37-gentoo x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_K_875_@_2.93GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 17 Mar 2011 09:00:01 +0000 USE="3dnow X a52 aac aalib acl acpi alsa amd64 ansi ao apache2 apm audiofile avahi bash-completion branding bzip2 cairo caps cli cracklib crypt cscope cups curl cvs cxx dbus dga djvu dri dts dv dvd dvdr dvdread encode enscript exif expat fam ffmpeg firefox flac fontconfig fortran gdb gdbm gif gimp glibc-omitfp gmp gnuplot gnutls gpm gprof graphviz gtk hal hardened iconv imagemagick ipv6 java java6 jbig jpeg jpeg2k kde kerberos lame latex lcms ldap libsamplate libsamplerate lm_sensors lzo mad mailwrapper mime mmap mmx mmxext mng modules mp3 mpeg mpi mudflap multilib multislot musepack musicbrainz muspack mysql nas ncurses nls nptl nptlonly nsplugin odbc ogg openal openexr opengl openmp oss pam pcre pdf perl plasma plotutils png policykit posix pppd python qt3 qt3support qt4 quicktime raw rdesktop readline rss rtc ruby samba semantic-desktop session sndfile spell sse sse2 sse3 ssl ssse3 subversion sysfs sysvipc tcl tcpd theora tiff tk truetype unicode usb vcd vhosts vim-pager vim-syntax vorbis wmf x264 xattr xcb xcomposite xft xinerama xinetd xml xmlreader xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="emu20k1" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Created attachment 266257 [details] /var/log/portage/cross-powerpc64-unknown-linux-gnu-gcc-stage2.log Here is cross gcc stage2 emerge log.
reproduce step 1. crossdev -t ppc64
(In reply to comment #2) > reproduce step > > 1. crossdev -t ppc64 < - - - - - > $ crossdev --help [...] Target (-t) takes a tuple ARCH-VENDOR-OS-LIBC; see 'crossdev -t help' < - - - - - > What if you tried that instead?
`crossdev ppc64` is fine ... crossdev itself takes care of converting from that invalid tuple to a valid one. * Target System: powerpc64-unknown-linux-gnu post the full build log as an attachment from emerging glibc. it should have installed both ABIs including this stubs header.
Sorry to late. I recently updated my gentoo machine, including kernel.(gentoo-source-2.6.37-r2 -> gentoo-source-2.6.38) and retry to build ppc64 toolchain. but, crossdev fails with following error. # cat /var/log/portage/cross-powerpc64-unknown-linux-gnu-glibc.log Calculating dependencies ... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2 from unknown repo bash: /usr/portage/distfiles/.__portage_test_write__: Permission denied * glibc-2.13.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * glibc-ports-2.13.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * glibc-2.13-patches-4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2 * Maintainer: toolchain@gentoo.org * USE: amd64 elibc_glibc glibc-omitfp hardened kernel_linux multilib nls userland_GNU * FEATURES: sandbox * PIE hardening not applied, as your compiler doesn't default to PIE >>> Unpacking source... * Checking gcc for __thread support ... [ ok ] * Checking linux-headers version (2.6.38 >= 2.6.9) ... [ ok ] >>> Unpacking glibc-2.13.tar.bz2 to /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work >>> Unpacking glibc-ports-2.13.tar.bz2 to /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work/glibc-2.13 >>> Unpacking glibc-2.13-patches-4.tar.bz2 to /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work * Applying Gentoo Glibc Patchset 2.13-4 ... * 0020_all_glibc-tweak-rfc1918-lookup.patch ... [ ok ] * 0030_all_glibc-respect-env-CPPFLAGS.patch ... [ ok ] * 0050_all_glibc-2.13-ldso-prelink-segv.patch ... [ ok ] * 0055_all_glibc-2.12-static-shared-getpagesize.patch ... [ ok ] * 0060_all_glibc-2.13-static-memmove-ssse3.patch ... [ ok ] * 0061_all_glibc-2.13-static-memset.patch ... [ ok ] * 0085_all_glibc-disable-ldconfig.patch ... [ ok ] * 1005_all_glibc-sigaction.patch ... [ ok ] * 1010_all_glibc-queue-header-updates.patch ... [ ok ] * 1020_all_glibc-longjmp-chk-hidden-fortify.patch ... [ ok ] * 1030_all_glibc-manual-no-perl.patch ... [ ok ] * 1040_all_2.3.3-localedef-fix-trampoline.patch ... [ ok ] * 1055_all_glibc-resolv-dynamic.patch ... [ ok ] * 1060_all_glibc-localedef-mmap.patch ... [ ok ] * 1070_all_glibc-fadvise64_64.patch ... [ ok ] * 1075_all_glibc-section-comments.patch ... [ ok ] * 1080_all_glibc-no-inline-gmon.patch ... [ ok ] * 1085_all_glibc-2.9-check_native-headers.patch ... [ ok ] * 1090_all_glibc-2.3.6-fix-pr631.patch ... [ ok ] * 1095_all_glibc-2.9-assume-pipe2.patch ... [ ok ] * 1100_all_glibc-2.3.3-china.patch ... [ ok ] * 1103_all_glibc-new-valencian-locale.patch ... [ ok ] * 1120_all_glibc-2.11-longjmp-chk-fallback.patch ... [ ok ] * 1130_all_glibc-2.4-undefine-__i686.patch ... [ ok ] * 1160_all_glibc-2.8-nscd-one-fork.patch ... [ ok ] * 1502_all_hppa-glibc-2.13-F_GET-SETPIPE_SZ.patch ... [ ok ] * 1509_all_glibc-2.11-hppa-SOCK_CLOEXEC.patch ... [ ok ] * 1530_all_glibc-m68k-sys-user.patch ... [ ok ] * 3000_all_2.3.6-dl_execstack-PaX-support.patch ... [ ok ] * 3010_all_2.3.3_pre20040117-pt_pax.patch ... [ ok ] * 3020_all_glibc-tests-sandbox-libdl-paths.patch ... [ ok ] * 5063_all_glibc-dont-build-timezone.patch ... [ ok ] * 6018_all_alpha-glibc-2.8-cache-shape.patch ... [ ok ] * 6020_all_alpha-fix-gcc-4.1-warnings.patch ... [ ok ] * 6026_all_alpha-fix-rtld-fPIC.patch ... [ ok ] * 6027_all_alpha-glibc-2.13-F_GET-SETPIPE_SZ.patch ... [ ok ] * 6028_all_alpha-glibc-2.13-statfs.f_flags.patch ... [ ok ] * 6029_all_alpha-glibc-2.13-DEFAULT_STACK_PERMS.patch ... [ ok ] * 6030_all_alpha-glibc-2.13-hidden-libm.patch ... [ ok ] * 6031_all_alpha-glibc-2.12-epoll_create1.patch ... [ ok ] * 6032_all_alpha-syscall-6.patch ... [ ok ] * 6120_all_ppc-glibc-2.9-atomic.patch ... [ ok ] * 6130_all_ppc-glibc-2.11-cell-vector.patch ... [ ok ] * 6220_all_glibc-2.4-arm-cirrus-ep93xx-maverick-crunch-fpu.patch ... [ ok ] * 6230_all_arm-glibc-hardened.patch ... [ ok ] * 6240_all_glibc-2.8-nptl-lowlevellock.patch ... [ ok ] * 6532_all_sparc64-tls-cross-test.patch ... [ ok ] * 6605_all_glibc-2.4-fpu-cw-mips.patch ... [ ok ] * Done with patching * Using GNU config files from /usr/share/gnuconfig * Updating scripts/config.sub [ ok ] * Updating scripts/config.guess [ ok ] * Patching to get working PIE binaries on PIE (hardened) platforms * Applying glibc-2.10-hardened-configure-picdefault.patch ... [ ok ] * Applying glibc-2.10-hardened-inittls-nosysenter.patch ... [ ok ] * Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler >>> Source unpacked in /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work >>> Compiling source in /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work/glibc-2.13 ... * ABI: default * CBUILD: x86_64-pc-linux-gnu * CHOST: x86_64-pc-linux-gnu * CTARGET: powerpc64-unknown-linux-gnu * CBUILD_OPT: * CTARGET_OPT: * CC: x86_64-pc-linux-gnu-gcc * CFLAGS: -pipe -fno-stack-protector -O2 -fno-strict-aliasing * Manual CC: x86_64-pc-linux-gnu-gcc * Configuring GLIBC for nptl /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work/glibc-2.13/configure --enable-stackguard-randomization --enable-old-ssp-compat --enable-omitfp --enable-add-ons=nptl,c_stubs,libidn,ports --enable-kernel=2.6.9 --without-selinux --without-cvs --enable-bind-now --build=x86_64-pc-linux-gnu --host=powerpc64-unknown-linux-gnu --disable-profile --without-gd --with-headers=/usr/powerpc64-unknown-linux-gnu/usr/include --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc --disable-multi-arch configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc64-unknown-linux-gnu checking for powerpc64-unknown-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for gcc... gcc checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for powerpc64-unknown-linux-gnu-g++... no checking for powerpc64-unknown-linux-gnu-c++... no checking for powerpc64-unknown-linux-gnu-gpp... no checking for powerpc64-unknown-linux-gnu-aCC... no checking for powerpc64-unknown-linux-gnu-CC... no checking for powerpc64-unknown-linux-gnu-cxx... no checking for powerpc64-unknown-linux-gnu-cc++... no checking for powerpc64-unknown-linux-gnu-cl.exe... no checking for powerpc64-unknown-linux-gnu-FCC... no checking for powerpc64-unknown-linux-gnu-KCC... no checking for powerpc64-unknown-linux-gnu-RCC... no checking for powerpc64-unknown-linux-gnu-xlC_r... no checking for powerpc64-unknown-linux-gnu-xlC... no checking for g++... g++ configure: WARNING: using cross tools not prefixed with host triplet checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes configure: running configure fragment for add-on nptl configure: running configure fragment for add-on c_stubs configure: running configure fragment for add-on libidn checking add-on ports for preconfigure fragments... alpha am33 arm hppa m68k mips checking for assembler gnu_indirect_function symbol type support... yes checking whether .text pseudo-op must be used... yes checking for assembler global-symbol directive... .globl checking for assembler .type directive prefix... @ checking sysdep dirs... sysdeps/powerpc/powerpc64/elf sysdeps/powerpc/elf sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu sysdeps/powerpc/powerpc64/fpu nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64 sysdeps/unix/sysv/linux/powerpc/powerpc64 sysdeps/unix/sysv/linux/wordsize-64 nptl/sysdeps/unix/sysv/linux/powerpc ports/sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux/powerpc sysdeps/ieee754/ldbl-128ibm sysdeps/ieee754/ldbl-opt nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/powerpc nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/powerpc/powerpc64 sysdeps/wordsize-64 sysdeps/powerpc/fpu nptl/sysdeps/powerpc ports/sysdeps/powerpc sysdeps/powerpc sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/as is GNU as... yes checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld is GNU ld... yes checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/as... /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/as checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/as... 2.21, ok checking for /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld... 2.21, ok checking for pwd... /bin/pwd checking for powerpc64-unknown-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking version of x86_64-pc-linux-gnu-gcc ... 4.5.2, ok checking for gnumake... no checking for gmake... gmake checking version of gmake... 3.81, ok checking for gnumsgfmt... no checking for gmsgfmt... gmsgfmt checking version of gmsgfmt... 0.18.1, ok checking for makeinfo... makeinfo checking version of makeinfo... 4.13, ok checking for sed... sed checking version of sed... 4.2.1, ok checking for autoconf... autoconf checking whether autoconf works... yes checking whether ranlib is necessary... no checking LD_LIBRARY_PATH variable... ok checking whether GCC supports -static-libgcc... -static-libgcc checking for bash... /bin/bash checking for gawk... gawk checking for perl... /usr/bin/perl checking for install-info... /usr/bin/install-info checking for bison... /usr/bin/bison checking for signed size_t type... no checking for libc-friendly stddef.h... yes checking whether we need to use -P to assemble .S files... no checking for .set assembler directive... yes checking for assembler gnu_unique_object symbol type... yes checking for .symver assembler directive... yes checking for ld --version-script... yes checking for .previous assembler directive... yes checking for .protected and .hidden assembler directive... yes checking whether __attribute__((visibility())) is supported... yes checking for broken __attribute__((visibility()))... no checking for broken __attribute__((alias()))... no checking whether to put _rtld_local into .sdata section... no checking for .preinit_array/.init_array/.fini_array support... yes checking for libunwind-support in compiler... no checking for -z nodelete option... yes checking for -z nodlopen option... yes checking for -z initfirst option... yes checking for -z relro option... yes checking for -Bgroup option... yes checking for libgcc_s suffix... checking for --as-needed option... yes checking whether --noexecstack is desirable for .S files... yes checking for -z combreloc... yes checking for -z execstack... yes checking for -fpie... yes checking for --hash-style option... yes checking for -fno-toplevel-reorder -fno-section-anchors... yes checking for -fstack-protector... yes checking for -fgnu89-inline... yes checking whether cc puts quotes around section names... no checking for assembler .weak directive... yes checking whether CFI directives are supported... yes checking for ld --no-whole-archive... yes checking for gcc -fexceptions... yes checking for __builtin_expect... yes checking for __builtin_memset... yes checking for redirection of built-in functions... yes checking for __thread... yes checking for tls_model attribute... yes checking for libgd... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of long double... 16 running configure fragment for sysdeps/powerpc/powerpc64/elf checking for powerpc64 TLS support... no running configure fragment for sysdeps/unix/sysv/linux/powerpc checking whether x86_64-pc-linux-gnu-gcc -pipe -fno-stack-protector -O2 -fno-strict-aliasing -mlong-double-128 uses IBM extended format... no checking whether x86_64-pc-linux-gnu-gcc -pipe -fno-stack-protector -O2 -fno-strict-aliasing supports -mabi=ibmlongdouble... no configure: error: this configuration requires -mlong-double-128 IBM extended format support * ERROR: cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2 failed (compile phase): * failed to configure glibc * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3689: Called eblit-run 'src_compile' * environment, line 1115: Called eblit-glibc-src_compile * src_compile.eblit, line 204: Called src_compile * environment, line 3689: Called eblit-run 'src_compile' * environment, line 1115: Called eblit-glibc-src_compile * src_compile.eblit, line 212: Called toolchain-glibc_src_compile * src_compile.eblit, line 123: Called glibc_do_configure 'nptl' * src_compile.eblit, line 99: Called die * The specific snippet of code: * "${S}"/configure ${myconf} || die "failed to configure glibc" * * If you need support, post the output of 'emerge --info =cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2', * the complete build log and the output of 'emerge -pqv =cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2'. * This ebuild is from an overlay: '/usr/local/portage/' * The complete build log is located at '/var/log/portage/cross-powerpc64-unknown-linux-gnu:glibc-2.13-r2:20110320-145510.log'. * The ebuild environment file is located at '/var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/temp/environment'. * S: '/var/tmp/portage/cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2/work/glibc-2.13' >>> Failed to emerge cross-powerpc64-unknown-linux-gnu/glibc-2.13-r2, Log file: >>> '/var/log/portage/cross-powerpc64-unknown-linux-gnu:glibc-2.13-r2:20110320-145510.log'
Created attachment 266617 [details] cross-powerpc64-unknown-linux-gnu-info.log Here is cross-powerpc64-unknown-linux-gnu-info.log
Created attachment 266619 [details] /var/log/portage/cross-powerpc64-unknown-linux-gnu-binutils.log
Created attachment 266621 [details] /var/log/portage/cross-powerpc64-unknown-linux-gnu-glibc-headers.log
Created attachment 266623 [details] /var/log/portage/cross-powerpc64-unknown-linux-gnu-glibc.log
should I duplicate this issue?
Comment on attachment 266623 [details] /var/log/portage/cross-powerpc64-unknown-linux-gnu-glibc.log this is a different bug from what you reported originally. it's fixed in cvs now at any rate. http://sources.gentoo.org/sys-libs/glibc/files/eblits/common.eblit?r1=1.22&r2=1.21
post logs for the original failure
Created attachment 267237 [details] cross-powerpc64-unknown-linux-gnu-info.log
Created attachment 267239 [details] cross-powerpc64-unknown-linux-gnu-binutils.log
Created attachment 267241 [details] cross-powerpc64-unknown-linux-gnu-linux-headers-quick.log
Created attachment 267245 [details] cross-powerpc64-unknown-linux-gnu-glibc-headers.log
Created attachment 267249 [details] cross-powerpc64-unknown-linux-gnu-gcc-stage1.log.tar.gz
Created attachment 267251 [details] cross-powerpc64-unknown-linux-gnu-linux-headers.log
Created attachment 267253 [details] cross-powerpc64-unknown-linux-gnu-glibc.log.tar.gz
Created attachment 267255 [details] cross-powerpc64-unknown-linux-gnu-gcc-stage2.log
Here is full logs.
probably fixed with http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=4f548341b7083a2fc0726e9866323d30965206ac
I just emerging crossdev-9999 and build ppc64 cross-toolchain again. It works. Thanks SpanKY.