-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
_jl_base_ctx not exported in libjulia.dynlib #9117
Comments
Cc: @vtjnash Looks like a simple case of adding DLLEXPORT. |
agreed. should be added at both decl sites (in julia.h and task.c) |
Thanks guys, although I found it in task.c -- does it need to be moved? I modified locally last night and that fixed it my problem I would have sent pull request too, but I still have git-drama going on in my repo (specifically submodule drama). |
@waTeim 90% of the time with submodules all you need to do is |
@tkelman Oh man, thanks for the continued help; the problem occurs during rebase; I tried submodule update. But then this
I just want to get out of this rebase hell, I feel nuking my whole repo and starting from scratch would be better except for the one outstanding pull request. |
|
There are a bunch like that, but this is what I did
And then I dropped all commits except the last one And that left me ok with 1 exception -- all other submodules are the correct commit hash (same as julia main)
|
Generally don't do pull if you're planning on doing a rebase right after. Just do fetch then rebase. You want to drop merge commits when you rebase, only leave in the manual commits you've made. The "last one" will probably be a merge commit if you do pull, unless your branch is perfectly clean and the pull is a fast-forward. If now you're in a state where the only commit touches both the submodule and other files you want to keep, one way would be adding a new commit that just undoes the submodule change, and squashing that together with the first commit. That should cancel out and remove the submodule change from your branch. |
…tch more efficient (avoid the double longjmp)
Well after multiple tries, I think might have been ok, but now it's hopelessly messed up. I just wanted to overwrite whatever I did with what's in the main repo and start over. Is there a command that does: Diff origin and upstream and whenever there is a difference, take upstream and afterwards erase all previous history? I though rebase in effect would do that. But I was offered up so many merge conflicts I eventually took the wrong one (or 2 dozen), and now it feels impossible to get back. |
replace |
that just overwrites your master with a copy of upstream which I think is what you're asking for |
That's what I want but that didn't work, git thinks my repo it's 273 commits ahead, probably because I tried to solve things with rebase At this point I think I should really save my edits for #8880 nuke my repo, re-fork and re-create. What would that do to that pull request? |
Good question. I think what might happen is it would briefly say |
To get back to the date you want, you can do To find that state, you can look in the history: As an alternative to rebase -i, you can do each commit manually: Submodules are versioned like regular files, so the usual commands like "git checkout deps/libuv" works as it would with a file (note no trailing slash) |
I did try it and that would have worked except for I probably need to do git reset --hard HEAD~xxx Back to this fix. It appears the problem is solved on OS/X but occurs on Linux -- maybe the Linux nightlies lag a little behind OS/X? |
you can also give it the name of a branch: |
Well that was easy while on origin branch = master
|
I suspect that the new variable jl_base_ctx that is part of addressing #8551 is not being exported, which is preventing successful link by embedding programs (ok mine) on OS/X
When examined using nm, it looks like it's a static -- maybe that's the default clang compile mode?
The decl in julia.h
should probably instead be (guessing)
The text was updated successfully, but these errors were encountered: