Giter Club home page Giter Club logo

Comments (8)

traversc avatar traversc commented on May 29, 2024

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.

PMSeitzer avatar PMSeitzer commented on May 29, 2024

@traversc It appears to be. A quick google search finds several other related issues:

https://developer.apple.com/forums/thread/666700

https://stackoverflow.com/questions/65251887/clang-7-error-linker-command-failed-with-exit-code-1-for-macos-big-sur

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.

traversc avatar traversc commented on May 29, 2024

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.

PMSeitzer avatar PMSeitzer commented on May 29, 2024

@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.

traversc avatar traversc commented on May 29, 2024

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.

PMSeitzer avatar PMSeitzer commented on May 29, 2024

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.

traversc avatar traversc commented on May 29, 2024

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.

PMSeitzer avatar PMSeitzer commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.