Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Broken master build on mac #122

Closed
gowthamrang-ds opened this issue Aug 4, 2021 · 1 comment
Closed

[Bug] Broken master build on mac #122

gowthamrang-ds opened this issue Aug 4, 2021 · 1 comment

Comments

@gowthamrang-ds
Copy link

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) error

    > 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

@gowthamrang-ds gowthamrang-ds changed the title Broken Master build on Mac [Bug] Broken master build on mac Aug 4, 2021
@SergeiAlonichau
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants