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

Bisect clang regression between 5.0 and trunk #112

Open
Teemperor opened this issue Nov 23, 2017 · 3 comments
Open

Bisect clang regression between 5.0 and trunk #112

Teemperor opened this issue Nov 23, 2017 · 3 comments

Comments

@Teemperor
Copy link
Owner

Current clang/llvm from trunk doesn't compile boost anymore with our modulemap:

hile building module 'boost_modules_wrapper' imported from /home/teemperor/boost-compile/cms.cpp:2:
In file included from <module-includes>:326:
/home/teemperor/boost-compile/inc/boost/units/cmath.hpp:604:103: error: no member named 'radians' in namespace 'boost::units::si'
    return quantity<unit<plane_angle_dimension, homogeneous_system<System> >,Y>(acos(val.value())*si::radians);
                                                                                                  ~~~~^
/home/teemperor/boost-compile/inc/boost/units/cmath.hpp:622:103: error: no member named 'radians' in namespace 'boost::units::si'
    return quantity<unit<plane_angle_dimension, homogeneous_system<System> >,Y>(asin(val.value())*si::radians);
                                                                                                  ~~~~^
/home/teemperor/boost-compile/inc/boost/units/cmath.hpp:640:103: error: no member named 'radians' in namespace 'boost::units::si'
    return quantity<unit<plane_angle_dimension, homogeneous_system<System> >,Y>(atan(val.value())*si::radians);
                                                                                                  ~~~~^
/home/teemperor/boost-compile/inc/boost/units/cmath.hpp:659:113: error: no member named 'radians' in namespace 'boost::units::si'
    return quantity<unit<plane_angle_dimension, homogeneous_system<System> >, Y>(atan2(y.value(),x.value())*si::radians);
                                                                                                            ~~~~^
While building module 'boost_modules_wrapper' imported from /home/teemperor/boost-compile/cms.cpp:2:

We need to bisect the clang commits between 5.0 and now to see what commit broke this that we can fix it.

@vgvassilev
Copy link
Collaborator

Hey @yamaguchi1024, could you look into this problem. llvm-lab bisect could be very useful here.

@Teemperor
Copy link
Owner Author

r315402 is the reason it seems

@vgvassilev
Copy link
Collaborator

The discussion here may contain some information how to reproduce it...

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

2 participants