{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/7054","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/7054/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/7054/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/7054/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/7054","id":190351259,"number":7054,"title":"GMP was compiled with -march=sandybridge","user":{"login":"smtrat","id":12333308,"avatar_url":"https://avatars.githubusercontent.com/u/12333308?v=3","gravatar_id":"","url":"https://api.github.com/users/smtrat","html_url":"https://github.com/smtrat","followers_url":"https://api.github.com/users/smtrat/followers","following_url":"https://api.github.com/users/smtrat/following{/other_user}","gists_url":"https://api.github.com/users/smtrat/gists{/gist_id}","starred_url":"https://api.github.com/users/smtrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smtrat/subscriptions","organizations_url":"https://api.github.com/users/smtrat/orgs","repos_url":"https://api.github.com/users/smtrat/repos","events_url":"https://api.github.com/users/smtrat/events{/privacy}","received_events_url":"https://api.github.com/users/smtrat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-18T15:47:18Z","updated_at":"2016-11-20T10:29:04Z","closed_at":"2016-11-20T10:29:04Z","body":"I use a library that decided to reuse the compilation flags of gmp that are defined in __GMP_CFLAGS at the end of gmp.h. If gmp was installed as binary package via homebrew, these flags contain -march=sandybridge and -mtune=sandybridge.\r\n\r\nGiven that there are still machines out there with pre-sandybridge processors, this seems very risky. Could we change this to some sane defaults? Debian, for example, does not specify -mtune and -march at all.\r\n\r\nFor some reason, I have never encountered a problem with gmp itself. Is gmp even compiled with these options? Or are they just spurious remainders of the machine that builds the packages?"}}
{"actor":{"display_login":"ilovezfs"}}