bigben0204 opened a new issue, #17241:
URL: https://github.com/apache/doris/issues/17241

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   1.2.2-rc01
   
   ### What's Wrong?
   
   使用ldb编译时报错:
   ```shell
   ===== begin build hyperscan-5.4.0
   CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
     Compatibility with CMake < 2.8.12 will be removed from a future version of
     CMake.
   
     Update the VERSION argument <min> value or use a ...<max> suffix to tell
     CMake that the project does not need compatibility with older versions.
   
   
   -- The C compiler identification is GNU 11.1.0
   -- The CXX compiler identification is GNU 11.1.0
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: /data01/dingben/doris/ldb_toolchain/bin/gcc 
- skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Check for working CXX compiler: 
/data01/dingben/doris/ldb_toolchain/bin/g++ - skipped
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Performing Test ARCH_64_BIT
   -- Performing Test ARCH_64_BIT - Success
   -- Performing Test ARCH_32_BIT
   -- Performing Test ARCH_32_BIT - Failed
   -- Default build type 'Release with debug info'
   -- using release build
   -- Boost version: 1.81.0
   -- Found PythonInterp: /usr/bin/python (found version "2.7.18")
   -- Build date: 2023-02-28
   -- Building static libraries
   -- gcc version 11.1.0
   cc1: error: CPU you selected does not support x86-64 instruction set
   CMake Error at CMakeLists.txt:209 (message):
     Something went wrong determining gcc tune: -mtune=i386 not valid
   
   
   -- g++ version 11.1.0
   ```
   
   
   
   ### What You Expected?
   
   在海光x86环境+Ctyunos环境可以正常编译通过
   
   ### How to Reproduce?
   
   在海光x86环境+Ctyunos环境,使用ldb命令生成toolchain,再进行sh build.sh即可复现
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to