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

Build failure: undefined reference to llvm::raw_string_ostream::~raw_string_ostream() #234

Open
yurivict opened this issue May 18, 2019 · 6 comments

Comments

@yurivict
Copy link

Build fails on FreeBSD 13, see log: http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p501346_s347498/logs/errors/xeus-cling-0.5.1.log

@SylvainCorlay
Copy link
Member

hey @yurivict did you end up succeeding with building xeus-cling on FreeBSD. Sorry for not getting back to you.

@yurivict
Copy link
Author

yurivict commented Dec 7, 2019

No, it fails when /usr/bin/ld.lld is used.

@yurivict
Copy link
Author

yurivict commented Mar 7, 2020

I found the reason. You aren't adding some cling libraries to the link lines.

Adding these helps: ${LOCALBASE}/lib/libLLVMSupport.so ${LOCALBASE}/lib/libclangAST.so -pthread

@SylvainCorlay
Copy link
Member

I am glad you managed to build xeus-cling!

Do you want to open a PR with the fix?

@yurivict
Copy link
Author

yurivict commented Mar 8, 2020

I am only a package maintainer, and don't have resources for a PR at the time. -(

@SylvainCorlay
Copy link
Member

I am only a package maintainer, and don't have resources for a PR at the time. -(

No problem at all!

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