Comments (8)
Thank you for the information. I rarely use mac, but I do have a laptop available with Catalina. Do you know if this is an issue with Big Sur specfically?
from qs.
@traversc It appears to be. A quick google search finds several other related issues:
https://developer.apple.com/forums/thread/666700
Although, FWIW, every time the mac OS updates, I find that some of my build scripts break and I have to go hunting for low-level header files/libraries, e.g. cmath.h
and boost
. I use Qt Creator
and cmake
frequently for C++ and Qt Creator
frequently needs to be reconfigured after OS updates.
from qs.
If pthreads isn't universally available, I wonder if the guidance on pthreads in "Writing R Extensions" needs to be updated?
For qs
, I think the long term solution would be to switch to RcppParallel
but that would require a re-factor.
I plan on forwarding this issue to the mailing list and seeing what people think.
from qs.
@traversc Great! glad you're working on the issue.
I'm happy to provide additional information if it's helpful. Best of luck in forwarding the issue to the mailing list.
from qs.
I upgraded Catalina -> Big Sur, but have not been able to reproduce the error. I commented out everything in ~/.R/Makevars just in case.
Here's my clang:
% clang++ --version
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Maybe something about xcode needs to be updated?
from qs.
Hey @traversc , It's certainly possible that there is something strange about my build configuration that wouldn't affect users in general. I am running on a different version of clang++
, which might be the issue:
% clang++ --version
clang version 6.0.0 (tags/RELEASE_600/final)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /usr/local/clang6/bin
from qs.
Clang 6 is pretty old and I am far from an expert on Mac, but your clang isn't using xcode which is a little strange to me.
The official R documentation recommends building xcode:
sudo xcode-select --install
https://mac.r-project.org/tools/
I wonder if that would help?
from qs.
Hey @traversc ,
Thanks for the suggestion, but the I already have the xcode command line tools, and I've run the command you've suggested before. I'm also using the llvm
compiler for some programs, and I've had to mess with some low-level configuration files to manage multiple compilers. It might be safe to say that this issue is probably specific to my system, and not a big problem. I'm not sure why qread()
was crashing, but I'm glad I could get it all to work once I rebuilt the package. Thanks again for all of your help!
from qs.
Related Issues (20)
- can't install 'qs' package on remote server CentOS Linux 7 (Core) HOT 1
- replacement of save.image ? HOT 2
- zstd decompression error - qread() HOT 2
- Documentation and examples, especially for qsave_ptr HOT 1
- Unexpected behavior when loading .qs file HOT 2
- Extra memory usage when loading an object twice HOT 2
- Slowly when using multiple threads HOT 1
- ALTREP serialization and deserialization methods are ignored HOT 20
- Rocky 8 Linux: ld: cannot find -latomic HOT 17
- Saving ggplot object results in indefinitely growing file HOT 3
- qs apparently slower than rds when saving nested lists HOT 2
- DESCRIPTION file broken? HOT 6
- read part of a qs file into memory HOT 1
- Deserialization arbitrary code execution attack HOT 6
- qsave() bad binding access HOT 5
- qread() cannot locate file on cloud? HOT 4
- segfault: RApiSerialize update requires rebuilding/reinstalling qs from source HOT 6
- qs segfaults when using a data.frame with external pointer in attributes in renv-controlled session HOT 1
- New check for `libatomic` in 0.26.3 does not work HOT 5
- qsavem(list = ls(),file = "environment2.qs",nthreads = 4) Error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qs.