Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503086 - media-libs/mesa-9.2.5-r1 build failed with use flags +llvm -llvm-shared-libs and sys-devel/llvm-3.4
Summary: media-libs/mesa-9.2.5-r1 build failed with use flags +llvm -llvm-shared-libs ...
Status: RESOLVED DUPLICATE of bug 481316
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-01 01:24 UTC by Denis Sokolovsky
Modified: 2014-03-01 02:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,5.39 KB, text/plain)
2014-03-01 01:25 UTC, Denis Sokolovsky
Details
build.log (build.log.gz,78.53 KB, application/gzip)
2014-03-01 01:32 UTC, Denis Sokolovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Sokolovsky 2014-03-01 01:24:32 UTC
With use flags combination "+llvm -llvm-shared-libs", mesa build failed with error
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x5f7): undefined reference to `setupterm'
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x620): undefined reference to `tigetnum'
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x629): undefined reference to `set_curterm'
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x631): undefined reference to `del_curterm'
collect2: error: ld returned 1 exit status

I believe that this is connected to llvm-3.4 upgrade, here are part of "genlop" output:
     Tue Dec 31 23:57:04 2013 >>> media-libs/mesa-9.2.5
     Thu Feb 27 22:30:39 2014 >>> media-libs/mesa-9.2.5-r1

     Tue Dec 31 23:15:20 2013 >>> sys-devel/llvm-3.3-r2
     Mon Jan 13 23:03:21 2014 >>> sys-devel/llvm-3.3-r3
     Mon Feb 10 23:31:51 2014 >>> sys-devel/llvm-3.4

mesa build succeed if both flags are either turned on or off (didn't tried "-llvm +llvm-shared-libs")
Comment 1 Denis Sokolovsky 2014-03-01 01:25:12 UTC
Created attachment 371466 [details]
emerge --info
Comment 2 Denis Sokolovsky 2014-03-01 01:32:33 UTC
Created attachment 371468 [details]
build.log

3.4MB uncompressed
Comment 3 Alex Xu (Hello71) 2014-03-01 02:13:58 UTC

*** This bug has been marked as a duplicate of bug 481316 ***