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

Gentoo build: undefined reference to symbol 'del_curterm'` #252

Closed
binary132 opened this issue Jul 1, 2015 · 2 comments
Closed

Gentoo build: undefined reference to symbol 'del_curterm'` #252

binary132 opened this issue Jul 1, 2015 · 2 comments

Comments

@binary132
Copy link
Contributor

Gentoo users who have dev-util/nvidia-cuda-toolkit are affected by Gentoo bug 457530. This is caused by libtinfo not being linked normally to libncurses for these users.

libLLVMSupport.a(Process.o): undefined reference to symbol 'del_curterm'

In the meantime, this can be hotfixed (confirmed works) by adding /lib/libtinfo.so.5 to the GROUP statements in the /usr/lib/libncurses[w].so ld scripts.

A clumsy workaround for users without root privilege is to add -ltinfo to the Makefile llvm.libs (confirmed works). Gentoo root users should be expected to hotfix the bug, as the fix is extremely simple. However, not all users may have su privilege to make this change. These users should be expected to contact their system administrator to make the fix.

@sylvanc
Copy link
Contributor

sylvanc commented Jul 1, 2015

Thanks for the report and the PR. Shall we leave this open until the Gentoo bug is resolved?

@binary132
Copy link
Contributor Author

It's not a ponyc problem, and now the README refers Gentoo users to the workaround. ISTM Gentoo users can be expected to read the build instructions, at least until they have an overlay.... 💡

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

No branches or pull requests

2 participants