Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712160 - dev-libs/intel-neo-20.03.15346 does not compile
Summary: dev-libs/intel-neo-20.03.15346 does not compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-11 16:08 UTC by Davide Palma
Modified: 2020-03-21 22:45 UTC (History)
0 users

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


Attachments
emerge --info (info.txt,7.68 KB, text/plain)
2020-03-11 16:08 UTC, Davide Palma
Details
build log (build.log,195.75 KB, text/x-log)
2020-03-11 16:18 UTC, Davide Palma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Palma 2020-03-11 16:08:09 UTC
Created attachment 617972 [details]
emerge --info

Hi, 
I'm trying to move to beignet to intel-neo, but it does not compile.
Comment 1 Marek Szuba (RETIRED) archtester gentoo-dev 2020-03-11 16:15:45 UTC
Could you attach your build log, please?
Comment 2 Davide Palma 2020-03-11 16:18:49 UTC
Created attachment 617974 [details]
build log
Comment 3 Marek Szuba (RETIRED) archtester gentoo-dev 2020-03-11 19:32:06 UTC
Okay, about one hour ago I tried emerging the whole NEO stack from scratch on a clean system and for me to continues to build fine. Three things I would recommend trying:

1. I have just pushed new versions of spirv-llvm-translator and opencl-clang into the tree, perhaps they will change something (metadata preprocessing, which according to your build log is what fails in your case, takes place in the former). Remove the whole NEO stack (i.e. at a minimum dev-util/spirv-llvm-translator and all the packages depending on it, that said if you want to be extra sure and can afford it you could go all the way to sys-devel/llvm:8), wait for the public tree to be updated, and try again;

2. See if using fewer CFLAGS/LDFLAGS/... helps;

3. If none of the above helps, we will hopefully have the NEO stack upgraded to support LLVM9 soon and maybe THAT will change something.
Comment 4 Davide Palma 2020-03-21 22:24:13 UTC
Ok it works now. I have no idea why. I just uninstalled any leftover dependency with --depclean.  Anyway it requires clang 9 so I guess it switched to llvm9.
Comment 5 Davide Palma 2020-03-21 22:45:16 UTC
However, I can't detect my gpu. I guess intel-neo doesn't support my platform, while beignet did.