Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
chromium.6494
chromium-linker-memory.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-linker-memory.patch of Package chromium.6494
Index: chromium-57.0.2946.0/build/config/compiler/BUILD.gn =================================================================== --- chromium-57.0.2946.0.orig/build/config/compiler/BUILD.gn +++ chromium-57.0.2946.0/build/config/compiler/BUILD.gn @@ -343,7 +343,7 @@ config("compiler") { # Only apply this to the target linker, since the host # linker might not be gold, but isn't used much anyway. "-Wl,--threads", - "-Wl,--thread-count=4", + "-Wl,--thread-count=1", ] } } @@ -364,25 +364,6 @@ config("compiler") { ldflags += [ "-fuse-ld=bfd" ] } - if (is_posix && (use_gold || (use_lld && !is_nacl)) && !using_sanitizer && - !(is_android && use_order_profiling)) { - # TODO(crbug.com/576197) - gcc on x86 platforms + gold + icf=all - # doesn't currently work on non-chromeos platforms. - # Additionally, on Android x86 --icf=safe seems to cause issues as well. - # Additionally, on cast Android x86, --icf=all causes issues. - if (is_android && current_cpu == "x86") { - ldflags += [ "-Wl,--icf=none" ] - } else if ((is_clang && !is_android) || is_chromeos || - (current_cpu != "x86" && current_cpu != "x64")) { - # TODO(thakis): Remove `!is_android` above once our gold has been rolled - # with the fix for https://sourceware.org/bugzilla/show_bug.cgi?id=17704 - # merged. See also https://crbug.com/663886 - ldflags += [ "-Wl,--icf=all" ] - } else if (!is_android || is_clang) { - ldflags += [ "-Wl,--icf=safe" ] - } - } - if (linux_use_bundled_binutils) { cflags += [ "-B$binutils_path" ] } @@ -1318,11 +1299,6 @@ if (is_win) { # Don't emit the GCC version ident directives, they just end up in the # .comment section taking up binary size. "-fno-ident", - - # Put data and code in their own sections, so that unused symbols - # can be removed at link time with --gc-sections. - "-fdata-sections", - "-ffunction-sections", ] common_optimize_on_ldflags += [
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor