Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Resolve LLVM error prompt may only occur zero or one times!

Shulou Source: shulou.com Published: 2022-06-01 07:26:20 11月26日 Update

Compile using LLVM obfuscator to add parameters with the following error:

clang (LLVM option parsing): for the -bcf option: may only occur zero or one times!

Copy all the compilation parameters, carefully compare and find that there are duplicates

-DINIT_SCRIPTING_BACKEND=1

-mllvm

-bcf

-fno-strict-overflow

-DINIT_SCRIPTING_BACKEND=1

-mllvm

-bcf

So look at the CFlag configuration of Xcode and find that there is a $(inherited) parameter. Delete this parameter.

Original address: www.exchen.net/%E8%A7%A3%E5%86%B3-llvm-%E9%94%99%E8%AF%AF%E6%8F%90%E7%A4%BA-may-only-occur-zero-or-one-times.html

Tags: Parameters compilation errors prompts original text address configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Linux Huawei Xiaomi Microsoft