-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Introduce a new variable in Make.inc that applies only to libjulia.so #9130
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
Conversation
|
I'm a little confused why |
|
Flexibility maybe? Potentially the executable needs a flag that doesn't make sense for the library and visa/versa. Candidates for this might be -strip, -L for some directory of libraries the the executable needs but the library doesn't Historical? For a while LDFLAGS was good enough for everything, but then the julia executable needed something extra, so instead of a review and refactor, JLDFLAGS was invented for just julia. |
|
I'm pretty sure the history on why we're avoiding using the standard flags names for most things is so distribution packagers can have an easier time using build systems that overwrite those flags. |
|
Yea that makes sense why LDFLAGS is left alone. It looks like there are flags added to Makefile for various reasons. So maybe there was no overarching reason, just was convenience. For example |
|
I added |
|
Well that makes me feel a little better about what I'm proposing. There are flags that are usable/make sense only in the context of assembling the shared library and only in the context of making the executable |
|
Alrighty, I guess this is good enough for now then. If you rebase to fix the conflict then I'll merge. |
70c299d to
34105d3
Compare
|
Whew that took a while because in between the pull request and now, a change to Makefile happened, I merged in that change, which was essentially adding BUILDDIR to flisp, etc: became |
|
@staticfloat this look okay to you? |
|
LGTM. |
Yep that's what I meant by "rebase to fix the conflict." Good practice, happens often on more complicated PR's. Enough people looking at the same set of code, bound to step on each other's toes once in a while. Don't think this can break anything, and since it helps with your embedding, we'll put it on the list to backport in a few days' time. |
Introduce a new variable in Make.inc that applies only to libjulia.so
|
Rebasing, yea, I see the reason for it now even though at the time, I'm like "ugh". Backporting: That's awesome! |
|
Why the ... would this cause failures on the parallel test on Travis? @amitmurthy @ViralBShah any ideas? I think I've been seeing this intermittently for a few days so I don't think it's the fault of this PR. |
|
Especially since just 1 hour ago it ran to completion on both OS/X and Linux. Can you save this result the to side and simply restart? |
|
I don't think there's a good way of saving old build logs if you restart a build. Anyway the next build passed, so it's definitely intermittent and not your fault. https://travis-ci.org/JuliaLang/julia/builds/42131222 It was just an unfortunate coincidence that 2 merges I did in a row both had this failure on the merge commit into master, but passed fine on the PR test. I'll open a new issue if it keeps appearing. |
|
Ironically, is it possibly related somehow to #8551, because a couple days (since Saturday), and, you know, tasks.... |
|
The parallel test failed because worker 9 terminated unexpectedly. Sometimes the cause is memory corruption dues to previous tests run by the terminating worker. In this case worker 9 executed It will be good to see which are the common tests being executed by terminating workers across failed Travis runs. |
|
This one failed at a slightly different location Previous this time. |
|
In this worker 9 previously executed Any recent changes to bitarray? |
|
backported in eb95148 |
This is a modification to the top level Make.inc and Makefile in src to allow for additional link parameters to passed to the shared library assembly step.
Additionally it is utilized to pass -Bsymbolic-functions when compiling on Linux. Fixes #8864