In the forums at http://www.daphne-emu.com/ there are several references to compilation problems with updated versions of gcc/g++. This ebuild attempts to fix those problems. I've tested it on a Pentium4 here and daphne compiles and runs correctly. Reproducible: Always Steps to Reproduce: 1. emerge daphne 2. watch the emerge fail with '%sil' errors
Created attachment 61406 [details] New ebuild for daphne to fix compile/runtime problems with newer gcc/g++
what's your output of emerge --info? The ebuild in portage builds fine for me.
Here's the output, though in my testing I reduced CFLAGS to nothing but -O2, and the old ebuild filters -march down to i586. Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-ck8-r1 i686) ================================================================= System uname: 2.6.11-ck8-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.mirrors.pair.com/ http://gentoo.eliteitminds.com http://gentoo.osuosl.org/ http://mirrors.tds.net/gentoo" MAKEOPTS="-j3" 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 X Xaw3d acpi alsa apache2 apm arts artworkextra avi bahamut bash-completion berkdb bitmap-fonts bzip2 caps cdr crypt cscope cups curl dba dga divx4linux doc dvd dvdr dvdread eds emboss encode esd examples expat fam foomaticdb fortran freetds gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 guile i8x0 imagemagick imap imlib ipv6 jack jack-tmpfs java javascript jikes jpeg junit kde kdeenablefinal kdexdeltas ladcca ladspa libg++ libwww lm_sensors logitech-mouse mad mcal mikmod mmx mmxext mng motif mozdevelop mozilla mp3 mpeg music mysql ncurses nls nowin nptl nptlonly odbc offensive ogg oggvorbis opengl oss pam pdflib perl pic png povray ppds python qt quicktime readline real remix rtc samba sdl slang softmmu speex spell sse sse2 ssl subversion svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vim-with-x voice vorbis xine xml2 xmms xscreensaver xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
changed the makefiles to use user CFLAGS instead of the ones provided by upstream.