View previous topic :: View next topic |
Author |
Message |
shoober420 Apprentice
Joined: 22 May 2017 Posts: 223
|
Posted: Thu Sep 02, 2021 2:01 am Post subject: (solved) dxvk-9999 wont build |
|
|
im trying to build DXVK from git master using this ebuild.
https://github.com/shoober420/shoober420-overlay/blob/main/app-emulation/dxvk-async/dxvk-async-9999.ebuild
ive installed mingw64 using "crossdev --target x86_64-w64-mingw32" and "crossdev --target i686-w64-mingw32" i experience this error when trying to build DXVK.
Code: |
[32;01m * [39;49;00mPackage: app-emulation/dxvk-async-9999
[32;01m * [39;49;00mRepository: localrepo
[32;01m * [39;49;00mUSE: abi_x86_32 abi_x86_64 amd64 async d3d10 d3d11 d3d9 dxgi elibc_glibc kernel_linux userland_GNU
[32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
[31;01m*[0m mingw64 gcc does not support posix threading, rebuild with:
[31;01m*[0m EXTRA_ECONF="--enable-threads=posix" emerge -1 cross-i686-w64-mingw32/gcc
[31;01m*[0m See: https://wiki.gentoo.org/wiki/Mingw
[31;01m*[0m cross-i686-w64-mingw32 toolchain is not properly installed.
[31;01m*[0m ERROR: app-emulation/dxvk-async-9999::localrepo failed (pretend phase):
[31;01m*[0m (no error message)
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 127: Called pkg_pretend
[31;01m*[0m dxvk-async-9999.ebuild, line 57: Called mingw64_check_requirements '6.0.0' '8.0.0'
[31;01m*[0m mingw64.eclass, line 93: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m die
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=app-emulation/dxvk-async-9999::localrepo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=app-emulation/dxvk-async-9999::localrepo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/app-emulation/dxvk-async-9999/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-emulation/dxvk-async-9999/temp/die.env'.
[31;01m*[0m Working directory: '/var/tmp/portage/app-emulation/dxvk-async-9999/empty'
[31;01m*[0m S: '/var/tmp/portage/app-emulation/dxvk-async-9999/work/dxvk-async-9999'
|
i recompiled both 64bit and 32bit mingw gcc using "EXTRA_ECONF="--enable-threads=posix" emerge -1 cross-x86_64-w64-mingw32/gcc" and "EXTRA_ECONF="--enable-threads=posix" emerge -1 cross-i686-w64-mingw32/gcc", and it still says the same error. anyone know whats going on? _________________ https://www.github.com/shoober420
https://bandcamp.com/shoober420
https://steamcommunity.com/id/shoober420
Last edited by shoober420 on Thu Sep 02, 2021 5:58 am; edited 1 time in total |
|
Back to top |
|
|
TheGreatMcPain n00b
Joined: 30 Oct 2019 Posts: 6
|
Posted: Thu Sep 02, 2021 5:50 am Post subject: |
|
|
If the output of "$ x86_64-w64-mingw32-gcc -v" doesn't contain "--enable-threads=posix" than your mingw gcc hasn't been properly compiled with pthreads.
Also, you might want to make sure "cross-i686-w64-mingw32/mingw64-runtime" and "cross-x86_64-w64-mingw32/mingw64-runtime" have the "libraries" useflag enabled, because that will provide the pthread library required for "--enable-threads=posix" to work. |
|
Back to top |
|
|
shoober420 Apprentice
Joined: 22 May 2017 Posts: 223
|
|
Back to top |
|
|
|