With, sdl-gui-0.10.3, ebuild fails with gcc-4 because of the above error. I will attach a patch to this report in my next comment. Portage 2.1_pre7-r2 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.16-g entoo i686) ================================================================= System uname: 2.6.16-gentoo i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" 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/lib/mozilla/defaults/ pref /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web 2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks gentrip metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo" LINGUAS="en he grc" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X Xaw3d aalib acpi ada aim alsa apache apache2 apm asf audiofile avi berkdb bidi bindist bitmap-fonts browserplugin bzip2 calendar cdr crypt csco pe ctype cups curl curlwrappers dba dedicated dga dio divx4linux doc dri dvd dvd r eds emboss encode esd fastcgi ffmpeg fftw firefox flac flash flatfile foomatic foomaticdb fortran ftp gb gcj gd gdbm ggi gif gmp gphoto2 gpm gstreamer gtk gtk 2 hal iconv icq imagemagick imap imlib ipv6 isdnlog jabber jack java jikes jpeg kde kdexdeltas ladcca lcms ldap libg++ libwww mad mbox mcal mikmod mime ming mma p mmx mng motif mozcalendar mozilla mp3 mpeg mysql mysqli nas ncurses network ne w-login nls nocd nptl nptlonly nsplugin objc ogg oggvorbis openal opengl oscar o ss pam pcntl pcre pda pdf pdflib perl php pie plotutils plugin png posix postgre s ppds pppd python qt quicktime quotes readline sasl scanner sdl session shared slang sockets softmmu speex spell spl sse ssl svg sysvipc szip tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 videos vorbis win32codecs wmf wxwindows xcomposite xine xinerama xml xml2 xmms xpm xsc reensaver xsl xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_device s_mouse kernel_linux linguas_en linguas_he linguas_grc userland_GNU video_cards_ nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
Created attachment 83476 [details, diff] Diff file to get sdl-gui to compile with GCC-4.1. Everything compiles now, but since I don't use this library regularly, I have no idea how to test it. I will submit upstream to see what they say....
Created attachment 83477 [details] Ebulid to patch the above diff onto a system. Since sdl-gui didn't have a src_unpack function, I had to add one.
Any word from upstream?
In portage. thanks for the bug report and patch.