Skip to content

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Oct 17, 2022

Only libjulia-internal is supposed to be linked against this, since it is a static library.

Fix #47198

n.b.

$ make print-LIBUV
LIBUV=/Users/jameson/julia/usr/lib/libuv.a

Only libjulia-internal is supposed to be linked against this, since it
is a static library.

Fix #47198
@vtjnash vtjnash added the backport 1.8 Change should be backported to release-1.8 label Oct 17, 2022
@gbaraldi
Copy link
Member

LGTM after tests pass

@vtjnash vtjnash merged commit e8aacc8 into master Oct 18, 2022
@vtjnash vtjnash deleted the jn/47198 branch October 18, 2022 17:06
KristofferC pushed a commit that referenced this pull request Oct 27, 2022
Only libjulia-internal is supposed to be linked against this, since it
is a static library.

Fix #47198

(cherry picked from commit e8aacc8)
@KristofferC KristofferC mentioned this pull request Oct 27, 2022
37 tasks
KristofferC pushed a commit that referenced this pull request Oct 28, 2022
Only libjulia-internal is supposed to be linked against this, since it
is a static library.

Fix #47198

(cherry picked from commit e8aacc8)
@KristofferC KristofferC removed the backport 1.8 Change should be backported to release-1.8 label Nov 8, 2022
@haampie
Copy link
Contributor

haampie commented Nov 17, 2022

This breaks shared linking of libuv, is that supposed to work?

@vtjnash
Copy link
Member Author

vtjnash commented Nov 17, 2022

not really supposed to work, though in theory we could list libuv twice (if sufficiently careful) and ld will ignore the second one for libjulia-codegen if libjulia-internal is already providing all required symbols

@haampie
Copy link
Contributor

haampie commented Nov 17, 2022

Will stick to static libs then

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.

bad linkage of libuv to libjulia-codegen
4 participants