Wireshark-bugs: [Wireshark-bugs] [Bug 3314] New: wireshark-1.1.2 build fails in function 'dissec
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3314
Summary: wireshark-1.1.2 build fails in function
'dissect_sflow_sample_rawheaderdata'
Product: Wireshark
Version: 1.1.x (Experimental)
Platform: PC
OS/Version: All
Status: NEW
Severity: Major
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: pva@xxxxxxxxxx
Peter <pva@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2829| |review_for_checkin?
Flag| |
Created an attachment (id=2829)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2829)
wireshark-1.1.2-misc-warnings.patch
Build Information:
This is build issue.
--
Wireshark fails to buld:
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..
-I./../.. -I./.. -I/usr/include -I/usr/local/include -I/usr/include/pcap
-DPLUGIN_DIR=\"/usr/lib64/wireshark/plugins/1.1.2\" -Werror -DINET6
"-D_U_=__attribute__((unused))" -O2 -pipe -march=athlon64 -mtune=athlon64
-msse3 -fomit-frame-pointer -ftracer -Wall -W -Wdeclaration-after-statement
-Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align
-Wformat-security -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 -I/usr/include/pcap -MT
libdissectors_la-packet-sflow.lo -MD -MP -MF
.deps/libdissectors_la-packet-sflow.Tpo -c packet-sflow.c -fPIC -DPIC -o
.libs/libdissectors_la-packet-sflow.o
cc1: warnings being treated as errors
packet-sflow.c: In function 'dissect_sflow_sample_rawheaderdata':
packet-sflow.c:566: error: variable 'next_tvb' might be clobbered by 'longjmp'
or 'vfork'
packet-sflow.c:567: error: variable 'sflow_header_tree' might be clobbered by
'longjmp' or 'vfork'
packet-sflow.c:571: error: variable 'save_writable' might be clobbered by
'longjmp' or 'vfork'
packet-sflow.c:572: error: variable 'save_in_error_pkt' might be clobbered by
'longjmp' or 'vfork'
make[4]: *** [libdissectors_la-packet-sflow.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/net-analyzer/wireshark-1.1.2/work/wireshark-1.1.2/epan/dissectors'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/var/tmp/portage/net-analyzer/wireshark-1.1.2/work/wireshark-1.1.2/epan/dissectors'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-analyzer/wireshark-1.1.2/work/wireshark-1.1.2/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-analyzer/wireshark-1.1.2/work/wireshark-1.1.2'
make: *** [all] Error 2
Patch in attachment fixes this issue.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.