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

Error building due to --color-diagnostics #16

Closed
pauldemarco opened this issue Jun 18, 2019 · 8 comments
Closed

Error building due to --color-diagnostics #16

pauldemarco opened this issue Jun 18, 2019 · 8 comments

Comments

@pauldemarco
Copy link

/home/paul/flutter_embedded/sdk/toolchain/bin/arm-linux-gnueabihf-ld: unrecognized option '--color-diagnostics'
/home/paul/flutter_embedded/sdk/toolchain/bin/arm-linux-gnueabihf-ld: use the --help option for usage information
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

Possibly related to #13

@DisDis
Copy link
Contributor

DisDis commented Jun 18, 2019

#13 (comment)

@pauldemarco
Copy link
Author

Thanks, whats the best way to get this baked in?

@DisDis
Copy link
Contributor

DisDis commented Jun 18, 2019

@pauldemarco

  1. Change it.
  2. Remove build/toolchain-prefix/src/toolchain-stamp/toolchain-build and toolchain-configure
  3. autoninja

@DisDis
Copy link
Contributor

DisDis commented Jun 18, 2019

or change files manually.
use: grep -iRl "color-diagnostics" ./build/

@pauldemarco
Copy link
Author

@DisDis

Sorry, let me clarify. By "baked in" I mean so we don't have to do any additional steps outside of the build commands.

@DisDis
Copy link
Contributor

DisDis commented Jun 19, 2019

@pauldemarco
i wrote all steps.

  1. please change 'LINKER_SUPPORTS_COLOR_DIAGNOSTICS:INTERNAL=0'
  2. delete two files.
  3. run autoninja

@pauldemarco
Copy link
Author

Great, I'll go ahead and see if I can bake this in with a PR.

Thanks!

@DisDis
Copy link
Contributor

DisDis commented Jun 19, 2019

@pauldemarco for PR you only need to change 'LINKER_SUPPORTS_COLOR_DIAGNOSTICS:INTERNAL=0'

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