Second pass of compilation of xmingw-gcc (needed to have g++) fails: checking for sin in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make: *** [configure-target-libstdc++-v3] Error 1 !!! ERROR: dev-util/xmingw-gcc-3.4.4 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile xmingw-gcc-3.4.4.ebuild, line 82: Called die emerge --info: Portage 2.1.1_pre4-r4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.4 Last Sync: Thu, 10 Aug 2006 04:50:01 +0000 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 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: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LC_ALL="fr_FR.UTF-8" LINGUAS="" MAKEOPTS="-j3" 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/portage" SYNC="rsync://192.168.1.10/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dlloader doc dri eds elibc_glibc emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux lzw lzw-tiff mp3 mpeg ncurses nptl nptlonly opengl pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session smp spell spl sse3 ssl tcpd tiff truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga xorg xpm xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > Second pass of compilation of xmingw-gcc (needed to have g++) fails: > > checking for sin in -lm... configure: error: Link tests are not allowed after > GCC_NO_EXECUTABLES. > make: *** [configure-target-libstdc++-v3] Error 1 > > !!! ERROR: dev-util/xmingw-gcc-3.4.4 failed. > Call stack: > ebuild.sh, line 1543: Called dyn_compile > ebuild.sh, line 938: Called src_compile > xmingw-gcc-3.4.4.ebuild, line 82: Called die > > > > emerge --info: > > Portage 2.1.1_pre4-r4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, > glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) > ================================================================= > System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor > 3800+ > Gentoo Base System version 1.12.4 > Last Sync: Thu, 10 Aug 2006 04:50:01 +0000 > app-admin/eselect-compiler: 2.0.0_rc2-r1 > dev-lang/python: 2.4.3-r1 > 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: 2.0.0_rc1 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.16 > ACCEPT_KEYWORDS="amd64 ~amd64" > AUTOCLEAN="yes" > CBUILD="x86_64-pc-linux-gnu" > CFLAGS="-march=athlon64 -O2 -pipe -msse3" > CHOST="x86_64-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config > /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" > CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf > /etc/revdep-rebuild /etc/terminfo" > CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch > sandbox sfperms strict" > GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ > ftp://mirror.ovh.net/gentoo-distfiles/ > http://ftp.snt.utwente.nl/pub/os/linux/gentoo > ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" > LC_ALL="fr_FR.UTF-8" > LINGUAS="" > MAKEOPTS="-j3" > 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/portage" > SYNC="rsync://192.168.1.10/gentoo-portage" > USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dlloader doc dri eds > elibc_glibc emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 > imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux > lzw lzw-tiff mp3 mpeg ncurses nptl nptlonly opengl pcre pdflib perl png pppd > python qt3 qt4 quicktime readline reflection sdl session smp spell spl sse3 ssl > tcpd tiff truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nv > video_cards_nvidia video_cards_vesa video_cards_vga xorg xpm xv zlib" > Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, > PORTAGE_RSYNC_EXTRA_OPTS > (In reply to comment #0) > Second pass of compilation of xmingw-gcc (needed to have g++) fails: > > checking for sin in -lm... configure: error: Link tests are not allowed after > GCC_NO_EXECUTABLES. > make: *** [configure-target-libstdc++-v3] Error 1 > > !!! ERROR: dev-util/xmingw-gcc-3.4.4 failed. > Call stack: > ebuild.sh, line 1543: Called dyn_compile > ebuild.sh, line 938: Called src_compile > xmingw-gcc-3.4.4.ebuild, line 82: Called die > > > > emerge --info: > > Portage 2.1.1_pre4-r4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, > glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) > ================================================================= > System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor > 3800+ > Gentoo Base System version 1.12.4 > Last Sync: Thu, 10 Aug 2006 04:50:01 +0000 > app-admin/eselect-compiler: 2.0.0_rc2-r1 > dev-lang/python: 2.4.3-r1 > 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: 2.0.0_rc1 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.16 > ACCEPT_KEYWORDS="amd64 ~amd64" > AUTOCLEAN="yes" > CBUILD="x86_64-pc-linux-gnu" > CFLAGS="-march=athlon64 -O2 -pipe -msse3" > CHOST="x86_64-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config > /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" > CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf > /etc/revdep-rebuild /etc/terminfo" > CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch > sandbox sfperms strict" > GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ > ftp://mirror.ovh.net/gentoo-distfiles/ > http://ftp.snt.utwente.nl/pub/os/linux/gentoo > ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" > LC_ALL="fr_FR.UTF-8" > LINGUAS="" > MAKEOPTS="-j3" > 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/portage" > SYNC="rsync://192.168.1.10/gentoo-portage" > USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dlloader doc dri eds > elibc_glibc emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 > imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux > lzw lzw-tiff mp3 mpeg ncurses nptl nptlonly opengl pcre pdflib perl png pppd > python qt3 qt4 quicktime readline reflection sdl session smp spell spl sse3 ssl > tcpd tiff truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nv > video_cards_nvidia video_cards_vesa video_cards_vga xorg xpm xv zlib" > Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, > PORTAGE_RSYNC_EXTRA_OPTS > If you ran ranlib manually before, try running script from http://bugs.gentoo.org/show_bug.cgi?id=140673 : i386-mingw32msvc-ar -s /opt/xmingw/lib/gcc/i386-mingw32msvc/3.4.4/libgcc.a for x in `ls /opt/xmingw/i386-mingw32msvc/lib/*.a`; do i386-mingw32msvc-ar -s $x done It helped me.
xming has been integrated into toolchain and the xmingw packages are being killed `emerge crossdev && crossdev mingw32`