Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 526280 Details for
Bug 650488
dev-qt/qtwebengine-5.7.1-r2 fails to build with -flto: error: undefined reference to 'SyscallAsm'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
qtwebengine-5.9.4-fix-lto-build.patch
qtwebengine-5.9.4-fix-lto-build.patch (text/plain), 1.25 KB, created by
Alexander Miller
on 2018-04-01 23:23:10 UTC
(
hide
)
Description:
qtwebengine-5.9.4-fix-lto-build.patch
Filename:
MIME Type:
Creator:
Alexander Miller
Created:
2018-04-01 23:23:10 UTC
Size:
1.25 KB
patch
obsolete
>--- qtwebengine-opensource-src-5.9.4/src/3rdparty/chromium/sandbox/linux/BUILD.gn >+++ qtwebengine-opensource-src-5.9.4/src/3rdparty/chromium/sandbox/linux/BUILD.gn >@@ -199,6 +199,25 @@ test("sandbox_linux_unittests") { > } > } > >+config("no_lto") { >+ # Disable LTO. Use a config and the C++ specific flags variable to move >+ # the flag to the latest possible position to override earlier flags. >+ cflags_cc = [ "-fno-lto" ] >+} >+ >+source_set("seccomp_bpf_syscall") { >+ sources = [ "seccomp-bpf/syscall.cc" ] >+ defines = [ "SANDBOX_IMPLEMENTATION" ] >+ deps = [ "//base" ] >+ >+ if (!is_clang) { >+ # Gcc doesn't parse asm statements, so LTO doesn't work when defining >+ # a function in a global asm statement. >+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57703 >+ configs += [ ":no_lto" ] >+ } >+} >+ > component("seccomp_bpf") { > sources = [ > "bpf_dsl/bpf_dsl.cc", >@@ -230,7 +249,6 @@ component("seccomp_bpf") { > "seccomp-bpf/die.h", > "seccomp-bpf/sandbox_bpf.cc", > "seccomp-bpf/sandbox_bpf.h", >- "seccomp-bpf/syscall.cc", > "seccomp-bpf/syscall.h", > "seccomp-bpf/trap.cc", > "seccomp-bpf/trap.h", >@@ -242,6 +260,7 @@ component("seccomp_bpf") { > ] > deps = [ > ":sandbox_services", >+ ":seccomp_bpf_syscall", > "//base", > ] >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 650488
:
523902
| 526280