Bug 196768 - SSE2 detection fails during configuration
Summary: SSE2 detection fails during configuration
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CMake (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 08:04 PDT by Thomas Zajic
Modified: 2021-03-06 06:28 PST (History)
2 users (show)

See Also:


Attachments
detailed cmake output of the configuration run (31.80 KB, text/plain)
2019-04-10 08:04 PDT, Thomas Zajic
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Zajic 2019-04-10 08:04:21 PDT
Created attachment 367121 [details]
detailed cmake output of the configuration run

webkit-gtk-2.24.1, cmake-3.5.2, clang-3.8.0 (Slackware's gcc-5.5.0 is too old), Slackware 14.2 (i686/32bit):

> $ mkdir -p build && cd build && cmake .. -DPORT=GTK -DUSE_LD_GOLD=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER=/usr/bin/clang
> -- The C compiler identification is Clang 3.8.0
> -- The CXX compiler identification is Clang 3.8.0
> -- Check for working C compiler: /usr/bin/clang
> -- Check for working C compiler: /usr/bin/clang -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/clang++
> -- Check for working CXX compiler: /usr/bin/clang++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- The CMake build type is: Release
> -- Performing Test HAVE_SSE2_EXTENSIONS
> -- Performing Test HAVE_SSE2_EXTENSIONS - Success
> CMake Error at CMakeLists.txt:115 (message):
>   SSE2 support is required to compile WebKit
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/usr/local/src/webkitgtk-2.24.1/build/CMakeFiles/CMakeOutput.log".

The CMakeOutput.log is attached. Needless to say, my CPU *does* have SSE2 support of course:

> $ grep flags /proc/cpuinfo | uniq | xargs -n1 | grep sse
> sse
> sse2
> ssse3
> sse4_1
> sse4_2
Comment 1 Alberto Garcia 2021-03-05 08:36:56 PST
Is this problem still present?
Comment 2 Thomas Zajic 2021-03-06 06:28:57 PST
No, it's not. TBH, I don't even remember having reported this bug. ;-) No problems compiling webkitgtk-2.30.5 with cmake-3.19.6 and llvm/clang-10.0.1 on Slackware 14.2 (i686/32bit). Feel free to close this bug.