{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/11855","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/11855/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11855/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/11855/events","html_url":"https://github.com/JuliaLang/julia/issues/11855","id":90984910,"number":11855,"title":"Build: Undefined Symbol ","user":{"login":"psanan","id":8024239,"avatar_url":"https://avatars.githubusercontent.com/u/8024239?v=3","gravatar_id":"","url":"https://api.github.com/users/psanan","html_url":"https://github.com/psanan","followers_url":"https://api.github.com/users/psanan/followers","following_url":"https://api.github.com/users/psanan/following{/other_user}","gists_url":"https://api.github.com/users/psanan/gists{/gist_id}","starred_url":"https://api.github.com/users/psanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psanan/subscriptions","organizations_url":"https://api.github.com/users/psanan/orgs","repos_url":"https://api.github.com/users/psanan/repos","events_url":"https://api.github.com/users/psanan/events{/privacy}","received_events_url":"https://api.github.com/users/psanan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/build","name":"build","color":"444444"},{"url":"https://api.github.com/repos/JuliaLang/julia/labels/upstream","name":"upstream","color":"bbbbbb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-06-25T14:44:32Z","updated_at":"2016-10-18T09:55:59Z","closed_at":"2016-10-18T09:55:59Z","body":"An issue that I encountered before with release-0.3 has resurfaced with the choice of a new compiler (gcc). This old discussion is here:\r\nhttps://groups.google.com/forum/#!topic/julia-users/LUVVEfydAso\r\n\r\nTo recap, the problem manifests this way during the build process:\r\n````\r\nCC src/flisp/flmain.o\r\n    LINK src/flisp/libflisp.a\r\n    LINK src/flisp/flisp\r\n/users/psanan/julia-gnu/usr/lib/libuv.a(libuv_la-core.o):(.note.stapsdt+0x24): undefined reference to `uv_tick__start_semaphore'\r\n/users/psanan/julia-gnu/usr/lib/libuv.a(libuv_la-core.o):(.note.stapsdt+0x70): undefined reference to `uv_tick__stop_semaphore'\r\n````\r\n\r\nThe origin of these undefined symbols seems to be `deps/libuv/include/uv-dtrace.h`.\r\n\r\nI am able to build by making this change to `deps/makefile`:\r\n````\r\ndiff --git a/deps/Makefile b/deps/Makefile\r\nindex 58ce023..0a0df72 100644\r\n--- a/deps/Makefile\r\n+++ b/deps/Makefile\r\n@@ -703,7 +703,7 @@ $(LIBUV_SRC_DIR)/config.status: $(LIBUV_SRC_DIR)/configure\r\n        touch -c $(LIBUV_SRC_DIR)/Makefile.in\r\n        touch -c $(LIBUV_SRC_DIR)/configure\r\n        cd $(LIBUV_SRC_DIR) && \\\r\n-       ./configure --with-pic $(CONFIGURE_COMMON) $(UV_FLAGS)\r\n+       ./configure --with-pic --disable-dtrace $(CONFIGURE_COMMON) $(UV_FLAGS)\r\n        touch -c $@\r\n $(UV_SRC_TARGET): $(LIBUV_SRC_DIR)/config.status\r\n        $(MAKE) -C $(LIBUV_SRC_DIR) $(UV_MFLAGS)\r\n````\r\n\r\nWith this change, and a clean rebuild (including deleting `deps/libuv` ; `git delete -x -f -d` was not a nuclear-enough option here!), `make testall` succeeds.\r\n\r\nI believe that dtrace has been removed from libuv (https://github.com/joyent/libuv/commit/cb5140023b109aa9bb6b97d1bebc9f251b8195ac) \r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/254461665","html_url":"https://github.com/JuliaLang/julia/issues/11855#issuecomment-254461665","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/11855","id":254461665,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T09:55:59Z","updated_at":"2016-10-18T09:55:59Z","body":"This issue should be no longer relevant given we've rebased to a more recent libuv version that no longer tries to use dtrace.\r\n\r\nBut I would like to ask @kpamnany and @psanan, are you still regularly using Julia on these systems and are they still on SUSE Linux Enterprise Server 11? If so, what does running `/lib/libc.so.6` return?\r\n\r\nOur current binaries are build on CentOS 5 (glibc 2.5), but that's quickly approaching its end of support. We'll need to switch to something newer, and the most obvious choice will be CentOS 6 which uses glibc 2.12. It looks like SLES 11 uses glibc 2.11 and will still be supported for a while longer, so if we switch to building binaries on CentOS 6 they may no longer run on SLES 11. Unlike CentOS, there's no open extended-support version of SLES that we could use to easily build binaries (openSUSE 11 ended support some time ago).\r\n\r\nIs this going to be an issue? You should be able to build from source on these systems, but if we don't regularly test on that kind of old system then things are likely to regress."}}
{"actor":{"display_login":"tkelman"}}