gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -ggdb -Wmissing-prototypes -Wno-uninitialized -Werror -Wformat-security -Wsign-compare -Wall -I/usr/include -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -c -o ettercap-ec_error.o `test -f 'ec_error.c' || echo './'`ec_error.c ec_conntrack.c: In function `conntrack_timeouter': ec_conntrack.c:452: warning: no return statement in function returning non-void distcc[5799] ERROR: compile on 192.168.0.25 failed make[2]: *** [ettercap-ec_conntrack.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ec_dispatcher.c: In function `top_half': ec_dispatcher.c:146: warning: no return statement in function returning non-void distcc[5813] ERROR: compile on 192.168.0.25 failed make[2]: *** [ettercap-ec_dispatcher.o] Error 1 make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ettercap-0.7.0/work/ettercap-NG-0.7.0/src' make: *** [all-recursive] Error 1 !!! ERROR: net-analyzer/ettercap-0.7.0 failed. !!! Function src_compile, Line 58, Exitcode 2 !!! emake failed With distcc off: gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -ggdb -Wmissing-prototypes -Wno-uninitialized -Werror -Wformat-security -Wsign-compare -Wall -I/usr/include -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -c -o ettercap-ec_connbuf.o `test -f 'ec_connbuf.c' || echo './'`ec_connbuf.c gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -ggdb -Wmissing-prototypes -Wno-uninitialized -Werror -Wformat-security -Wsign-compare -Wall -I/usr/include -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -c -o ettercap-ec_conntrack.o `test -f 'ec_conntrack.c' || echo './'`ec_conntrack.c ec_conntrack.c: In function `conntrack_timeouter': ec_conntrack.c:452: warning: no return statement in function returning non-void make[2]: *** [ettercap-ec_conntrack.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/ettercap-0.7.0/work/ettercap-NG-0.7.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ettercap-0.7.0/work/ettercap-NG-0.7.0/src' make: *** [all-recursive] Error 1 !!! ERROR: net-analyzer/ettercap-0.7.0 failed. !!! Function src_compile, Line 58, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1. emerge ettercap Expected Results: It should compile successfully. Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.0-test8) ================================================================= System uname: 2.6.0-test8 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/fenris /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://194.149.10.102/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl alsa apm arts audiofile avi berkdb bidi cairo canna cdr cjk crypt cscope cups debug directfb doc dvd dvdr emacs encode faad flac foomaticdb freewnn gatos gd gdbm gimpprint gphoto2 gpm gtk gtk2 guile imagemagick imlib jack java javascript jikes jpeg junit kde libg++ libwww mad mikmod mmx mng mpeg ncurses nls oggvorbis opengl pam pcre pdflib perl php pic png postgres ppds python qt quicktime readline ruby scanner sdl slang socks5 softmmu spell sse ssl tcltk tcpd tetex theora tiff truetype unicode usb video_cards_rage128 wmf x86 xinerama xml2 xmms xv zlib"
Created attachment 39102 [details] Compiletime fix for ettercap-0.7.0 This is a problem with gcc optimization (most likely inline's) updated ebuild to inherit flag-o-matic and filter optimizations greater than -02
the problem has been fixed in the 0.7.1 version. the bug can be closed. bye
strip-flags does a better job: it removes everything but "sane" flags. fixed in portage.