Ask Your Question
0

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

asked 2019-04-18 01:56:39 +0000

dlcusa gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-04-18 13:31:49 +0000

dlcusa gravatar image

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.

edit flag offensive delete link more

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 gravatar imagegrahamb ( 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 gravatar imagedlcusa ( 2019-04-18 14:35:06 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-04-18 01:56:39 +0000

Seen: 361 times

Last updated: Apr 18 '19