Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 540490

Summary: =dev-libs/libclc-0.0.1_pre20141027 does not compile with llvm-3.6.0
Product: Gentoo Linux Reporter: Bernard Cafarelli <voyageur>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: ansla80
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bernard Cafarelli gentoo-dev 2015-02-18 13:35:25 UTC
llvm 3.6.0 should be released soon, and I added a masked ebuild for rc3 in tree for those that want to test

As usual it breaks a few things, including libclc:
/usr/bin/llvm-as: ./r600/lib/workitem/get_work_dim.ll:8:6: error: unexpected type in metadata definition
!0 = metadata !{ i32 1, i32 4 }
     ^
Makefile:1101: recipe for target 'r600--/lib/workitem/get_work_dim.ll.cedar.bc' failed
make: *** [r600--/lib/workitem/get_work_dim.ll.cedar.bc] Error 1

-9999 compiles fine, so probably time for a new snapshot?
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-02-18 13:47:48 UTC
Current libclc requires llvm-3.6 or newer, which prevented the addition of a git snapshot to the tree until now.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-02-23 11:33:44 UTC
Also libclc requires clang-3.6 which is not in the tree yet, so a new snapshot cannot be added at this time.
Comment 3 Bernard Cafarelli gentoo-dev 2015-02-23 13:20:51 UTC
No problem, 3.6.0_rc4 is now (masked) in tree with both llvm and clang ebuilds.

The mask is for 3.6.0*, so it will work for final versions too
Comment 4 Patrick Lauer gentoo-dev 2015-03-16 07:18:18 UTC
Since llvm-3.6 is now available it'd be nice to have a newer snapshot of libclc provided.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-03-17 11:24:19 UTC
+  17 Mar 2015; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +libclc-0.1.0_pre20150305.ebuild, -libclc-0.0.1_pre20131010.ebuild,
+  -libclc-0.0.1_pre20140101.ebuild, libclc-0.0.1_pre20140101-r1.ebuild,
+  libclc-0.0.1_pre20141027.ebuild:
+  New snapshot. Adjust dependencies on llvm/clang versions to match working
+  combinations.