x86_64-pc-linux-gnu-g++ -O2 -pipe -o gobby gobby-icon.o gobby-unix.o gobby-gselector.o gobby-ipc.o gobby-config.o gobby-common.o gobby-encoding.o gobby-regex.o gobby-application_state.o gobby-encoding_selector.o gobby-historyentry.o gobby-fileentry.o gobby-logview.o gobby-colorsel.o gobby-preferences.o gobby-toolwindow.o gobby-togglewindow.o gobby-header.o gobby-statusbar.o gobby-document.o gobby-buffer_def.o gobby-docwindow.o gobby-folder.o gobby-document_settings.o gobby-userlist.o gobby-documentlist.o gobby-chat.o gobby-preferencesdialog.o gobby-passworddialog.o gobby-hostdialog.o gobby-joindialog.o gobby-progressdialog.o gobby-joinprogressdialog.o gobby-hostprogressdialog.o gobby-entrydialog.o gobby-finddialog.o gobby-gotodialog.o gobby-dragdrop.o gobby-window.o gobby-main.o gobby-sourceview.o gobby-sourcebuffer.o gobby-sourcelanguage.o gobby-sourcelanguagesmanager.o -Wl,--export-dynamic -pthread -lxml++-2.6 -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lglibmm-2.4 -lgtksourceview-1.0 -lgtk-x11-2.0 -lgnomeprint-2-2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lart_lgpl_2 -lxml2 -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lobby -lnet6 -lgnutls -lgcrypt -lgpg-error -lsigc-2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: crti.o: No such file: No such file or directory I remember this error was with uclibc++ too on an other machine. Portage 2.1.2_pre1 (default-linux/amd64/2005.1, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.18-rc2 x86_64) ================================================================= System uname: 2.6.18-rc2 x86_64 AMD Opteron(tm) Processor 240 Gentoo Base System version 1.12.5 Last Sync: Tue, 19 Sep 2006 14:20:01 +0000 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-java/java-config: 1.3.6-r1, 2.0.28-r1 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs distlocks metadata-transfer sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="nl" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/ebuildexchange /usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="amd64 X a52 apache2 avi bitmap-fonts blas bzip2 cli crypt curl dlloader dri dts dv eds elibc_glibc emboss encode esd flac font-server foomaticdb fortran gif ginac graphviz gs gstreamer gtk2 hdf5 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lcms linguas_nl lzw lzw-tiff minimal mp3 mpeg ncurses network nls nptl nptlonly ogg opengl pam pcre pdflib pic png postgres pppd qhull qt4 quicktime readline reflection sdl session spell spl sqlite ssl tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts usb userland_GNU userlocales v4l video_cards_mach64 vorbis wmf xml2 xorg xpm xprint xv xvid yv12 zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Now I guess it al works if I move from gcc-4 to gcc-3, but is there just a way this can be fixed?
Now it seems to be the complete file is missing and I can't compile any thing anymore. :\ The stranges thing is, this ctri.o file is not on my other amd64 system. Even the old compiler doesn't work anymore because of this same linking error. configure:2418: $? = 0 configure:2425: x86_64-pc-linux-gnu-g++ -v >&5 Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.1 (Gentoo 4.1.1-r1) configure:2428: $? = 0 configure:2435: x86_64-pc-linux-gnu-g++ -V >&5 x86_64-pc-linux-gnu-g++: '-V' option must have argument configure:2438: $? = 1 configure:2461: checking for C++ compiler default output file name configure:2488: x86_64-pc-linux-gnu-g++ -O2 -pipe conftest.cpp >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: crti.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:2491: $? = 1
$ equery b /usr/lib/crti.o [ Searching for file(s) /usr/lib/crti.o in *... ] sys-libs/glibc-2.4-r3 (/usr/lib/crti.o) Looks like your glibc is broken.
Ok I got the hint on ICQ to run fix_libtools.sh oldgccversion. But I really wonder what can breaks this thing in the middle of a compilation :{ I have the complete portage logs... so I'm going to take a look.