Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239941 - net-analyzer/wireshark-1.1.0 fails to build with -ftracer
Summary: net-analyzer/wireshark-1.1.0 fails to build with -ftracer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL: https://bugs.wireshark.org/bugzilla/s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 12:05 UTC by Thomas Pegeot
Modified: 2008-10-17 10:12 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,378.82 KB, text/plain)
2008-10-05 12:23 UTC, Thomas Pegeot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pegeot 2008-10-05 12:05:41 UTC
I've got -ftracer in my C(XX)FLAGS and because of that, wireshark-1.1.0 fails to build : 

        then mv -f ".deps/libdissectors_la-packet-bootp.Tpo" ".deps/libdissectors_la-packet-bootp.Plo"; else rm -f
".deps/libdissectors_la-packet-bootp.Tpo"; exit 1; fi
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./.. -I/usr/include -I/usr/local/include
-DPLUGIN_DIR=\"/usr/lib64/wireshark/plugins/1.1.0\" -Werror -DINET6 "-D_U_=__attribute__((unused))" -march=k8 -O2 -pipe -ftree-vectorize -ftracer
-Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -I/usr/include
-I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -MT libdissectors_la-packet-bootp.lo -MD -MP -MF .deps/libdissectors_la-packet-bootp.Tpo -c packet-bootp.c  -fPIC -DPIC -o
.libs/libdissectors_la-packet-bootp.o
cc1: warnings being treated as errors
packet-bgp.c: In function ‘dissect_bgp’:
packet-bgp.c:2743: erreur: variable ‘next_tvb’ might be clobbered by ‘longjmp’ or ‘vfork’
make[4]: *** [libdissectors_la-packet-bgp.lo] Erreur 1
make[4]: *** Attente des tâches non terminées....
make[4]: quittant le répertoire « /var/tmp/portage/net-analyzer/wireshark-1.1.0/work/wireshark-1.1.0/epan/dissectors »
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « /var/tmp/portage/net-analyzer/wireshark-1.1.0/work/wireshark-1.1.0/epan/dissectors »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /var/tmp/portage/net-analyzer/wireshark-1.1.0/work/wireshark-1.1.0/epan »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/net-analyzer/wireshark-1.1.0/work/wireshark-1.1.0 »
make: *** [all] Erreur 2

If i disable this flags, wireshark builds correctly. ;) 

It is not really a problem for me, i just wanted to inform you about this.

Maybe this FLAG should be filtered... I don't know if there is another way to fix this kind of bug. 



emerge --info : 
Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-rc4 x86_64)
=================================================================
System uname: Linux-2.6.27-rc4-x86_64-AMD_Athlon-tm-_64_Processor_4000+-with-gentoo-2.0.0
Timestamp of tree: Sun, 05 Oct 2008 07:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8, 2.6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18.50.0.9
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ftree-vectorize -ftracer"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ftree-vectorize -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
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/layman/nouveau /usr/local/portage /usr/local/portage/layman/gimp"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avahi bash-completion bluetooth branding bzip2 cairo cddb cdio cdr cli cracklib crypt cups dbus dri dvb dvd dvdr dvdread emboss encode evo exif fam ffmpeg firefox flac fortran gcj gdbm gif glibc-omitfp gphoto2 gpm hal iconv ipod ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kipi libnotify live mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l v4l2 vorbis x264 xcb xinerama xml xorg xv xvid 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 mmap_emul 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="prefork" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" LIRC_DEVICES="devinput inputlirc" USERLAND="GNU" VIDEO_CARDS="nv nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
1.Append -ftracer to your FLAGS
2.Unmask net-analyzer/wireshark
3.Compile net-analyzer/wireshark



Expected Results:  
It should build ...
Comment 1 Thomas Pegeot 2008-10-05 12:23:44 UTC
Created attachment 167293 [details]
Build log
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-10-17 10:12:17 UTC
Thank you for report, Thomas. Fixed in the tree.