Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165340 - net-analyzer/wireshark-0.99.5 failed
Summary: net-analyzer/wireshark-0.99.5 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 165077
  Show dependency tree
 
Reported: 2007-02-04 21:10 UTC by Willard Dawson
Modified: 2007-11-26 07:32 UTC (History)
6 users (show)

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


Attachments
FC3/FreeBSD patch for GCC 3.4 bug (patch-epan_dissectors_packet-diameter.c,1.09 KB, text/plain)
2007-02-10 04:57 UTC, Martin Jackson (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2007-02-04 21:10:02 UTC
wireshark fails to compile

Reproducible: Always

Actual Results:  
i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -march=i686 -O -pipe -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -o .libs/wireshark capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o print.o ps.o pcapio.o ringbuffer.o timestats.o util.o version_info.o airpcap_loader.o alert_box.o capture.o capture_info.o capture_opts.o capture_sync.o color_filters.o file.o fileset.o filters.o g711.o merge.o proto_hier_stats.o sync_pipe_write.o summary.o tempfile.o .libs/wiresharkS.o -pthread -Wl,--export-dynamic  -L/usr/local/lib gtk/libui.a codecs/libcodec.a wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so -lcrypto /usr/lib/libpcre.so -lpcap /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -L/usr/lib /usr/lib/libgnutls.so /usr/lib/libtasn1.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -lportaudio -lz
epan/.libs/libwireshark.so: undefined reference to `.LC831'
epan/.libs/libwireshark.so: undefined reference to `.LC837'
epan/.libs/libwireshark.so: undefined reference to `.LC834'
epan/.libs/libwireshark.so: undefined reference to `.LC830'
epan/.libs/libwireshark.so: undefined reference to `.LC832'
epan/.libs/libwireshark.so: undefined reference to `.LC838'
epan/.libs/libwireshark.so: undefined reference to `.LC833'
epan/.libs/libwireshark.so: undefined reference to `.LC829'
epan/.libs/libwireshark.so: undefined reference to `.LC836'
collect2: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5'
make: *** [all] Error 2

!!! ERROR: net-analyzer/wireshark-0.99.5 failed.
Call stack:
  ebuild.sh, line 1613:   Called dyn_compile
  ebuild.sh, line 970:   Called qa_call 'src_compile'
  environment, line 3716:   Called src_compile
  wireshark-0.99.5.ebuild, line 102:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-analyzer/wireshark-0.99.5/temp/build.log'.
Comment 1 Willard Dawson 2007-02-05 00:49:39 UTC
Portage 2.1.2-r7 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Sun, 04 Feb 2007 18:00:08 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cardbus cdr cli cracklib crypt ctype cups dba dbus diskio djvu dlloader dri eds emboss encode esd ethereal exif expat fastbuild fftw foomaticdb force-cgi-redirect fortran ftp gamin gd gdbm gif glib glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 isdnlog jack java jpeg kde lcms libclamav libg++ libwww lirc lm_sensors lua mad madwifi memlimit mhash midi mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses netjack nforce2 nls nptl nptlonly nvidia ocaml ogg opengl oss pam pango pch pcre pdf pdflib pear perl php pmu png portaudio posix pppd pulseaudio python qt qt3 qt3support qt4 qtmt quicktime readline reflection ruby samba sasl sdl session simplexml slang sndfile soap sockets spell spl sse sse2 ssl tcl tcltk tcpd threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis x86 xml xml2 xmlrpc xorg xsl xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Martin Jackson (RETIRED) gentoo-dev 2007-02-05 03:33:14 UTC
It compiled OK for me.  Here's my emerge --info:

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Intel(R) Celeron(TM) CPU                1300MHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 04 Feb 2007 08:00:08 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg cvs distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict usepkg userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/minas-tirith /usr/portage/local/layman/sunrise /usr/portage/local/layman/webapps-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X aac acpi adns alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amd apache2 apm ares bacula-split-init bash-completion berkdb binary-drivers bitmap-fonts bzip2 cairo caps cddb cdparanoia cdr cdrom cdsound clamav clamd cli cracklib crypt cscope csv cups curl dlloader doc dovecot-sasl dri dvd dvdr dvdread elibc_glibc examples extramodules fam fat flac font-server fontconfig foomaticdb fortran gd gdbm gif glade glitz glut gnutls gpm graphviz gs gtk gtk2 gtkhtml i8x0 ibam iconv id3 idea ident idled ieee1394 imap innodb input_devices_evdev input_devices_keyboard input_devices_mouse insecure-savers iodbc ipod iproute2 ipv6 isdnlog itcl ithreads jack jack-tmpfs java java5 jce jpeg kernel_linux lame lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libg++ libwww logrotate logwatch lua lzo lzw mad maildir mbox midi mixer mmap mod_python modperl modplug motif mp3 mp4 mp4live mplayer multiuser music musicbrainz mysql mysqli ncurses net netpbm netserver nfs nls nptl nptlonly nsplugin nspr ntp ocaml odbc offensive ogg openssl opensslcrypt pam pango pcap pcapnav pcmcia pcre pdf perl pg-hier pg-intdatetime php png posix postfix postgres ppds pppd procmail ps psyco python pyx rar rc5 rdesktop readline real recode reflection reiserfs rewrite rfkill rpm rss ruby samba sasl screen sdl sdl-sound sdlaudio sendfile serial server session sftp sftplogging sguil sitemisc smarty sndfile snmp socks5 sox speedo speex spf spl sqlite sqlite3 srvdir sse sse2 ssl subversion svg svn-mirror swat swig sysfs syslog sysvipc tagwriting tcl tcltk tcpd tcpmd5 themes theora thesaurus threads tidy tiff timestats timidity tk tools totem truetype truetype-fonts type1 type1-fonts udev unicode unzip urandom usb userland_GNU vcd vda video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vim vim-pager vim-syntax virus-scan vnc vorbis vroot wifi win32codecs wireshark wma wmp wxwindows xine xinerama xinetd xml xorg xscreensaver xslt xterm yiff zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Martin Jackson (RETIRED) gentoo-dev 2007-02-05 03:46:44 UTC
One difference I see between my build and Willard's is the portaudio use flag.
Comment 4 Martin Jackson (RETIRED) gentoo-dev 2007-02-05 06:06:36 UTC
I was able to add the portaudio flag and get a successful compile, though with a more stable-oriented system:

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Pentium III (Katmai)
Gentoo Base System version 1.12.6
Last Sync: Sun, 04 Feb 2007 08:00:08 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages getbinpkg metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://anduril.minas.tirith/distfiles/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/minas-tirith"
SYNC="rsync://anduril.minas.tirith/gentoo-portage"
USE="x86 7zip X aac acpi adns alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amd apache2 apm ares bacula-split-init bash-completion berkdb binary-drivers bitmap-fonts browserplugin bzip2 cairo caps cddb cdparanoia cdr cdrom cdsound clamav clamd cli cracklib crypt cscope csv cups curl dlloader doc dovecot-sasl dri dvd dvdread elibc_glibc examples extramodules fat flac font-server fontconfig foomaticdb fortran gd gdbm gif glade glitz glut gnutls gpm graphviz gs gtk gtk2 gtkhtml i8x0 ibam iconv id3 idea ident idled ieee1394 imap innodb inode input_devices_evdev input_devices_keyboard input_devices_mouse insecure-savers iodbc ipod iproute2 ipv6 isdnlog itcl ithreads jack jack-tmpfs java java5 jce jpeg kernel_linux lame lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libg++ libwww logrotate logwatch lua lzo lzw mad maildir mbox midi mixer mmap mod_python modperl modplug motif mp3 mp4 mp4live mplayer multiuser music musicbrainz mysql mysqli ncurses net netpbm netserver nfs nls nptl nptlonly nsplugin nspr ntp ocaml odbc offensive ogg openssl opensslcrypt pam pango pcap pcapnav pcmcia pcre pdf perl pg-hier pg-intdatetime php png portaudio posix postfix postgres ppds pppd procmail ps psyco python pyx pyzor radiotap rar razor rc5 rdesktop readline real recode reflection reiserfs rewrite rfkill rpm rss ruby samba sasl screen sdl sdl-sound sdlaudio sendfile serial server session sftp sftplogging sguil sitemisc smarty sndfile snmp socks5 sox speedo speex spf spl sqlite sqlite3 srvdir sse sse-filters sse2 ssl subversion svg svn-mirror swat swig sysfs syslog sysvipc taglib tagwriting tcl tcltk tcpd tcpmd5 themes theora thesaurus threads tidy tiff timestats timidity tk tools totem truetype truetype-fonts type1 type1-fonts udev unicode unzip urandom usb userland_GNU vcd vda video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vim vim-pager vim-syntax virus-scan vnc vorbis vroot wifi win32codecs wireshark wma wmp wv wxwindows xine xinerama xinetd xml xorg xscreensaver xslt xterm yiff zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Dustin C. Hatch 2007-02-06 22:36:15 UTC
I can confirm that I get the same compile errors on amd64. Attempting to compile with USE="portaudio" to see if that makes a difference.
Comment 6 Dustin C. Hatch 2007-02-06 23:23:34 UTC
USE="portaudio" did NOT change anything; compile still dies with the same error

emerge --info
Portage 2.1.2-r8 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.9
Timestamp of tree: Tue, 06 Feb 2007 09:00:08 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/issue /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://mirror.datapipe.net/gentoo ftp://mirror.usu.edu/mirrors/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/xfce /usr/local/layman/portage-xgl /usr/local/layman/zugaina"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acpi alsa amd64 apache2 avi bash-completion bcmath berkdb bitmap-fonts bzip2 bzlib cairo cdparanoia cdr cli cracklib crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread emboss emul-linux-x86 encode exo fam ffmpeg firefox foomaticdb fortran gif glitz gnome gnutls gpm gtk gtk2 gtkhtml hal iconv imlib ipv6 isdnlog java jpeg libg++ logrotate mad midi mikmod mng mozilla mozsvg mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl panel-plugin pcre pdf perl php pic png postgres ppds pppd python quicktime readline reflection samba sdl session sox spell spl ssl startup-notification svg tcltk tcpd theora thunar-vfs tiff tk truetype truetype-fonts type1-fonts udev unicode usb v4l vcd videos vorbis xcomposite xine xml xml2 xorg xosd xpm xprint xv xvid zlib" ALSA_CARDS="intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Daniel Black (RETIRED) gentoo-dev 2007-02-07 08:40:59 UTC
(In reply to comment #0)
> wireshark fails to compile
> 
> Reproducible: Always
> 
> Actual Results:  
> i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall
> -Wpointer-arith -W -march=i686 -O -pipe 
Note how it is using -O despite CFLAGS=-O2

Bug 91660 seem to indicate that it is -O(s) related
Comment 8 Bartosz Muszynski 2007-02-08 22:49:56 UTC
I had the same error too, but fixed it by changing default compiler from gcc-3.4.6 to gcc-4.1.1. I think wireshark links against newer gcc-libs and thats the reason why we get the "undefined reference" errors here. Hope this helps you, then we can mark this report as fixed.
Comment 9 Miroslav Šulc gentoo-dev 2007-02-09 21:31:00 UTC
(In reply to comment #8)
> I had the same error too, but fixed it by changing default compiler from
> gcc-3.4.6 to gcc-4.1.1. I think wireshark links against newer gcc-libs and
> thats the reason why we get the "undefined reference" errors here. Hope this
> helps you, then we can mark this report as fixed.
> 

I tried with gcc-4.1.1 and wireshark compiled without problems. Thanks.
Comment 10 Willard Dawson 2007-02-09 22:03:23 UTC
Likewise, I just now compiled wireshark with gcc-4.1.1 with no issues.  Thanks! 
Comment 11 Martin Jackson (RETIRED) gentoo-dev 2007-02-10 04:57:53 UTC
Created attachment 109702 [details]
FC3/FreeBSD patch for GCC 3.4 bug
Comment 12 Martin Jackson (RETIRED) gentoo-dev 2007-02-10 05:00:34 UTC
The original post for the patch is available on google cache.  Dragonheart and I are running some tests but FreeBSD currently has two bugs open on wireshark 0.99.5 for the same issue (they use GCC 3.4 as the system toolchain): http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/108892 and http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/108776.
Comment 13 Martin Jackson (RETIRED) gentoo-dev 2007-02-10 07:00:44 UTC
I've committed the attached patch to the 0.99.5 ebuild.  It builds on my x86 system correctly with GCC 4.1.1.  Could someone running hardened test this ebuild?
Comment 14 Kristian 2007-02-11 23:55:07 UTC
sorry, doesn't help on my hardened system

>>> Unpacking source...
>>> Unpacking wireshark-0.99.5.tar.bz2 to /var/tmp/portage/net-analyzer/wireshark-0.99.5/work
 * Applying wireshark-except-double-free.diff ...                         [ ok ]
 * Applying wireshark-epan_dissectors_packet-diameter.diff ...            [ ok ]
>>> Source unpacked.

i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -march=pentium4 -O -pipe -fomit-frame-pointer -fno-stack-protector -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -o .libs/wireshark capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o print.o ps.o pcapio.o ringbuffer.o timestats.o util.o version_info.o airpcap_loader.o alert_box.o capture.o capture_info.o capture_opts.o capture_sync.o color_filters.o file.o fileset.o filters.o g711.o merge.o proto_hier_stats.o sync_pipe_write.o summary.o tempfile.o .libs/wiresharkS.o -pthread -Wl,--export-dynamic  -L/usr/local/lib gtk/libui.a codecs/libcodec.a wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so -lcrypto /usr/lib/libpcre.so -lpcap /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -L/usr/lib /usr/lib/libgnutls.so /usr/lib/libtasn1.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -lz
epan/.libs/libwireshark.so: undefined reference to `.LC831'
epan/.libs/libwireshark.so: undefined reference to `.LC837'
epan/.libs/libwireshark.so: undefined reference to `.LC834'
epan/.libs/libwireshark.so: undefined reference to `.LC830'
epan/.libs/libwireshark.so: undefined reference to `.LC832'
epan/.libs/libwireshark.so: undefined reference to `.LC838'
epan/.libs/libwireshark.so: undefined reference to `.LC833'
epan/.libs/libwireshark.so: undefined reference to `.LC829'
epan/.libs/libwireshark.so: undefined reference to `.LC836'
collect2: ld returned 1 exit status
make[2]: *** [tshark] Error 1
make[2]: *** Waiting for unfinished jobs....
epan/.libs/libwireshark.so: undefined reference to `.LC831'
epan/.libs/libwireshark.so: undefined reference to `.LC837'
epan/.libs/libwireshark.so: undefined reference to `.LC834'
epan/.libs/libwireshark.so: undefined reference to `.LC830'
epan/.libs/libwireshark.so: undefined reference to `.LC832'
epan/.libs/libwireshark.so: undefined reference to `.LC838'
epan/.libs/libwireshark.so: undefined reference to `.LC833'
epan/.libs/libwireshark.so: undefined reference to `.LC829'
epan/.libs/libwireshark.so: undefined reference to `.LC836'
collect2: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5'
make: *** [all] Error 2


Portage 2.1.2-r9 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.19-hardened-r4 i686)
=================================================================
System uname: 2.6.19-hardened-r4 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Sun, 11 Feb 2007 10:59:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ynt.sk/pub http://gentoo.zie.pg.gda.pl http://ftp.gentoo.skynet.be/pub/gentoo/"
LINGUAS="en de eu ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi acpi4linux aiglx alsa apache2 apm asf aspnet2 audiofile avi bcmath berkdb bitmap-fonts bluetooth bzip2 cdr cgi clamav clamd cli cpudetection crypt css ctype cups curl dba dbus deprecated devmap dga discouraged djbfft dri dts dvb dvd dvdr ecc eds encode escreen esd examples exif expat fam fb fbcon ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif gimp gimpprint glitz glut gmail gmailtimestamps gmp gnome gnuplot gnutls gpgme gphoto2 gpm gstreamer gtalk gtk gtk2 guile hal hardened hfs iconv idea idle idn ieee1394 imagemagick imap imlib ipv6 isdn java javascript jp2 jpeg junit lcms ldap libcaca libclamav libnotify libwww lirc lm_sensors logitech-mouse lufsusermount lzo mad maildir matroska md5sum menubar mhash midi mjpeg mmx mmxext mng mod_irc mod_muc mod_pubsub mono motif mozdevelop moznocompose moznoirc moznomail mozp3p mozsvg mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer multiuser musicbrainz mysql mythtv ncurses nls no-seamonkey nptl nptlonly nsplugin ntlm oav odbc offensive ogg oggvorbis openal opengl oss pam pam-mysql pcap pcre pdf pear perl php pic png pnp postfix python qt qt3 qt3support qt4 quicktime rc5 rdesktop readline real reiserfs samba sasl sblive scanner sdl serial session slang smime sms snortsam soap sockets spamassassin speedo speex spell sqlite sse sse2 ssl subversion svg sysvipc tcltk tcpd tetex theora threads tiff tk trayicon truetype truetype-fonts type1-fonts udev unicode usb v4l2 vcd vim-with-x virus-scan vnc vorbis web win32codecs wma wmf x264 x86 xanim xcomposite xinerama xml xml2 xorg xprint xscreensaver xsl xv xvid zlib" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" FCDSL_CARDS="fcdsl" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de eu ru" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="vesa fbdev ati fglrx radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 15 PaX Team 2007-03-12 20:50:09 UTC
hello folks, sorry for chiming in so late, but always had something better to do. so, the problem appears to be some kind of gcc 3.4.x bug. what happens is that gcc tries to optimize string constants and somehow that generates undefined symbol references.

take a look at epan/dissectors/packet-ieee80211.c and in particular, the "const value_string fields[]" array in dissect_vendor_ie_wpawme() and then the "static hf_register_info ff[]" array in proto_register_ieee80211(). in both arrays you'll find strings that are the same -> gcc will optimize them into one instance and generates those LC... symbol references for them in the ff[] array - except the actual LC... symbols are somehow not emitted, my guess was that it had something to do with the fact that the fields[] mentioned above was a local variable in a function (vs. being a static one like the other similar arrays are). so i patched the code to make fields[] (and direction[] too while i was at it) static and now it compiled fine. this should also be correct from a program logic point of view, there's no need to instantiate these arrays on each function invocation (which is what happens with the original code).
Comment 16 malus 2007-04-16 07:29:32 UTC
(In reply to comment #8)
> I had the same error too, but fixed it by changing default compiler from
> gcc-3.4.6 to gcc-4.1.1. I think wireshark links against newer gcc-libs and
> thats the reason why we get the "undefined reference" errors here. Hope this
> helps you, then we can mark this report as fixed.
> 

I tried to compile it with gcc-4.1.1 and i have no problems. lol :)
Comment 17 Guenther Brunthaler 2007-04-17 03:36:48 UTC
I have encountered the same problem. My compiler is sys-devel/gcc-3.4.6-r2.

Using Google, I found a reference to the problem, stating it might be a related to compiler optimization settings.

However, I have not been able to verify this, because the ebuild obviously filters out my "-O3" from /etc/make.conf anyway, replacing it by a a plain "-O".

These are the essential resulting compiler flags which have been used according to the build log (I stripped the warnings- and include path settings):

-march=athlon-tbird -O -DNDEBUG -pipe -fno-stack-check -pthread

The Wireshark package has been configured with the following options.
                    Build wireshark : yes
                       Build tshark : yes
                     Build capinfos : yes
                      Build editcap : yes
                      Build dumpcap : yes
                     Build mergecap : yes
                    Build text2pcap : yes
                      Build idl2wrs : yes
                      Build randpkt : yes
                       Build dftest : yes

                     Install setuid : no
                        Use plugins : yes
                   Build lua plugin : no
                   Build rtp_player : no
                Use GTK+ v2 library : yes
                        Use threads : yes
             Build profile binaries : no
                   Use pcap library : yes
                   Use zlib library : yes
                   Use pcre library : yes
               Use kerberos library : no
               Use GNU ADNS library : no
             Use GNU crypto library : yes
             Use SSL crypto library : yes
           Use IPv6 name resolution : no
               Use Net-SNMP library : no
                 Use gnutls library : yes
Comment 18 Guenther Brunthaler 2007-04-17 05:29:47 UTC
I fixed it - at least for my machine:

I edited $(equery which net-analyzer/wireshark) and changed the line

      replace-flags -O? -O

in src_compile() into

      replace-flags -O? -O3

Then I updated the checksums with

ebuild $(equery which net-analyzer/wireshark) digest

and retried to re-emerge the package.

And this time it worked!

Seems wireshark now *requires* a higher optimization setting, at least for GCC 3.4.6-r2, while in the past obviously the contrary has been true.

On the other hand, I have not yet tested it to actually work - but nevertheless, at least it compiles now.

Can anyone please verify my findings with a different GCC version?
Comment 19 Philippe Chaintreuil 2007-04-17 15:40:10 UTC
Guenther Brunthaler's method from comment 13 just worked for me.

emerge --info:

Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 17 Apr 2007 12:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O1 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo"
LANG="en_US"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa artworkextra asf async automount bash-completion beagle berkdb bitmap-fonts boundschecking branding bzip2 cairo cddb cdr cli cracklib crypt css cups dbus doc dri dvd dvdr dvdread emboss encode firefox foomaticdb gd gif gimpprint glitz gnome gnutls gpm gstreamer gtk gtk2 hal i8x0 iconv imap imlib isdnlog jack-tmpfs javascript jce jpeg libg++ libwww logrotate mad midi mikmod mime mmx mono motif mozbranding moznoirc mozsvg mp3 mpeg ncurses nfs nptl nptlonly nsplugin nvidia ogg opengl pam pcmcia pcre perl png ppds pppd python quicktime readline real reflection samba sasl sdl session slp spell spl sse sse2 ssl swat syslog tcpd theora tiff truetype truetype-fonts type1-fonts vim-with-x vorbis win32codecs winbind x86 xcomposite xine xml xorg xpm xprint xscreensaver xv zlib" ALSA_CARDS="intel8x0 intel8x0m" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 20 Philippe Chaintreuil 2007-04-17 15:40:56 UTC
Err, comment 18, not 13.
Comment 21 Markus Ullmann (RETIRED) gentoo-dev 2007-04-18 11:59:16 UTC
Added the optimization solution to the ebuild, thanks for the hint and keep up the good work :)
Comment 22 Peter Volkov (RETIRED) gentoo-dev 2007-11-24 14:28:33 UTC
Guys, this is test request.

 * I'm going to drop patch reported in #11 in wireshark-0.99.7 as it does not apply cleanly with this new version and also I'm not sure why we have both solutions: 1. patch and 2. forcing -O2 with gcc-3.4. In any case I've tested with gcc-3.4 and it merges/works here.
 * Also I've forced "replace-flags -O? -O" to be applied only with old compilers. I do not see such problems with gcc-4.2.

Could anybody test the pre-release from my overlay:
http://overlays.gentoo.org/dev/pva/browser/net-analyzer/wireshark
and report results here? I'm very interested to see test results on hardened as personally I still do not have such system. Thank you in advance.
Comment 23 Kristian 2007-11-24 19:59:25 UTC
(In reply to comment #22)
> Could anybody test the pre-release from my overlay:
> http://overlays.gentoo.org/dev/pva/browser/net-analyzer/wireshark
> and report results here? I'm very interested to see test results on hardened as
> personally I still do not have such system. Thank you in advance.

compiles and runs fine for me.

Portage 2.1.4_rc3 (hardened/x86/2.6, gcc-3.4.6, glibc-2.7-r0, 2.6.22-hardened-r7 i686)
=================================================================
System uname: 2.6.22-hardened-r7 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Timestamp of tree: Sat, 24 Nov 2007 11:00:05 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r7, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 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.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
Comment 24 Peter Volkov (RETIRED) gentoo-dev 2007-11-26 07:32:52 UTC
Thank you Kristian.