First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Core2 Q9550 Supports sse4.1, not sse4.2--how to not build sse4.2?

Building 2.6.6 for Core2 Q9550, CRUX (Linux) 3.4 with CFLAGS including -msse4.1 and -mno-sse4.2, configure tests "whether we can add -msse4.2 to CFLAGS...", concludes yes; then fails trying to build ws_mempbrk_sse42.c. How can I convince wireshark not to use -msse4.2?

dlcusa's avatar
1
dlcusa
asked 2019-04-18 01:56:39 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Okay, I'll just do a Q&D fix. But autoconfig really should either honor the environment's CFLAGS or provide an option for building with/without sse4.2 support, rather than basing the decision upon whether or not the compiler supports sse4.2.

dlcusa's avatar
1
dlcusa
answered 2019-04-18 13:31:49 +0000
edit flag offensive 0 remove flag delete link

Comments

autoconfig has been dropped in newer versions for CMake. I've no idea if CMake will do a better job for your system.

grahamb's avatar grahamb (2019-04-18 13:41:15 +0000) edit

It's a fringe case, anyway. I'm sure at run-time it does not attempt to execute sse4.2 instructions on Intel boxen without the feature. Most folks are happy to let it build it if it can compile it.

dlcusa's avatar dlcusa (2019-04-18 14:35:06 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer