Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132569

Summary: rhide doesn't compile with gcc-4.1
Product: Gentoo Linux Reporter: Maksim 'max_posedon' Melnikau <maxposedon>
Component: [OLD] GCC PortingAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    

Description Maksim 'max_posedon' Melnikau 2006-05-07 07:54:55 UTC
Portage 2.1_pre10-r3 (!/home/gentoo/portage/profiles/default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r2, 2.6.16-suspend2-r3-max i686)
=================================================================
System uname: 2.6.16-suspend2-r3-max i686 Mobile AMD Sempron(tm) Processor 3000+
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.18
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -Os"
DISTDIR="/home/gentoo/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF8"
LC_ALL=""
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/gentoo/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acpi alsa apache2 avi berkdb bitmap-fonts bzip2 cdr cli crypt dbus dedicated djvu dri dvd emacs emboss encode examples fbcon ffmpeg flac foomaticdb ftp gdbm gif glut gpm gstreamer gstreamer10 gtk2 hal iconv imagemagick imlib isdnlog javascript jpeg kde libcaca libg++ libnotify libwww lm_sensors mad mikmod mmx mng mp3 mpeg mysql ncurses nfs nls nptl nptlonly ogg opengl oss pam pcmcia pcre pdf pdflib png posix pppd python qt quicktime readline reflection ruby samba sdl session sharedmem slang sockets socks5 speex spell spl sqlite sse sse2 ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vorbis win32codecs xine xml xml2 xorg xpm xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_en linguas_ru userland_GNU video_cards_sis video_cards_fbdev video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
=====================================================================
emerge rhide
......
i686-pc-linux-gnu-gcc  -I../include -I//usr/include        -march=athlon64 -c ../compat/getopt1.c -o ../makes/obj/getopt1.o
i686-pc-linux-gnu-gcc  -I../include -I//usr/include        -march=athlon64 -c ../compat/getshell.c -o ../makes/obj/getshell.o
i686-pc-linux-gnu-gcc  -I../include -I//usr/include        -march=athlon64 -c ../compat/glob.c -o ../makes/obj/glob.o
i686-pc-linux-gnu-gcc  -I../include -I//usr/include        -march=athlon64 -c ../compat/globfree.c -o ../makes/obj/globfree.o
i686-pc-linux-gnu-g++  -I../include -I//usr/include        -march=athlon64  -c ../compat/iffilelen.cc -o ../makes/obj/iffilelen.o
i686-pc-linux-gnu-gcc  -I../include -I//usr/include        -march=athlon64 -c ../compat/isdir.c -o ../makes/obj/isdir.o
i686-pc-linux-gnu-gcc  -I../include -I//usr/include        -march=athlon64 -c ../compat/isrelpath.c -o ../makes/obj/isrelpath.o
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h: In member function &#8216;typename std::messages<_CharT>::catalog std::messages<_CharT>::open(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::locale&, const char*) const&#8217;:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:62: error: there are no arguments to &#8216;bindtextdomain&#8217; that depend on a template parameter, so a declaration of &#8216;bindtextdomain&#8217; must be available
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:62: error: (if you use &#8216;-fpermissive&#8217;, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h: In member function &#8216;virtual typename std::messages<_CharT>::catalog std::messages<_CharT>::do_open(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::locale&) const&#8217;:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:82: error: there are no arguments to &#8216;textdomain&#8217; that depend on a template parameter, so a declaration of &#8216;textdomain&#8217; must be available
make[1]: *** [../makes/obj/iffilelen.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/rhide-1.5.20050823/work/tvision/makes'
make: *** [static-lib] Error 2

!!! ERROR: dev-util/rhide-1.5.20050823 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  rhide-1.5.20050823.ebuild, line 126:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Michal Jakubowski 2006-06-19 17:33:27 UTC
Me too
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2006-08-16 22:08:38 UTC

*** This bug has been marked as a duplicate of 130223 ***