When I try to emerge Kismet 2004.02 (and 2004.04 (made an own ebuild) and below till 2.8.x) my gcc 3 crashes with a sig-sag. I use CFLAGS="-mcpu=pentium2", but when gcc compiles it uses following otpimazations: -O3 i686 -funroll-loops, and(!) -pentium2 setting the cflags to i686 (in make.conf) results in no sig-seg, so it seems, that kismet sets the cflags by its own, and adds the cfalgs from make.conf which results on my pc in optimization for pentium2 and i686, which seems to crash gcc. Reproducible: Always Steps to Reproduce: see before Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7) ================================================================= System uname: 2.4.22-gentoo-r7 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt encode esd ethereal foomaticdb gdbm gif gpm gps gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad maildir mikmod mmx motif mpeg n curses nls oggvorbis oss pam pcmcia pdflib perl png python qt quicktime readline sdl slang snmp spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Created attachment 29029 [details, diff] my ebuild file for kismet 2004.04-R1
That really shouldn't cause a gcc crash... Did you add something to filter the CFLAGS or are you just providing ebuilds for the newer versions?
it did crash, so... what can i say. it seems that nobody else had the problem, because you are the only one, who wrote an answer for nearly half a year. i didn't want to pubish a ebuild, nor wanted this one to get in the portage tree. but I thougt, it would be a good idea, if some one has the same problem, he could use my modiefied one. sinc. andreas
I am unable to reproduce this as well. Suggest closing as WORKSFORME.
Done.