After updating gcc from 4.3.4 to 4.4.1 I finished my world -e and am now going through the problems. Searchandrescue remerges fine with gcc-4.3.4 but it fails when using gcc-4.4.1. Everything else is on the status of ~amd64 from about two days ago. Reproducible: Always Steps to Reproduce: 1. Set gcc to 4.3.4 and emerge searchandrescue - it works 2. Set gcc to 4.3.4 and emerge searchandrescue - it fails Actual Results: Compiling module disk.o In file included from disk.cpp:34: ../include/string.h:46: error: new declaration ‘char* strcasestr(const char*, const char*)’ /usr/include/string.h:367: error: ambiguates old declaration ‘const char* strcasestr(const char*, const char*)’ disk.cpp: In function ‘char* PrefixPaths(const char*, const char*)’: disk.cpp:1014: warning: deprecated conversion from string constant to ‘char*’ make[1]: *** [disk.o] Error 1 make: *** [all] Error 2 * * ERROR: games-simulation/searchandrescue-0.8.2-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2628: Called die * The specific snippet of code: * emake -j1 || die "emake failed" * The die message: * emake failed Expected Results: Install it emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.0.1 Timestamp of tree: Sun, 30 Aug 2009 16:45:03 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9 dev-lang/python: 2.6.2-r1, 3.1.1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" 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/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://gentoo.virginmedia.com/sites/gentoo " LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en en_US de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X aac acl acpi alsa amd64 apache apache2 applet ares artswrappersuid artworkextra avahi bash-completion bluetooth branding bzip2 cairo cdda cddb cdr cjk cli cracklib crypt cups dbus device-mapper divx doc dri dvd dvdr dvdread examples fam fftw fontforge fortran ftp fuse gdbm gif gmp gnome gnome-keyring gpm gtk hal iconv imap isdnlog jabber java java6 jpeg laptop loop-aes maps mmx mmxext mng mono mp3 mpeg msn mudflap multilib mysql mysqli ncurses nls nowin nptl nptlonly ntfs offensive ogg opengl openmp oscar pam pcre pda pdf perl png pppd python qt3support qt4 quicktime quotas rar readline realmedia reflection reiserfs ruby rubytests samba sasl session smp spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg swig symlink sysfs threads tiff truetype unicode usb utempter vhosts vorbis wma wmp xattr xinerama xorg xscreensaver xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en_GB en en_US de" USERLAND="GNU" VIDEO_CARDS="ati radeon radeonhd vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Almost forgot, it looks similar to #85780 but then the error was in a different file and it was with gcc-3 anyways.
Sorry, step to reproduce no 2 should of course say "set gcc to 4.4.1"
Fixed. Thanks for reporting
*** Bug 283923 has been marked as a duplicate of this bug. ***
Works, thanks for the speedy fix :)