I noticed this while trying to emerge samba, several of the dependencies fail to emerge with the following linker message: g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o: No such file or directory g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o: No such file or directory g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o: No such file or directory g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o: No such file or directory gmake[1]: *** [libattr.la] Error 1 make: *** [default] Error 2 2 Example packages are sys-apps/attr and media-libs/jpeg doing: # CHOST="-i686-pc-linux-gnu" emerge <package> makes it work. P.S. i tried running fix_libtool_files.sh 3.3.4 and it made no difference. Reproducible: Always Steps to Reproduce: 1.emerge <package> 2. 3. Actual Results: Expected Results: ebuilds compile.. This is a from a fesh install and emerge --sync. Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r5 i686) ================================================================= System uname: 2.6.10-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://www.zentek-international.com/mirrors/gentoo/ http://mymirror.asiaosc.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="acl apm arts avi berkdb bitmap-fonts crypt cups encode f77 font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib innodb ipv6 jpeg kde kerberos ldap libclamav libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime quotas readline samba sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts vhosts x86 xml2 xmms xv zlib"
post a full log of the build
Created attachment 48886 [details] Build log of failed sys-apps/attr emerge I get the same result on two different fresh installs
Created attachment 48887 [details] Build log of failed media-libs/jpeg I get the same result on two fresh installs. (From 2004.3)
Dont know if this helps but doing all ebuild steps apart from compile works. And doing ./configure and make manually in the work dir works as well.
what does `gcc-config -l` and `gcc-config -c` show ? what about `cat /etc/env.d/gcc/config`
Created attachment 48893 [details] Output from gcc-config Outputs from gcc-config. Looks right to me..
and what does `env` look like ? what about `source /etc/profile ; env` ?
err, nm run fix_libtool_files.sh 3.3.4 *** This bug has been marked as a duplicate of 73435 ***
Created attachment 48897 [details] My env befor and after source /etc/profile My env before and after source /etc/profile which has already been done, these may be fresh installs but i aint a gentoo or linux noob. Also as stated in my initial report running fix_libtool_files.sh 3.3.4 does not help
Not a duplicate of 73435
what does `grep '3.3.4' /usr/lib/*.la` show ?
Nothing... :(.. the only reference ive found to 3.3.4 on these boxes is in /etc/make.profile/packages:>=sys-devel/gcc-3.3.4-r1 im not hooked up to an old profile am I .. hmm ?
nope my profile is /etc/make.profile -> /usr/portage/profiles/default-linux/x86/2004.3
your profile is fine
Re-emerging libtool should fix this.