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
[2020.Q1.*] FAILED: llpc/amdllpc: amdvlk does not support full building and compiling with cmake. #151
Comments
Hi, @RarogCmex , could you try if following change can fix the build failure? if(UNIX) thanks |
Thank you so for fast answer, but it could not help: |
The source code is downloading with following: SRC_URISRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz ###EBUILD FUNCTIONS |
Complete ebuild |
The following snippet of build.log: |
The situation is clarified. AMDVLK doesn't support full building with cmake, it seems that compiling with cmake broken. When I switch to more generic method of ebuild it become working. |
@RarogCmex , what do you mean by "ebuild"? Did you use some special method to build driver so that driver build is successful? |
@RarogCmex Can you provide the full cmake command and env vars in use when compiling?
Ebuild is the Gentoo name for a build definition for a package. |
I can't do it in this moment, sorry me. |
I need to setup Gentoo enviroment to check what's happening |
@JaxLinAMD Ok, thanks, here is how to install Gentoo https://wiki.gentoo.org/wiki/Handbook:AMD64/Full |
@JaxLinAMD amdvlk-2020.1.4.ebuild.not_works.txt You may just put it to /var/db/repos/gentoo (but make sure that there is no overwrites) or just create new ebuild repository https://wiki.gentoo.org/wiki/Ebuild_repository |
@RarogCmex , I found that driver is build through cmake utils provided by ebuild, which will generate build error, have you tried to build driver directly using cmake( no ebuild, only use cmake and make): cmake -H. *** |
@JaxLinAMD Yes, see amdvlk-2020.1.4.ebuild.works.txt |
@RarogCmex , could you try to build with cmake directly in console without the help of ebuild to see if there is any error? |
@JaxLinAMD Yes, It works without errors. |
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-libs/amdvlk-2020.1.3/work/build-abi_x86_32.x86/llvm/lib/libLLVMAMDGPUDesc.so.11git: error adding symbols: DSO missing from command line.
All source code are fetched properly.
build.log
Operating system Gentoo/Linux:
os.txt
The text was updated successfully, but these errors were encountered: