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
[SR-4195] omit frame pointer is not whitelisted #5073
Comments
@ddunbar What do you think we should do here? Will this be solved by build settings? |
Comment by tanner0101 (JIRA) Update:
Strange b/c it works on my local docker copy of Ubuntu 16.04 |
Thats probably because of difference in pc files on your local docker and circle ci. |
I think what we should do for now is accept and discard these flags. -fabi-version is something only G++ takes. -fno-omit-frame-pointer isn't required for correctness of dependents, so I don't think we would want to propagate it in this manner |
Comment by tanner0101 (JIRA) It would be nice if non whitelisted flags could be ignored (maybe just print warnings?) without causing the build to fail. Any chance a fix like this could be making it into Swift 3.1? We're trying to figure out how to handle linker flags in Vapor 2 and I'd love if we could start using pkg config over the custom CLI system we have now. |
Comment by tanner0101 (JIRA) |
Comment by Pop Flamingo (JIRA) I encountered the same issue and did a PR to try to fix it : #1827 Don't hesitate to comment it if you have any feedback. |
Additional Detail from JIRA
md5: 3528ba291b3b454cfba59ed543ac6675
is duplicated by:
Issue Description:
Would it be possible to white list this flag in pkg config? It's preventing mysql from linking properly
The offending line of the .pc file
/usr/local/opt/mysql/lib/pkgconfig/mysqlclient.pc
Environment:
The text was updated successfully, but these errors were encountered: