我要评分
获取效率
正确性
完整性
易理解

__uint128_t Not Supported

Error Information

1
2
clang: warning: unknown platform, assuming -mfloat-abi=soft 
error: unknown type name '__uint128_t'

Problem

During compilation in 32-bit mode (for example, the -m32 parameter is added), an error is reported, indicating that __uint128 is not supported.

In addition, a warning is displayed, indicating that the platform is unknown and the -mfloat-abi=soft parameter is used to compile floating-point operations into soft-float.

Solution

  • Delete the -m32 parameter and perform compilation in 64-bit mode.
  • Check the platform decision making processes of build scripts, such as Makefile and configure, and use correct platform options for compilation.