Giter Club home page Giter Club logo

Comments (3)

iustin avatar iustin commented on August 23, 2024

Hey, thanks for the report, at least good to know. Unfortunately I don't have access to any MacOS, so debugging will be hard.

Just curious, what clang version is there on MacOS Mojave? I wonder if it's a MacOS difference, or a clang difference.

Another option is to edit the setup.py file and remove the -Werror setting; I think the "linker input unused" is just a warning, but -Werror makes it a hard error.

from pyxattr.

tmsincomb avatar tmsincomb commented on August 23, 2024

You were correct about the clang difference - thanks! The issue was luckily already solved.

My current default Clang that works without LLVM installed:

> clang -v
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I was using LLVM where the Clang version read as:

> clang -v
clang version 10.0.0 
Target: x86_64-apple-darwin19.5.0
Thread model: posix
InstalledDir: /Users/tmsincomb/anaconda3/envs/py38/bin

I was able to track down the specific error in building xattr. It would seem there is a default option -platform_version that is deprecated. The people working on LLVM mention it here https://reviews.llvm.org/D74784. Although LLVM was indicated as up-to-date on both brew and anaconda it would still crash for me. A forced reinstall for either being used would fix it. Although that Clang version printout for LLVM is the same with the reinstall there are no more errors/warnings.

There was someone else with the same issue here indicating this might be a lingering issue for the MacOS - LLVM users. https://stackoverflow.com/questions/62726754/mujoco-on-macos-catalina-ld-unknown-option-platform-version-when-importing/62746029#62746029.

from pyxattr.

iustin avatar iustin commented on August 23, 2024

Thanks for clarifying, and glad to hear it was solved.

from pyxattr.

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.