-
Notifications
You must be signed in to change notification settings - Fork 826
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
-flto breaks grid rendering on OS X #2232
Comments
looks like a mapnik/include/mapnik/grid/grid_marker_helpers.hpp Lines 85 to 152 in 15d3cef
|
http://clang-developers.42468.n3.nabble.com/need-help-to-log-optimization-bug-td3821572.html notes bugpoint (http://llvm.org/docs/Bugpoint.html) to help debug things like this. More details at http://quetzalcoatal.blogspot.com/2012/03/how-to-use-bugpoint.html |
now hitting similar errors on travis with clang (https://travis-ci.org/mapnik/mapnik/jobs/24497210#L1440). The travis guys must have upgraded the clang version. So perhaps is not just -flto but clang 5.1 is general that is broken and #2235 is a dupe. |
turns out to be a mapnik bug / incorrect c++11 lambda usage - nothing to do with clang++ or -flto. Now solved by #2264 |
Adding
-flto
to LDFLAGS and CXXFLAGS in master works with the exception that grid rendering breaks.The text was updated successfully, but these errors were encountered: