Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 119780

Summary: net-analyzer/ethereal-0.10.14 doesn't compile
Product: Gentoo Linux Reporter: François MASSON <tereutes>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description François MASSON 2006-01-21 02:45:57 UTC
compiling net-analyzer/ethereal-0.10.14 on an i586 pentium mmx don't work, here are the last lines:

 i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/local/include -DINET6 -march=pentium-mmx -Os -pipe -Dlinux -I. -I/usr/include -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -march=pentium-mmx -O -pipe -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DINET6 -march=pentium-mmx -Os -pipe -Dlinux -I. -I/usr/include -MT packet-parlay.lo -MD -MP -MF .deps/packet-parlay.Tpo -c packet-parlay.c  -fPIC -DPIC -o .libs/packet-parlay.o
i586-pc-linux-gnu-gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:124714: Warning: end of file not at end of a line; newline inserted
{standard input}:125230: Error: suffix or operands invalid for `lea'
make[3]: *** [packet-parlay.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/ethereal-0.10.14/work/ethereal-0.10.14/plugins/giop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ethereal-0.10.14/work/ethereal-0.10.14/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ethereal-0.10.14/work/ethereal-0.10.14'
make: *** [all] Error 2
Comment 1 François MASSON 2006-01-21 02:48:50 UTC
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5-vanilla, glibc-2.3.6-r2, 2.6.14-gentoo i586)
=================================================================
System uname: 2.6.14-gentoo i586 Pentium MMX
Gentoo Base System version 1.12.0_pre14
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=pentium-mmx -Os -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-mmx -Os -pipe"
DISTDIR="/var/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mir.zyrianes.net/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.oregonstate.edu/"
PKGDIR="/var/packages/pentium-mmx"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X acl amd apache2 apm bitmap-fonts bzip2 caps clamav clamd cli crypt curl curlwrappers dedicated directfb disk-cache dnsdb ethereal expat fam fastbuild fastcgi force-cgi-redirect gd gif gmp gpm gps hardened idn imlib2 innodb ipv6 ipv6arpa javascript jpeg libwww lingerd lowmem mem-cache memcache memlimit mhash mime minimal mmap mmx moznocompose moznoirc moznomail moznoxft mpi mpm-prefork mysql mysqli ncurses nfs nls no-old-linux no24bpp nojoystick nptl nptlonly ogg pam pcntl pcre pear php pic png python readline reiserfs rrdtool rtc scp semanticfix sharedmem snmp sockets ssl stream symlink sysfs sysvipc szip tcltk tcpd threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vhosts vorbis xml2 xosd xrandr zip zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-21 02:51:29 UTC
Out of memory, bad RAM or flaky hardware...

*** This bug has been marked as a duplicate of 20600 ***
Comment 3 François MASSON 2006-01-21 06:42:47 UTC
Compiling with -O2 (recommanded setting) give this error:
 i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/local/include -DINET6 -march=pentium-mmx -Os -pipe -Dlinux -I. -I/usr/include -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -O -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DINET6 -march=pentium-mmx -Os -pipe -Dlinux -I. -I/usr/include -MT packet-parlay.lo -MD -MP -MF .deps/packet-parlay.Tpo -c packet-parlay.c  -fPIC -DPIC -o .libs/packet-parlay.o

cc1: out of memory allocating 34453984 bytes after a total of 5701632 bytes
make[3]: *** [packet-parlay.lo] Error 1


So it seem you are right with Out of memory, but sincerely, do you know many pentium mmx with this much memory (mine has 96Mo)
I don't know if it's a problem with gcc or ethereal, but it appears to be very much, for an application wich ought to run mainly on a router.

So please give this report to attention of a networking team member.