Skip to content
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

Add SONAME to libjulia-debug #16696

Merged
merged 2 commits into from
Jun 3, 2016
Merged

Add SONAME to libjulia-debug #16696

merged 2 commits into from
Jun 3, 2016

Conversation

ronisbr
Copy link
Member

@ronisbr ronisbr commented Jun 1, 2016

This PR should fix the issue #16668

$(build_shlibdir)/libjulia.$(JL_MAJOR_MINOR_SHLIB_EXT): $(SRCDIR)/julia.expmap $(OBJS) $(BUILDDIR)/flisp/libflisp.a $(BUILDDIR)/support/libsupport.a $(LIBUV)
@$(call PRINT_LINK, $(CXXLD) $(CXXFLAGS) $(CXXLDFLAGS) $(SHIPFLAGS) $(OBJS) $(RPATH_ORIGIN) -o $@ $(LDFLAGS) $(JLIBLDFLAGS) $(RELEASE_LIBS) $(SONAME)) $(CXXLDFLAGS)
@$(call PRINT_LINK, $(CXXLD) $(CXXFLAGS) $(CXXLDFLAGS) $(SHIPFLAGS) $(OBJS) $(RPATH_ORIGIN) -o $@ $(LDFLAGS) $(JLIBLDFLAGS) $(RELEASE_LIBS) $(SONAME))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just for reference's sake, I tracked this down to f38b485#diff-f57f2991a6aa25fe45d8036c51bf8b4d - don't see how it would be necessary though, unless Keno can remember

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes you need ldflags after the target, there's some subtlety there. My guess is that we have flags that can go before, and can go after.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but only for release?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a devastatingly good point.

@ronisbr
Copy link
Member Author

ronisbr commented Jun 1, 2016

@tkelman can the fail we see in mac build be related to that duplicated flag?

@tkelman
Copy link
Contributor

tkelman commented Jun 3, 2016

I doubt it. Restarted. (log backed up to https://gist.github.com/c6a209118ff8f7bc4a60cf9340353cf4)

@tkelman tkelman merged commit c5629b9 into JuliaLang:master Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants