* [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3
@ 2008-03-30 11:59 99% Alan McKinnon
0 siblings, 0 replies; 1+ results
From: Alan McKinnon @ 2008-03-30 11:59 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-03-30 11:59 99% [gentoo-user] Cannot compile gcc-3.3.6-r1 using gcc-4.2.3 Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox