Wireshark-bugs: [Wireshark-bugs] [Bug 10792] make SSE 4.2 support an optional choice
Date: Tue, 20 Jan 2015 08:01:46 +0000

Comment # 3 on bug 10792 from
Digging through the old build logs:

checking whether we can add -msse4.2 to CFLAGS... yes
...
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./..
-DTOP_SRCDIR=\"/home/jer/portage/net-analyzer/wireshark-1
.99.0.1975/work/wireshark-1.99.0-1975-g0efa992\" -DG_DISABLE_DEPRECATED
-DG_DISABLE_SINGLE_INCLUDES -DQT_GUI_LIB -I/usr/include -DPL
UGIN_INSTALL_DIR=\"/usr/lib64/wireshark/plugins/1.99.0-1975-g0efa992\"
-DWS_BUILD_DLL -Werror -msse4.2 -frecord-gcc-switches -g -pipe -O2
-fstack-protector -Wall -march=core2 -mcx16 -msahf -mno-movbe -mno-aes
-mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno
-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2
-msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32
--param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2
-Wno-comment -I/usr/include/libnl3 -Wall
 -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds -Wformat-security
-fwrapv -fno-strict-overflow -fno-delete-null-pointer-ch
ecks -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas
-Wno-overlength-strings -Wwrite-strings -Wno-long-lon
g -Wc++-compat -Wdeclaration-after-statement -Wshadow -Wno-pointer-sign
-Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wju
mp-misses-init -fexcess-precision=fast -fvisibility=hidden -DQT_SHARED
-I/usr/include/qt4 -I/usr/include/qt4/QtCore -DQT_SHARED -I/u
sr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/include/qt4/QtCore -pthread -I/usr/include/gtk-3.0 -I/usr/include/
at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/har
fbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/i
nclude/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -
I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c ws_mempbrk_sse42.c 
-fPIC -DPIC -o .libs/libwsutil_sse42_la-ws_mempbrk_sse42
.o

In file included from ws_mempbrk_sse42.c:33:0:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/nmmintrin.h:31:3: error: #error
"SSE4.2 instruction set not enabled"
ws_mempbrk_sse42.c:49:1: error: unknown type name ‘int8_t’
ws_mempbrk_sse42.c:56:1: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:56:22: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c: In function ‘_ws_mempbrk_sse42’:
ws_mempbrk_sse42.c:99:3: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:128:7: error: implicit declaration of function
‘__m128i_shift_right’ [-Werror=implicit-function-declaration]
ws_mempbrk_sse42.c:128:7: error: implicit declaration of function
‘_mm_load_si128’ [-Werror=implicit-function-declaration]
ws_mempbrk_sse42.c:128:7: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:131:7: error: implicit declaration of function
‘_mm_cmpistri’ [-Werror=implicit-function-declaration]
ws_mempbrk_sse42.c:135:11: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:135:11: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:148:15: error: implicit declaration of function
‘_mm_loadu_si128’ [-Werror=implicit-function-declaration]
ws_mempbrk_sse42.c:148:15: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:157:7: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:176:7: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:176:7: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:180:7: error: implicit declaration of function
‘_mm_cmpistrc’ [-Werror=implicit-function-declaration]
ws_mempbrk_sse42.c:199:7: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:199:7: error: unknown type name ‘__m128i’
ws_mempbrk_sse42.c:202:7: error: implicit declaration of function
‘_mm_cmpistrz’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors


You are receiving this mail because:
  • You are watching all bug changes.