1 |
Hi, |
2 |
|
3 |
I think I screwed up :-( Sorry about post length, there's a lot of |
4 |
error output. (If I need to, I have a 2005.0 stage 3 with an old |
5 |
compiler. If this can't be easily fixed, I reckon I could |
6 |
mount/chroot/quickpkg gcc and install it on the host) |
7 |
|
8 |
While cleaning up my machine, I unmerged gcc-3.3.6-r1 and the spare |
9 |
quickpkg I had of it. Now virtual/libstdc++ needs it and the build |
10 |
fails with the error: |
11 |
|
12 |
configure: error: can only configure for one host and one target at a |
13 |
time |
14 |
|
15 |
|
16 |
My system compiler is gcc-4.2.3: |
17 |
Installed versions: 4.2.3(4.2)(10:35:08 19/02/08)(doc gtk mudflap |
18 |
openmp -altivec -bootstrap -build -fortran -gcj -hardened -ip28 -ip32r10k -libffi -multilib -multislot -n32 -n64 -nls -nocxx -objc -objc++ -objc-gc -test -vanilla) |
19 |
|
20 |
|
21 |
USE for gcc-3.3.6-r1 looks like so: |
22 |
[ebuild NS ] sys-devel/gcc-3.3.6-r1 USE="doc |
23 |
(-altivec) -bootstrap -boundschecking -build -fortran -gcj -gtk |
24 |
(-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32) |
25 |
(-n64) -nls -nocxx -nopie -nossp -objc -test -vanilla" 0 kB |
26 |
|
27 |
|
28 |
(trimmed) emerge --info: |
29 |
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, |
30 |
glibc-2.7-r2, 2.6.24-gentoo-r3 i686) |
31 |
================================================================= |
32 |
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ |
33 |
2.20GHz |
34 |
Timestamp of tree: Tue, 25 Mar 2008 21:30:01 +0000 |
35 |
app-shells/bash: 3.2_p33 |
36 |
dev-java/java-config: 1.3.7, 2.1.5 |
37 |
dev-lang/python: 2.5.1-r5 |
38 |
sys-apps/baselayout: 1.12.11.1 |
39 |
sys-apps/sandbox: 1.2.18.1-r2 |
40 |
sys-devel/autoconf: 2.13, 2.61-r1 |
41 |
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 |
42 |
sys-devel/binutils: 2.18-r1 |
43 |
sys-devel/gcc-config: 1.4.0-r4 |
44 |
sys-devel/libtool: 1.5.26 |
45 |
virtual/os-headers: 2.6.24 |
46 |
ACCEPT_KEYWORDS="x86 ~x86" |
47 |
CBUILD="i686-pc-linux-gnu" |
48 |
CFLAGS="-O2 -march=pentium4 -pipe" |
49 |
CHOST="i686-pc-linux-gnu" |
50 |
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" |
51 |
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" |
52 |
CXXFLAGS="-O2 -march=pentium4 -pipe" |
53 |
DISTDIR="/var/distfiles" |
54 |
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms |
55 |
strict unmerge-orphans userfetch userpriv usersandbox" |
56 |
GENTOO_MIRRORS="/mnt/distfiles http://distfiles.gentoo.org |
57 |
http://www.ibiblio.org/pub/Linux/distributions/gentoo" |
58 |
LANG="en_GB.UTF-8" |
59 |
LC_ALL="en_GB.UTF-8" |
60 |
LINGUAS="en_US" |
61 |
MAKEOPTS="-j3" |
62 |
PKGDIR="/var/packages" |
63 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" |
64 |
PORTAGE_TMPDIR="/var/tmp" |
65 |
PORTDIR="/var/portage" |
66 |
PORTDIR_OVERLAY="/var/portage/local/layman/enlightenment /var/portage/local/layman/sunrise /var/portage/local/layman/mozilla /var/portage/local/alan" |
67 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
68 |
USE="X a52 aac aalib acl acpi adns aiglx alsa apache2 audiofile |
69 |
bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib |
70 |
crypt css cups curl curlwrappers cvs dbus dga dri dts dv dvb dvd dvdr |
71 |
dvdread emboss encode exif expat fam ffmpeg firefox flac fontconfig |
72 |
foomaticdb ftp gd gdbm gif gimp glitz glut gnuplot gnutls gpm gtk |
73 |
gtkhtml hal hddtemp iconv icq id3tag ieee1394 imagemagick imap imlib |
74 |
ipod isdnlog jabber java javascript jbig jce jpeg jpeg2k kde keyring |
75 |
lcms ldap lesstif libc_glibc libcaca libg++ libnotify libsamplerate |
76 |
libsndfile libwww lm_sensors mad maildir matroska mbox mcal midi mikmod |
77 |
milter mime mmx mng motif mp3 mp4 mpeg mtp mudflap mysql mysqli ncurses |
78 |
netboot nfs nptl nsplugin odbc offensive ogg openal opengl openmp pam |
79 |
pango pcmcia pcre pdf perl php plotutils pmu png posix postgres ppds |
80 |
pppd profile python qt3 qt3support qt4 quicktime readline real |
81 |
reflection samba sasl scanner sdl session slp sms spell spl sqlite |
82 |
sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg sysvipc |
83 |
tcl tcltk tcpd tetex theora threads tiff tk truetype udev unicode usb |
84 |
utempter vcd vim-syntax vorbis wifi win32codecs wmf wxwindows x264 x86 |
85 |
xattr xcomposite xine xinerama xinetd xml xorg xosd xpm xulrunner xv |
86 |
xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m" |
87 |
|
88 |
|
89 |
Error output: |
90 |
>>> Compiling source |
91 |
in /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6 ... |
92 |
* CFLAGS="-O2 -march=pentium4 -pipe" |
93 |
* CXXFLAGS="-O2 -march=pentium4 -pipe" |
94 |
* Configuring gcc ... |
95 |
* running gcc-compiler-configure |
96 |
* configuring for GCC_LANG: c,c++,treelang |
97 |
|
98 |
* PREFIX: /usr |
99 |
* BINPATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.6 |
100 |
* LIBPATH: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6 |
101 |
* DATAPATH: /usr/share/gcc-data/i686-pc-linux-gnu/3.3.6 |
102 |
* |
103 |
STDCXX_INCDIR: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3 |
104 |
|
105 |
* Configuring GCC with: |
106 |
--prefix=/usr |
107 |
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6 |
108 |
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include |
109 |
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6 |
110 |
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man |
111 |
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info |
112 |
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3 |
113 |
--host=i686-pc-linux-gnu |
114 |
--build=i686-pc-linux-gnu |
115 |
--disable-altivec |
116 |
--disable-nls |
117 |
--with-system-zlib |
118 |
--disable-checking |
119 |
--disable-werror |
120 |
--enable-secureplt |
121 |
--disable-libunwind-exceptions |
122 |
--disable-multilib |
123 |
--disable-libgcj |
124 |
--with-arch=i686 |
125 |
--enable-languages=c,c++,treelang |
126 |
--enable-shared |
127 |
--enable-threads=posix |
128 |
--enable-__cxa_atexit |
129 |
--enable-clocale=gnu |
130 |
--with-bugurl=http://bugs.gentoo.org/ |
131 |
--with-pkgversion=Gentoo 3.3.6-r1 p1.5, ssp-3.3.6-1.0, pie-8.7.8 |
132 |
|
133 |
/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 |
134 |
3.3.6-r1 p1.5, ssp-3.3.6-1.0, pie-8.7.8 |
135 |
*** This configuration is not supported in the following subdirectories: |
136 |
target-libffi target-boehm-gc target-zlib target-libjava |
137 |
target-libf2c zlib fastjar target-libobjc |
138 |
(Any other directories should still work fine.) |
139 |
Created "Makefile" in /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build |
140 |
using "mt-frag" |
141 |
Configuring libiberty... |
142 |
configure: warning: p1.5,: invalid host type |
143 |
configure: error: can only configure for one host and one target at a |
144 |
time |
145 |
Configure |
146 |
in /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/libiberty failed, |
147 |
exiting. |
148 |
|
149 |
|
150 |
-- |
151 |
Alan McKinnon |
152 |
alan dot mckinnon at gmail dot com |
153 |
|
154 |
-- |
155 |
gentoo-user@l.g.o mailing list |