Gentoo Archives: gentoo-alt

From: Ricky Egeland <ricky.egeland@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: emerge gcc 4.4.x/4.5.x fails on CentOS 5.5
Date: Fri, 13 May 2011 13:51:17
Message-Id: E0B6C131-D030-4BA5-AAEE-0A4BC94B6A28@gmail.com
In Reply to: [gentoo-alt] emerge gcc 4.4.x/4.5.x fails on CentOS 5.5 by Ricky Egeland
1 On May 12, 2011, at 12:29 PM, Ricky Egeland wrote:
2
3 > Trying gcc-4.5.2-r00.1 again now with USE=vanilla to confirm the workaround. Compiling...
4
5 This fails for a different reason. It seems that mpc.h was found, and then later on lost...
6
7 ===
8 * Package: sys-devel/gcc-4.5.2-r00.1
9 [ ... ]
10 checking for the correct version of mpc.h... yes
11 [ ... ]
12 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/build/./prev-gcc/xgcc -B/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5
13 .2-r00.1/work/build/./prev-gcc/ -B/home/egeland/gentoo-prefix/usr/x86_64-pc-linux-gnu/bin/ -B/home/egeland/gentoo-prefix/usr/x86_64-pc-linux-gnu/bin/ -B/home/eg
14 eland/gentoo-prefix/usr/x86_64-pc-linux-gnu/lib/ -isystem /home/egeland/gentoo-prefix/usr/x86_64-pc-linux-gnu/include -isystem /home/egeland/gentoo-prefix/usr/x
15 86_64-pc-linux-gnu/sys-include -c -O2 -pipe -gtoggle -DIN_GCC -W -Wall -Ww
16 rite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-form
17 at-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strin
18 gs -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I. -I/home/egeland
19 /gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/gcc -I/h
20 ome/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/gcc/. -I/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1
21 /work/gcc-4.5.2/gcc/../include -I/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/gcc/../libcpp/include -I/home/egeland/gen
22 too-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/gcc/../libdecnumber -I/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/
23 work/gcc-4.5.2/gcc/../libdecnumber/bid -I../libdecnumber \
24 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/wo
25 rk/gcc-4.5.2/gcc/c-opts.c -o c-opts.o In file included from /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-
26 4.5.2-r00.1/work/gcc-4.5.2/gcc/rtl.h:28:0, from /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-
27 4.5.2-r00.1/work/gcc-4.5.2/gcc/c-pragma.c:25:/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4
28 .5.2/gcc/real.h:28:17: fatal error: mpc.h: No such file or directory
29 4.5.2-r00.1/work/gcc-4.5.2/gcc/c-lex.c:27:0:
30 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/gcc/real.h:28:17: fatal error: mpc.h: No such file or directory
31 compilation terminated.
32 In file included from /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/gcc/rtl.h:28:0,
33 from /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/gcc/c-typeck.c:32:
34 /home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/gcc/real.h:28:17: fatal error: mpc.h: No such file or directory
35 compilation terminated.
36 make[3]: *** [c-lex.o] Error 1
37 make[3]: *** Waiting for unfinished jobs....
38 make[3]: *** [c-pragma.o] Error 1
39 make[3]: *** [c-typeck.o] Error 1
40 [...]
41 ===
42
43 ===
44 % emerge --info \=sys-devel/gcc-4.5.2-r00.1Portage 2.2.01.18252-prefix (prefix/linux/amd64, gcc-4.2.4, unavailable, 2.6.18-194.32.1.el5 x86_64)================================================================= System Settings=================================================================System uname: Linux-2.6.18-194.32.1.el5-x86_64-AMD_Phenom-tm-_II_X2_B55_Processor-with-redhat-5.5-FinalTimestamp of tree: Fri, 13 May 2011 13:09:51 +0000app-shells/bash: 4.2_p8
45 dev-lang/python: 2.7.1-r1sys-devel/autoconf: 2.68sys-devel/automake: 1.11.1sys-devel/binutils: 2.21.51.0.7sys-devel/gcc: 4.2.4-r01.2, 4.5.2-r00.1sys-devel/gcc-config: 1.4.1-r00.2sys-devel/libtool: 2.4-r1sys-devel/make: 3.82virtual/os-headers: 0Repositories: gentoo_prefixInstalled sets:ACCEPT_KEYWORDS="~amd64-linux"ACCEPT_LICENSE="* -@EULA"CBUILD="x86_64-pc-linux-gnu"CFLAGS="-O2 -pipe"CHOST="x86_64-pc-linux-gnu"CONFIG_PROTECT="/etc"CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/terminfo"CXXFLAGS="-O2 -pipe"
46 DISTDIR="/home/egeland/gentoo-prefix/usr/portage/distfiles"FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
47 FFLAGS=""
48 GENTOO_MIRRORS="http://distfiles.gentoo.org"
49 LANG="en_US.UTF-8"
50 LDFLAGS="-Wl,-O1"
51 MAKEOPTS="-j17"
52 PKGDIR="/home/egeland/gentoo-prefix/usr/portage/packages"PORTAGE_CONFIGROOT="/home/egeland/gentoo-prefix/"PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
53 PORTAGE_TMPDIR="/home/egeland/gentoo-prefix/var/tmp"
54 PORTDIR="/home/egeland/gentoo-prefix/usr/portage"
55 PORTDIR_OVERLAY=""
56 SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
57 USE="amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap ncurses nls nptl nptlonly openmp pcre perl pppd prefix python readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
58 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
59
60 =================================================================
61 Package Settings
62 =================================================================
63
64 sys-devel/gcc-4.5.2-r00.1 was built with the following:
65 USE="fortran mudflap nls nptl openmp (prefix) vanilla (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libffi) -lto (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -objc++ -objc-gc -test"