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

llvm linking build break #7

Open
mskrzypkows opened this issue Oct 5, 2016 · 7 comments
Open

llvm linking build break #7

mskrzypkows opened this issue Oct 5, 2016 · 7 comments

Comments

@mskrzypkows
Copy link

I have a build break on my Ubuntu 14.04

configure: WARNING: Building mesa with statically linked LLVM may cause compilation issues
/usr/lib/llvm-3.4/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x5b7): undefined reference to `setupterm'
/usr/lib/llvm-3.4/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x5e0): undefined reference to `tigetnum'
/usr/lib/llvm-3.4/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x5e9): undefined reference to `set_curterm'
/usr/lib/llvm-3.4/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x5f1): undefined reference to `del_curterm'
collect2: error: ld returned 1 exit status

Is it connected with this issue: rust-lang/rust#36854 ? How to make it build?

@jdm
Copy link
Member

jdm commented Oct 5, 2016

cc @glennw

@emilio
Copy link
Member

emilio commented Oct 5, 2016

These missing symbols come from libncurses, it seems? For some reason
LLVM uses them. Can you check if installing any of the libncurses
packages for Ubuntu fixes it?

On Wed, Oct 05, 2016 at 08:45:55AM -0700, Maciej Skrzypkowski wrote:

I have a build break on my Ubuntu 14.04

configure: WARNING: Building mesa with statically linked LLVM may cause compilation issues
/usr/lib/llvm-3.4/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x5b7): undefined reference to `setupterm'
/usr/lib/llvm-3.4/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x5e0): undefined reference to `tigetnum'
/usr/lib/llvm-3.4/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x5e9): undefined reference to `set_curterm'
/usr/lib/llvm-3.4/lib/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x5f1): undefined reference to `del_curterm'
collect2: error: ld returned 1 exit status

Is it connected with this issue: rust-lang/rust#36854 ? How to make it build?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#7

@glennw
Copy link
Member

glennw commented Oct 5, 2016

Or perhaps libedit-dev?

@mskrzypkows
Copy link
Author

I have libncurses5, libncurses5-dev and libedit-dev installed, it doesn't help.

mskrzypkows pushed a commit to mskrzypkows/osmesa-src that referenced this issue Oct 12, 2016
mskrzypkows pushed a commit to mskrzypkows/osmesa-src that referenced this issue Oct 12, 2016
@mskrzypkows mskrzypkows mentioned this issue Oct 12, 2016
@jessstrap jessstrap mentioned this issue Feb 27, 2017
@SimonSapin
Copy link
Member

I get the same error on Travis-CI: https://travis-ci.org/servo/servo-with-rust-nightly/builds/274556830#L3219

@SimonSapin
Copy link
Member

Adding language: python to the Travis config "fixed" it, so it was probably some missing dependency.

bors-servo pushed a commit to servo/servo that referenced this issue Oct 15, 2017
build: Try to use shared LLVM libraries for OSMesa.

This fixes servo/osmesa-src#7
@emilio
Copy link
Member

emilio commented Oct 15, 2017

#23 should fix this, let's see what the buildots say.

bors-servo pushed a commit to servo/servo that referenced this issue Oct 18, 2017
build: Try to use shared LLVM libraries for OSMesa.

This fixes servo/osmesa-src#7

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18889)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants