Wireshark-bugs: [Wireshark-bugs] [Bug 10792] SSE 4.2 support being both enabled and disabled in
Date: Tue, 20 Jan 2015 08:20:26 +0000

Comment # 5 on bug 10792 from
(In reply to Guy Harris from comment #4)

> Hardware: x86 Gentoo

> We'll need to figure out why it's adding -mno-sse4.2.

It's probably Gentoo explicitly setting a whole bunch of build options based on
whatever ebuild decides to set or not set.

For almost all source files, that's what we want on Gentoo.  For
ws_mempbrk_sse42.c, however, either we want to detect what the build flags
specify and not enable -msse4.2 *and* the building of ws_mempbrk_sse42.c if
they disable SSE 4.2, or we want to, for ws_mempbrk_sse42.c, override the build
flags and always build with SSE 4.2 support on x86-64, given that we check for
SSE 4.2 support at *run* time and don't use the SSE 4.2 instructions if the
machine on which we're running doesn't support them.


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