projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5031b0b
)
sys-process/criu: disable use of the gold linker
author
Rahul Chaudhry
<rahulchaudhry@chromium.org>
Mon, 7 May 2018 06:35:51 +0000
(
02:35
-0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 7 May 2018 06:37:10 +0000
(
02:37
-0400)
The criu build process uses a custom linker script that doesn't play
well the output of the gold linker leading to build failures. Disable
gold for now to avoid this.
sys-process/criu/criu-3.7.ebuild
patch
|
blob
|
history
diff --git
a/sys-process/criu/criu-3.7.ebuild
b/sys-process/criu/criu-3.7.ebuild
index 1c2c80e5b56a3767a6c331d275b4dcbeb744c35a..9a72bb4c7059cf9dc7575122c4f65468d86d87b4 100644
(file)
--- a/
sys-process/criu/criu-3.7.ebuild
+++ b/
sys-process/criu/criu-3.7.ebuild
@@
-66,6
+66,12
@@
src_prepare() {
fi
}
+src_configure() {
+ # Gold linker generates invalid object file when used with criu's custom
+ # linker script. Use the bfd linker instead. See https://crbug.com/839665#c3
+ tc-ld-disable-gold
+}
+
src_compile() {
RAW_LDFLAGS="$(raw-ldflags)" emake \
CC="$(tc-getCC)" \