I try every gcc I've in my system and each iptables version in portage - this the same bug: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy DROP) target prot opt source destination Segmentation fault It have segmentation fault if I try to list when it prints first rule. Debug stack: (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program received signal SIGSEGV, Segmentation fault. 0xb7ded7ba in ads_build_error () from /usr/lib/libnss_wins.so.2 (gdb) bt #0 0xb7ded7ba in ads_build_error () from /usr/lib/libnss_wins.so.2 #1 0xbfeacc7c in ?? () #2 0x00000000 in ?? () equery b /usr/lib/libnss_wins.so.2 [ Searching for file(s) /usr/lib/libnss_wins.so.2 in *... ] net-fs/samba-3.0.22 (/usr/lib/libnss_wins.so.2 -> libnss_wins.so) Kernel 2.6.16.1 Gcc 4.1 (I know it's testing version) Samba 3.0.22 Regards.
you forgot `emerge info` also, you didnt say what the command is you're trying to run
Command is, as in title iptables -L. emerge --info: Portage 2.1_pre7-r4 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.16.1 i686) ================================================================= System uname: 2.6.16.1 i686 Pentium III (Katmai) Gentoo Base System version 1.12.0_pre16 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=pentium3 -mmmx -msse -mfpmath=sse -fomit-frame-pointer -ffast-math -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -mmmx -msse -mfpmath=sse -fomit-frame-pointer -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parellel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pl_PL.UTF8" LC_ALL="pl_PL.UTF8" LINGUAS="pl" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main/bmg-main" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acl alsa apache2 avi beagle berkdb bitmap-fonts bzip2 cairo cdparanoia crypt cups curl dbus djvu doc dri eds emacs emboss encode esd exif expat firefox flac foomaticdb fortran gb gd gdbm gif glut gmp gnome gnome-firefox gpm gstreamer gstreamer10 gtk gtk2 gtkhtml hal icq imlib ipod ipv6 irc isdnlog jabber java jpeg junit kerberos krb4 lcms libg++ libgda libnotify libwww mad mikmod mmx mono motif mozilla mp3 mpeg msn mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl pam pcre pda pdflib perl php png posix postgres pppd python quicktime readline real rss ruby samba sdl simplexml spell sqlite sse ssl subversion svg symlink t1lib tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis win32codecs xml xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pl userland_GNU video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
no, the command you used in the summary is the lowercase l
Sorry - my mistake
and if you rebuild iptables with CFLAGS="-O1 -pipe" does it work ?
> and if you rebuild iptables with CFLAGS="-O1 -pipe" does it work ? I've rebuild and samba and iptables. The same problem...
Following this guide may provide more information: http://www.gentoo.org/proj/en/qa/backtraces.xml
I'm afraid I totally recompile my gentoo (it's now SELinux). No problem any more. Sorry.