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

gcc: error: unrecognized command line option ‘-fno-plt’: GCC7 issue? #13485

Closed
pinin4fjords opened this issue Feb 4, 2019 · 2 comments
Closed

Comments

@pinin4fjords
Copy link
Contributor

I'm getting this error while trying to get #13473 to work. It seems to be down to the use of the old GCC, so I tried various ways, without success, to use a newer one. So:

  • Is the old GCC actually the problem? I know very little about C programming, but I don't believe "-fno-plt" is added by the code I'm trying to install.
  • If so, how do you actually get GCC7 used?
@pinin4fjords
Copy link
Contributor Author

Ahh, think it's due to lack of $CC usage by the author of the source package. Will confirm for posterity later.

@pinin4fjords
Copy link
Contributor Author

Yup, that was the problem, which solved this immediate issue. But it turned out I needed to use the older GCC (once I worked out how to make sure that happened).

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

1 participant