Summary: | crossdev fails to build gcc stage2 with sysroot-ed binutils | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | REdOG <bugzilla> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | agrieco, avuton, david.w.noon, ekillips, gudule_retro, kelvie, manuel.lauss, nathan, Phyrstorm, rhill, Sebastian, solar, wilcox.michael, will.briggs, zamorate |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | gcc stage2 build log |
Description
REdOG
2006-03-14 09:05:18 UTC
Created attachment 82107 [details] gcc stage2 build log Exact same results on 2 different machines. * Host Portage ARCH: x86 * Target Portage ARCH: ppc * Target System: powerpc-creole-linux-gnu * Stage: 4 (C/C++ compiler) * binutils: binutils-[latest] * gcc: gcc-[latest] * headers: linux-headers-[latest] * libc: glibc-[latest] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/powerpc-creole-linux-gnu * PORTAGE_TMPDIR: /var/tmp/cross/powerpc-creole-linux-gnu _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - Gentoo Base System version 1.6.14 Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5-hardened, glibc-2.3.5-r2, 2.6.13-gentoo-r5-redpepper i686) ================================================================= System uname: 2.6.13-gentoo-r5-redpepper i686 Intel(R) Pentium(R) III CPU - S 1400MHz distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages/cross/powerpc-creole-linux-gnu" PORTAGE_TMPDIR="/var/tmp/cross/powerpc-creole-linux-gnu" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://redpepper/gentoo-portage" USE="x86 3dnow alsa apache2 apm avi berkdb bitmap-fonts bzip2 cgi chroot cli crypt cups dba dri eds emboss encode expat fam fbcon foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imagemagick im ap imlib jpeg kerberos ldap libg++ libwww mad maildir mailwrapper mikmod mmx motif mp3 mpeg mysql ncurses nls no-htdocs oav ogg oggvorbis opengl oss pam pcre pdflib pear perl php png python quic ktime readline samba sasl sdl session spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev vhosts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS oops: removing embedded, not uclibc related (In reply to comment #0) Same Problem here. crossdev --b 2.16.1 --g 3.4.5 --k 2.6.11-r2 --l 2.3.5-r2 -t i686-pc-linux-gnu on a amd64 gives: /usr/i686-pc-linux-gnu/bin/ld: cannot find /usr/i686-pc-linux-gnu/lib/libc.so.6 inside /usr/i686-pc-linux-gnu/binutils-bin/2.16.1/../../../i686-pc-linux-gnu though libc.so.6 is there. Yep. Same problem here independent of which gcc version specified. http://forums.gentoo.org/viewtopic-t-384664-highlight-.html Same problem here, on amd64 doing a crossdev -t i686-pc-linux-gnu. Good bye! (In reply to comment #3) Ok, here is a temporary fix for the problem: http://forums.gentoo.org/viewtopic-t-384664-highlight-.html#3189981 at least it helped me. There's an alternate workaround here: http://permalink.gmane.org/gmane.linux.gentoo.embedded/530 *** Bug 129070 has been marked as a duplicate of this bug. *** glibc-2.4-r2 should work correctly now i'll back port the fixes once they stabilize *** Bug 129445 has been marked as a duplicate of this bug. *** *** Bug 130429 has been marked as a duplicate of this bug. *** *** Bug 131765 has been marked as a duplicate of this bug. *** *** Bug 132195 has been marked as a duplicate of this bug. *** *** Bug 135391 has been marked as a duplicate of this bug. *** *** Bug 135767 has been marked as a duplicate of this bug. *** *** Bug 140313 has been marked as a duplicate of this bug. *** |