-
Notifications
You must be signed in to change notification settings - Fork 32
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
boost::geometry compilation failing with LLVM 19 #101
Comments
I tend to update BH once a year in December, hitting one out of every three releases. If you need a submodule sooner I suggest a local copy in your package until BH can catch up. (Sorry for any delays I was gone for two days of cycling.) |
Thank you for your reply. So I'll disable the feature. I checked boost 1.85 and there is not fix and I don't know how to fix it anyway. |
I've posted this on boost::qvm so hopefully it will get resolved upstream. |
Update: qvm is being fixed |
Let's hope it gets into the December release that will be the basis of the next BH release (following the pattern). |
yep; although a few of us have until 9th October to fix this, so we'll have to go down the 'local copy' route until then. |
Oh, sorry to hear. Just had three of those myself in the last two weeks. And yes, local copy is best. |
qvm now fixed in their |
Hello ! I am one of the lucky guys that have the same problem with the geometry lib. Could one of you explain me how to have a local copy of the library in my package ? It would be very appreciated ! |
In |
Thank you @eddelbuettel, I will give it a try. |
Let us know how it goes, and if we can help. It would be good to have a worked example. |
it seems to work if I use the whole boost library locally. However, I would like to use only the required parts. I am stuck at compiling the tool "bcp" that is supposed to extract all the dependencies of a boost submodule. |
If you can use for example a Docker container, you can use that to get a Boost binary installation from a Linux distribution and use its |
We now have Boost 1.87.0-0 in the main branch, and at R-universe. So you could try that to see if it helps with these build issues. You can follow #103 to see how we are progressing towards CRAN migration. |
This is excellent news ! I could not make it work with a local copy of boost, and I am very happy to know that you are working on the next release of BH. During my last try, I got an error on CRAN on Ubuntu woth clang 19 which occured during the installation : *** caught segfault *** It seems that the error is happening when loading a c++ module of my package Traceback: It is rather strange because I have not edited this module since the last version and the package is installing correctly on other platforms. I also tried to validate it with rhub and it worked well even with ubuntu and clang19 : https://github.com/JeremyGelb/spNetwork/actions/runs/11527593888/job/32093568292. Let me know if I can do something to help. |
Hm, that is frustrating. Modules can be finicky and prefer to have all compilation units compiled by the same compiler. Maybe in the CRAN instances it got mixed? It is hard to tell. Maybe you can debug in a container? |
That's a good point. I will also try to bring this module in its own package and see if I can make it work on CRAN |
BH 1.87.0-1 is now arriving at CRAN and should help with clang-19. |
I received an email from Prof Bryan Ripley
In my specific case I have no control on the error. It comes from
boost::geometry
which itself is usingboost::qvm
https://www.stats.ox.ac.uk/pub/bdr/clang19/lidR.log Do you know if there is any plan for aboost
update in a close future? Otherwise my only option will be to get rid of the features.The text was updated successfully, but these errors were encountered: