-
Notifications
You must be signed in to change notification settings - Fork 256
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
linker errors with 2.17: undefined symbols #1148
Comments
@Andersbakken ping. |
This looks very odd. Can you run this command on librtags.a lipo -info ./src/librtags.a Can you also try to blow away the whole build directory and rebuild? It seems like it's possible that different sources were compiled with different compilers or flags. |
Not in my case, i build with spack which makes sure that environment is clean and out-of-source build folder is freshly created. p.s. i build with
if that makes a difference. |
here is configure/build log: |
Have you tried with the system clang?
I don't really see anything obviously wrong here. Clearly the linker
somehow doesn't like the architecture even though it seems like it's x86_64
on both sides.
It sounds a little bit like this:
tpoechtrager/osxcross#11
But the thing that seems to resolve that issue seems not be the case for
you since you are using the ar from your clang build.
Anders
…On Wed, Mar 14, 2018 at 3:06 PM, Denis Davydov ***@***.***> wrote:
here is configure/build log:
spack-build.out.zip
<https://github.com/Andersbakken/rtags/files/1813269/spack-build.out.zip>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1148 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEdSqegyM_Ol-_gigt5NMlKCe1GMCqtks5teZRbgaJpZM4Ry5qT>
.
|
it is system clang. It just goes through compiler wrappers which add a few things. |
Please mark appropriate
Problem description
Linking fails on macOS High Sierra when building
rtags
from Spack package manager with llvm 4.0 build via Apple's clang 9.0.0.Expected behavior
links
Actual behavior
and a couple of others.
Environment
Your operating system: macOS 10.13.3
LLVM/Clang version: Apple clang 9.0.0
The text was updated successfully, but these errors were encountered: