Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47432 - kismet>2.8* imposible to compile using CFLAGS="-mcpu=pentium2 -pipe"
Summary: kismet>2.8* imposible to compile using CFLAGS="-mcpu=pentium2 -pipe"
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-10 08:24 UTC by Andreas Vitz
Modified: 2004-10-21 02:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
my ebuild file for kismet 2004.04-R1 (kismet-2004.04.01.ebuild,2.26 KB, patch)
2004-04-10 08:29 UTC, Andreas Vitz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Vitz 2004-04-10 08:24:32 UTC
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"
Comment 1 Andreas Vitz 2004-04-10 08:29:51 UTC
Created attachment 29029 [details, diff]
my ebuild file for kismet 2004.04-R1
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2004-09-22 09:45:49 UTC
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?
Comment 3 Andreas Vitz 2004-09-23 11:32:04 UTC
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
Comment 4 Henrik Brix Andersen 2004-10-18 06:49:43 UTC
I am unable to reproduce this as well.

Suggest closing as WORKSFORME.
Comment 5 Henrik Brix Andersen 2004-10-21 02:04:47 UTC
Done.