Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
Hi,
I think I screwed up :-( Sorry about post length, there's a lot of error output. (If I need to, I have a 2005.0 stage 3 with an old compiler. If this can't be easily fixed, I reckon I could mount/chroot/quickpkg gcc and install it on the host) While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare quickpkg I had of it. Now virtual/libstdc++ needs it and the build fails with the error: configure: error: can only configure for one host and one target at a time My system compiler is gcc-4.2.3: Installed versions: 4.2.3(4.2)(10:35:08 19/02/08)(doc gtk mudflap openmp -altivec -bootstrap -build -fortran -gcj -hardened -ip28 -ip32r10k -libffi -multilib -multislot -n32 -n64 -nls -nocxx -objc -objc++ -objc-gc -test -vanilla) USE for gcc-3.3.6-r1 looks like so: [ebuild NS ] sys-devel/gcc-3.3.6-r1 USE="doc (-altivec) -bootstrap -boundschecking -build -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32) (-n64) -nls -nocxx -nopie -nossp -objc -test -vanilla" 0 kB (trimmed) emerge --info: Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r3 i686) ================================================== =============== System uname: 2.6.24-gentoo-r3 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz Timestamp of tree: Tue, 25 Mar 2008 21:30:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.5.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/var/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="/mnt/distfiles http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en_US" MAKEOPTS="-j3" PKGDIR="/var/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/var/portage/local/layman/enlightenment /var/portage/local/layman/sunrise /var/portage/local/layman/mozilla /var/portage/local/alan" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi adns aiglx alsa apache2 audiofile bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups curl curlwrappers cvs dbus dga dri dts dv dvb dvd dvdr dvdread emboss encode exif expat fam ffmpeg firefox flac fontconfig foomaticdb ftp gd gdbm gif gimp glitz glut gnuplot gnutls gpm gtk gtkhtml hal hddtemp iconv icq id3tag ieee1394 imagemagick imap imlib ipod isdnlog jabber java javascript jbig jce jpeg jpeg2k kde keyring lcms ldap lesstif libc_glibc libcaca libg++ libnotify libsamplerate libsndfile libwww lm_sensors mad maildir matroska mbox mcal midi mikmod milter mime mmx mng motif mp3 mp4 mpeg mtp mudflap mysql mysqli ncurses netboot nfs nptl nsplugin odbc offensive ogg openal opengl openmp pam pango pcmcia pcre pdf perl php plotutils pmu png posix postgres ppds pppd profile python qt3 qt3support qt4 quicktime readline real reflection samba sasl scanner sdl session slp sms spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg sysvipc tcl tcltk tcpd tetex theora threads tiff tk truetype udev unicode usb utempter vcd vim-syntax vorbis wifi win32codecs wmf wxwindows x264 x86 xattr xcomposite xine xinerama xinetd xml xorg xosd xpm xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m" Error output: >>> Compiling source in /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6 ... * CFLAGS="-O2 -march=pentium4 -pipe" * CXXFLAGS="-O2 -march=pentium4 -pipe" * Configuring gcc ... * running gcc-compiler-configure * configuring for GCC_LANG: c,c++,treelang * PREFIX: /usr * BINPATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.6 * LIBPATH: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6 * DATAPATH: /usr/share/gcc-data/i686-pc-linux-gnu/3.3.6 * STDCXX_INCDIR: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3 * Configuring GCC with: --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo 3.3.6-r1 p1.5, ssp-3.3.6-1.0, pie-8.7.8 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo 3.3.6-r1 p1.5, ssp-3.3.6-1.0, pie-8.7.8 *** This configuration is not supported in the following subdirectories: target-libffi target-boehm-gc target-zlib target-libjava target-libf2c zlib fastjar target-libobjc (Any other directories should still work fine.) Created "Makefile" in /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build using "mt-frag" Configuring libiberty... configure: warning: p1.5,: invalid host type configure: error: can only configure for one host and one target at a time Configure in /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/libiberty failed, exiting. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list |
Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
Hi,
On Sunday 30 March 2008, Alan McKinnon wrote: > I think I screwed up :-( Sorry about post length, there's a lot of > error output. (If I need to, I have a 2005.0 stage 3 with an old > compiler. If this can't be easily fixed, I reckon I could > mount/chroot/quickpkg gcc and install it on the host) > > While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare > quickpkg I had of it. Now virtual/libstdc++ needs it and the build but do you really, really need it? virtual/libstdc++ depends on sys-libs/libstdc++-v3, sys-libs/libstdc++-v3-bin or gcc-3. you will need either one of those. I have installed on ~amd64 the combination virtual/libstdc++ with sys-libs/libstdc++-v3 and that works fine. Rudmer -- gentoo-user@lists.gentoo.org mailing list |
Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
On Sun, 30 Mar 2008 13:59:48 +0200, Alan McKinnon wrote:
> While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare > quickpkg I had of it. Now virtual/libstdc++ needs it and the build > fails with the error: It doesn't need gcc-3.3, but that it the default it tries to install if none of the providers of this are available. Install sys-libs/libstdc++-v3 instead and the virtual will be happy. I'm sure the devs have a good reason for not making sys-libs/libstdc++-v3 the default libstdc++ but /I'm not going to try to guess what it may be ;-) -- Neil Bothwick Sects, sects, sects, is that all you monks think about? |
Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
On Sunday 30 March 2008, Rudmer van Dijk wrote:
> Hi, > > On Sunday 30 March 2008, Alan McKinnon wrote: > > I think I screwed up :-( Sorry about post length, there's a lot > > of error output. (If I need to, I have a 2005.0 stage 3 with an old > > compiler. If this can't be easily fixed, I reckon I could > > mount/chroot/quickpkg gcc and install it on the host) > > > > While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare > > quickpkg I had of it. Now virtual/libstdc++ needs it and the build > > but do you really, really need it? > virtual/libstdc++ depends on sys-libs/libstdc++-v3, > sys-libs/libstdc++-v3-bin or gcc-3. you will need either one of > those. > > I have installed on ~amd64 the combination virtual/libstdc++ with > sys-libs/libstdc++-v3 and that works fine. ah, that makes sense. I'd actually never really researched what libstdc++ even does. If I can get away with -bin, that will be better than a complete new gcc Thanks! -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list |
Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
On Sunday 30 March 2008, Neil Bothwick wrote:
> I'm sure the devs have a good reason for not making > sys-libs/libstdc++-v3 the default libstdc++ but /I'm not going to try > to guess what it may be ;-) Me neither :-) Like I replied to Rudmer, now that I understand what the thing actually does, I can make a more sane decision that what I had. I suppose I'm not the only one here who has it proven to him at least once a day just how little he actually knows? ... :-) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list |
Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
Alan McKinnon wrote:
I suppose I'm not the only one here who has it proven to him at least once a day just how little he actually knows? ... :-) Nope you are not. ;-) Sometimes this happens to me more than once a day. o_O Dale :-) :-) :-) -- gentoo-user@lists.gentoo.org mailing list |
Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
On Sunday 30 March 2008, Dale wrote:
> Alan McKinnon wrote: > > I suppose I'm not the only one here who has it proven to him at > > least once a day just how little he actually knows? ... :-) > > Nope you are not. ;-) Sometimes this happens to me more than once > a day. o_O Dale, Somehow I just knew you'd be first to reply :-) Ironically, right now I'm preparing to deliver a Red Hat training course tomorrow. I *think* I know enough to pull it off now, I had lots of practise the last 30 times! -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list |
Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
On Sunday 30 March 2008, Alan McKinnon wrote:
> On Sunday 30 March 2008, Dale wrote: > > Alan McKinnon wrote: > > > I suppose I'm not the only one here who has it proven to him at > > > least once a day just how little he actually knows? ... :-) > > > > Nope you are not. ;-) Sometimes this happens to me more than > > once a day. o_O > > Dale, Somehow I just knew you'd be first to reply :-) > > Ironically, right now I'm preparing to deliver a Red Hat training > course tomorrow. I *think* I know enough to pull it off now, I had > lots of practise the last 30 times! I have been a professional Linux/UNIX system and network administrator for more years than I care to remember. Still, there are those moments when I do incredibly stupid things - while I am not bone tired, drunk or have fallen in love just then. Happens. Fortunately, not too often. I am with the two of you. ;-) Uwe -- Informal Linux Group Namibia: http://www.linux.org.na/ SysEx (Pty) Ltd.: http://www.SysEx.com.na/ -- gentoo-user@lists.gentoo.org mailing list |
Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
Uwe Thiem wrote:
On Sunday 30 March 2008, Alan McKinnon wrote: On Sunday 30 March 2008, Dale wrote: Alan McKinnon wrote: I suppose I'm not the only one here who has it proven to him at least once a day just how little he actually knows? ... :-) Nope you are not. ;-) Sometimes this happens to me more than once a day. o_O Dale, Somehow I just knew you'd be first to reply :-) Ironically, right now I'm preparing to deliver a Red Hat training course tomorrow. I *think* I know enough to pull it off now, I had lots of practise the last 30 times! I have been a professional Linux/UNIX system and network administrator for more years than I care to remember. Still, there are those moments when I do incredibly stupid things - while I am not bone tired, drunk or have fallen in love just then. Happens. Fortunately, not too often. I am with the two of you. ;-) Uwe What I hate is when I come here and ask a question then right after hitting the send button, I realize it was something stupid I did. Sort of makes me really think before I hit the send button now. LOL Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list |
Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
On Sun, 30 Mar 2008 16:24:47 +0200, Alan McKinnon wrote:
> I suppose I'm not the only one here who has it proven to him at least > once a day just how little he actually knows? ... :-) You're not, plenty of us are married :-) -- Neil Bothwick I understand the answers, the questions throw me. |
| All times are GMT. The time now is 01:53 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.