You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> git clone Bling-Fire-Git-Path
> cd BlingFire
> mkdir Release
> cd Release
> cmake -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is AppleClang 12.0.5.12050022
-- The CXX compiler identification is AppleClang 12.0.5.12050022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - 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: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
> make
....
2 warnings generated.
[ 57%] Linking CXX executable test_fsm
ld: unknown option: --gc-sections
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [test_fsm] Error 1
make[1]: *** [CMakeFiles/test_fsm.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
gowthamrang-ds
changed the title
Broken Master build on Mac
[Bug] Broken master build on mac
Aug 4, 2021
Followed https://github.com/Microsoft/BlingFire/wiki/How-to-change-linguistic-resources to set up the environment, failed to execute make with
ld: unknown option: --gc-sections clang: error: linker command failed with exit code 1 (use -v to see invocation)
errorThe text was updated successfully, but these errors were encountered: