mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-lang/mono: Filter LTO with LLD
Compilation fails with LLD and LTO with the following error:
ld.lld: error: boringssl/crypto/bn/CMakeFiles/bn.dir/convert.c.o <inline asm>:1:7: invalid operand for instruction
divq $-8446744073709551616
^~~~~~~~~~~~~~~~~~~~~
ld.lld: error: boringssl/crypto/asn1/CMakeFiles/asn1.dir/a_object.c.o <inline asm>:1:7: invalid operand for instruction
divq $-9223372036854775808
^~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Violet Purcell <vimproved@inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/31866
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
8d7104db79
commit
27c62fe574
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
CHECKREQS_DISK_BUILD="4500M"
|
||||
inherit autotools check-reqs linux-info mono-env pax-utils multilib-minimal
|
||||
inherit autotools check-reqs flag-o-matic linux-info mono-env pax-utils multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
|
||||
HOMEPAGE="https://mono-project.com"
|
||||
@@ -85,6 +85,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
tc-ld-is-lld && filter-lto
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_with xen xen_opt)
|
||||
--without-ikvm-native
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
CHECKREQS_DISK_BUILD="4500M"
|
||||
inherit autotools check-reqs linux-info mono-env pax-utils multilib-minimal
|
||||
inherit autotools check-reqs flag-o-matic linux-info mono-env pax-utils multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
|
||||
HOMEPAGE="https://mono-project.com"
|
||||
@@ -85,6 +85,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
tc-ld-is-lld && filter-lto
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_with xen xen_opt)
|
||||
--without-ikvm-native
|
||||
|
||||
Reference in New Issue
Block a user