Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216211 - net-analyzer/wireshark-1.0.0 compile fails (gcc internal error)
Summary: net-analyzer/wireshark-1.0.0 compile fails (gcc internal error)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 17:27 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2008-06-09 14:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2008-04-04 17:27:43 UTC
Error message in context:

/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -D_U_="__attribute__((unused))" -march=athlon64 -O3 -pipe -fforce-addr -fno-stack-protector -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -L/usr/local/lib -L/usr/local/lib -o coseventcomm.la -rpath /usr/lib/wireshark/plugins/1.0.0 -module -avoid-version packet-coseventcomm.lo
i686-pc-linux-gnu-gcc -shared  .libs/packet-coseventcomm.o  -L/usr/local/lib  -march=athlon64 -Wl,-soname -Wl,coseventcomm.so -o .libs/coseventcomm.so
creating coseventcomm.la
(cd .libs && rm -f coseventcomm.la && ln -s ../coseventcomm.la coseventcomm.la)
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..  -I/usr/local/include '-DPLUGIN_DIR="/usr/lib/wireshark/plugins/1.0.0"'  -D_U_="__attribute__((unused))" -march=athlon64 -O3 -pipe -fforce-addr -fno-stack-protector -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -MT packet-tango.lo -MD -MP -MF ".deps/packet-tango.Tpo" -c -o packet-tango.lo packet-tango.c; \
        then mv -f ".deps/packet-tango.Tpo" ".deps/packet-tango.Plo"; else rm -f ".deps/packet-tango.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/local/include -DPLUGIN_DIR=\"/usr/lib/wireshark/plugins/1.0.0\" "-D_U_=__attribute__((unused))" -march=athlon64 -O3 -pipe -fforce-addr -fno-stack-protector -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -MT packet-tango.lo -MD -MP -MF .deps/packet-tango.Tpo -c packet-tango.c  -fPIC -DPIC -o .libs/packet-tango.o
packet-tango.c:2580: warning: 'decode_Tango_DevVarLongStringArray_st' defined but not used
packet-tango.c:2635: warning: 'decode_Tango_DevVarDoubleStringArray_st' defined but not used
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -D_U_="__attribute__((unused))" -march=athlon64 -O3 -pipe -fforce-addr -fno-stack-protector -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -L/usr/local/lib -L/usr/local/lib -o tango.la -rpath /usr/lib/wireshark/plugins/1.0.0 -module -avoid-version packet-tango.lo
i686-pc-linux-gnu-gcc -shared  .libs/packet-tango.o  -L/usr/local/lib  -march=athlon64 -Wl,-soname -Wl,tango.so -o .libs/tango.so
creating tango.la
(cd .libs && rm -f tango.la && ln -s ../tango.la tango.la)
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..  -I/usr/local/include '-DPLUGIN_DIR="/usr/lib/wireshark/plugins/1.0.0"'  -D_U_="__attribute__((unused))" -march=athlon64 -O3 -pipe -fforce-addr -fno-stack-protector -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -MT packet-parlay.lo -MD -MP -MF ".deps/packet-parlay.Tpo" -c -o packet-parlay.lo packet-parlay.c; \
        then mv -f ".deps/packet-parlay.Tpo" ".deps/packet-parlay.Plo"; else rm -f ".deps/packet-parlay.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/local/include -DPLUGIN_DIR=\"/usr/lib/wireshark/plugins/1.0.0\" "-D_U_=__attribute__((unused))" -march=athlon64 -O3 -pipe -fforce-addr -fno-stack-protector -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -MT packet-parlay.lo -MD -MP -MF .deps/packet-parlay.Tpo -c packet-parlay.c  -fPIC -DPIC -o .libs/packet-parlay.o
i686-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}:130343: Warning: end of file not at end of a line; newline inserted
make[3]: *** [packet-parlay.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-1.0.0/work/wireshark-1.0.0/plugins/giop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-1.0.0/work/wireshark-1.0.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-1.0.0/work/wireshark-1.0.0'
make: *** [all] Error 2
 *
 * ERROR: net-analyzer/wireshark-1.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2808:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed

Interesting fact is, that at the end a following einfo is displayed:

 * Found gcc 3.4, forcing -O3 into CFLAGS

Error is reproducible and always fails at the exactly same place. wireshark used to emerge normally on the same machine.

emerge --info:

Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r7 i686)
=================================================================
System uname: 2.6.23-hardened-r7 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Fri, 04 Apr 2008 10:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://213.186.33.37/gentoo-distfiles/ ftp://mirror.qubenet.net/mirror/gentoo/ http://src.gentoo.pl ftp://ftp.mneisen.org/gentoo http://gentoo.zie.pg.gda.pl http://gentoo.prz.rzeszow.pl http://212.219.56.133/sites/www.ibiblio.org/gentoo/ ftp://gentoo.mirror.web4u.cz/ http://ftp.gentoo.bg/ http://213.186.33.38/gentoo-distfiles/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl avahi berkdb cracklib crypt cups dbus foomaticdb hardened logrotate mbox midi nls nptl nptlonly pam pic readline ssl tcpd tftp threads unicode urandom usb x86 xorg zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-04 23:18:02 UTC
Guess this would be yours hardened team, if broken hardware is not the reason.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2008-04-09 13:31:34 UTC
Now it emerged fine, on the same machine. I'm not sure why - it could be OOM or something. I'm leaving it open just for review - it could still be actual bug.
Comment 3 Gordon Malm (RETIRED) gentoo-dev 2008-04-09 15:23:27 UTC
(In reply to comment #2)
> Now it emerged fine, on the same machine. I'm not sure why - it could be OOM or
> something. I'm leaving it open just for review - it could still be actual bug.
> 

FWIW, I tried reproducing this bug a few days ago on x86 without success.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2008-06-09 14:02:36 UTC
Okay, probably a bogus bug (OOM).