OSX linker errors trying to update 2 different python/C++ feedstocks
See original GitHub issueIssue: see https://github.com/conda-forge/humanleague-feedstock/pull/7 and https://github.com/conda-forge/neworder-feedstock/pull/7
The errors seem identical in both, e.g. from the humanleague PR
I’m trying to update the version of this package and 2 of the builds (both OSX) are failing with:
2020-11-07T14:03:44.4972520Z clang-10: error: -Wl,-export_dynamic: 'linker' input unused [-Werror,-Wunused-command-line-argument]
2020-11-07T14:03:44.4996480Z error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1
2020-11-07T14:03:44.5178070Z Building wheel for humanleague (setup.py): finished with status 'error'
I could silence this by adding -Wno-unused-command-line-argument (if I knew where to put it, which I don’t) but it’s probably not the best solution anyway. The other OSX build is fine (despite using the same version of clang), but does emit this warning:
2020-11-07T14:01:19.6837930Z ld: warning: -pie being ignored. It is only used when linking a main executable
which I’m assuming is relevant. I’ve no idea where the -fPIE flag has come from, it’s not in my setup.py and its not appropriate here as the target is a library? So I’m stumped, can anybody help please?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Clang linking error MacOS Big Sur
Hi All, I am trying to build my helloworld.cpp, but I am having problem since I updated to Big Sur. Below a verbose...
Read more >Linker error when compiling from head of master on MacOS
I am running into this issue as well while building with the master branch on MacOS High Sierra and Python 3.6. bazel version:...
Read more >Linker errors when compiling C++ application - macos
Okay! I managed to fix this. Turns out my compiler was picking up some other OpenSSL libs that were not compatible.
Read more >Anaconda compiler tools
Conda-build automatically tries to use the latest Python version available in the currently configured channels, which normally gets the latest from the default ......
Read more >Understanding and fixing compiler and linker errors
First, let's distinguish between the types of errors: most compilers will give three types of compile-time alerts: compiler warnings, compiler errors, and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
all done now, thanks @isuruf
That’d make
autoconf
scripts go crazy.The only error is the
-Wl,-export_dynamic
being unused.-fPIE
is a harmless warning. You should remove https://github.com/virgesmith/neworder/blob/master/setup.py#L36 as compiler warnings increase in every new compiler version and then you’ll have to have workarounds. You should only add them in your CI scripts.