Building media-libs/vulkan-loader-1.1.114 with clang-9.0.0 and ABI_X86="32" fails with: > <instantiation>:13:20: error: cannot use more than one symbol in memory operand > push offset termin_error_string@GOT # Push the error string (fourth arg) > ^ > ../../Vulkan-Loader-1bb7f68564fe565de2927071c79008bd6ede5af5/loader/unknown_ext_chain_gas.asm:373:5: note: > while in macro instantiation > PhysDevExtTermin 0 > ^
Please attach the entire build log to this bug report. Please post your `emerge --info' output in a comment.
Seems like clang doesn't like the inline assembly. Obviously an upstream bug, please also report it there.
(In reply to Nick Sarnie from comment #2) > Seems like clang doesn't like the inline assembly. Obviously an upstream > bug, please also report it there. Clang hasn't failed me with x64 assembly but there are only a couple of packages that don't yet build for me with x86 inline assembly, this being one of them. Please consider the workaround in the PR. The other commits are just some updates and version bumps.
Created attachment 593512 [details] build.log
Created attachment 593514 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9fac5992604160c628ff17076bf385424399018 commit d9fac5992604160c628ff17076bf385424399018 Author: Peter Levine <plevine457@gmail.com> AuthorDate: 2019-10-21 02:24:55 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2019-10-21 22:48:19 +0000 media-libs/vulkan-loader: Fix building x86 with clang Append -fno-integrated-as to CFLAGS when building with clang and when ABI is x86 to prevent breakage. Closes: https://bugs.gentoo.org/698164 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: Nick Sarnie <sarnex@gentoo.org> media-libs/vulkan-loader/vulkan-loader-9999.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)