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

clang 5.0 unknown arguments error #1294

Closed
csordasmarton opened this issue Jan 16, 2018 · 0 comments
Closed

clang 5.0 unknown arguments error #1294

csordasmarton opened this issue Jan 16, 2018 · 0 comments
Assignees
Labels
analyzer 📈 Related to the analyze commands (analysis driver) bug 🐛
Milestone

Comments

@csordasmarton
Copy link
Contributor

Clang 5.0 throws a lot of unknown error messages when running the following command:
CodeChecker analyze test.json -o ./reports

[ERROR] [2018-01-16 08:42] - Analyzing 'test1.c' with clangsa failed.
[ERROR] [2018-01-16 08:42] - clang-5.0: error: unknown argument: '-msahf'
clang-5.0: error: unknown argument: '-mno-abm'

[ERROR] [2018-01-16 08:42] - Analyzing 'test2.c' with clangsa failed.
[ERROR] [2018-01-16 08:42] - clang-5.0: error: unknown argument: '-msahf'
clang-5.0: error: unknown argument: '-mno-abm'

[ERROR] [2018-01-16 08:42] - Analyzing 'test3.c' with clangsa failed.
[ERROR] [2018-01-16 08:42] - clang-5.0: error: unknown argument: '-msahf'
clang-5.0: error: unknown argument: '-mno-abm'

[ERROR] [2018-01-16 08:42] - Analyzing 'test4.c' with clangsa failed.
[ERROR] [2018-01-16 08:42] - clang-5.0: error: unknown argument: '-fr'
clang-5.0: error: unknown argument: '-fs'
clang-5.0: error: unknown argument: '-ffp'
clang-5.0: error: unknown argument: '-fno-jump-table'
clang-5.0: error: unknown argument: '-finline-local-initialisers'
clang-5.0: error: unknown argument: '-fno-jump-table'

[ERROR] [2018-01-16 08:42] - Analyzing 'test5.c' with clangsa failed.
[ERROR] [2018-01-16 08:42] - clang-5.0: error: unknown argument: '-fr'
clang-5.0: error: unknown argument: '-fs'
clang-5.0: error: unknown argument: '-ffp'
clang-5.0: error: unknown argument: '-fno-jump-table'
clang-5.0: error: unknown argument: '-finline-local-initialisers'
clang-5.0: error: unknown argument: '-fno-jump-table'
@csordasmarton csordasmarton added bug 🐛 analyzer 📈 Related to the analyze commands (analysis driver) labels Jan 16, 2018
@csordasmarton csordasmarton added this to the release 6.5 milestone Jan 16, 2018
@csordasmarton csordasmarton self-assigned this Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer 📈 Related to the analyze commands (analysis driver) bug 🐛
Projects
None yet
Development

No branches or pull requests

1 participant