Mikhail Novosyolov
af86f9893a
Removed patch to build sandbox with -fPIE, because thin LTO of chrome_sandbox fails. This patch was from openSUSE where gcc is used, not clang
2018-10-24 17:56:57 +03:00
Mikhail Novosyolov
0855286d40
With GNU BFD ld linker, 4 GB RAM per worker on ABF really is not enough, linking takes ages. So let's try lld on x86_64.
2018-10-24 15:39:28 +03:00
Mikhail N
5310027d75
-znotext for lld on ix86
2018-10-23 17:58:43 +03:00
Mikhail novosyolov
aa532e1eeb
Decrease verbosity of ninja to make logs smaller
2018-10-23 17:04:04 +03:00
Mikhail N
2ee7191501
try lld + jumbo 10 on i586
2018-10-23 10:31:37 +03:00
Mikhail Novosyolov
bfd50434cc
Fix typo (fix building on x86_64)
2018-10-23 07:10:11 +03:00
Mikhail Novosyolov
55f7ebf0e7
Conditional flags for jumbo. Turned off jumbo for now.
2018-10-23 03:59:34 +03:00
Mikhail Novosyolov
849af6d3e5
Fix if-else. jumbo is_limit 10 for ix86, because gold linker still gave aerror of allocating memory.
2018-10-23 03:43:47 +03:00
Mikhail Novosyolov
9b152c93b6
Reworked how linker options are defined. jumbo 50 for i586.
2018-10-22 21:09:36 +03:00
Mikhail Novosyolov
10addb7a3a
lld=false, gold=true, another attempt to take some flags from Ubuntu
2018-10-22 11:15:57 +03:00
Mikhail Novosyolov
fd65f6ed77
Removed duplicates in patches
2018-10-22 10:52:43 +03:00
Mikhail Novosyolov
b2ac276c30
Fix %patch macro
2018-10-22 01:11:06 +03:00
Mikhail Novosyolov
f4be198056
Restore compiler-r4.patch. Trying to switch to lld because it is so hardcoded that our patch to use Gold does not help to use gold on x86_64.
2018-10-22 00:58:38 +03:00
Mikhail Novosyolov
1be1eaff53
use_cfi
2018-10-21 23:29:27 +03:00
Mikhail Novosyolov
4ce166bead
chromium-gn does not understand extra_ldflags
2018-10-21 23:17:03 +03:00
Mikhail Novosyolov
e8130572c8
Additionally manually set linker in LDFLAGS (just because we can)
2018-10-21 17:17:30 +03:00
Mikhail Novosyolov
ac2d1f7a60
Fix quotation marks. Restore fatal_linker_warnings=false.
2018-10-21 11:07:44 +03:00
Mikhail Novosyolov
f0f0421cf4
Removed fatal_linker_warnings=false
. Maybe it's incompatible with gold?!
2018-10-21 10:45:33 +03:00
Mikhail Novosyolov
b6ae8f347e
Fixes to use Gold linker
2018-10-21 02:31:14 +03:00
Mikhail Novosyolov
7d78d1466f
Re-disable nacl
...
(`ninja: error: '../../native_client/toolchain/linux_x86/pnacl_newlib/bin/x86_64-nacl-objcopy', needed by 'nacl_irt_x86_64.nexe', missing and no known rule to make it`)
2018-10-20 13:48:40 +03:00
Mikhail Novosyolov
602ada8aea
Removed use_bundled_fontconfig because it is unknown to the build system.
2018-10-20 13:46:46 +03:00
Mikhail Novosyolov
7bd351448c
Switched to Gold linker, added patch to allow using it not only on ChromeOS. Enabled NaCL (Native Client). Took some flags from Ubuntu.
2018-10-20 13:07:37 +03:00
Mikhail Novosyolov
b494ba194e
Switch to lld linker. Export additional LDFLAGS unconditionally.
2018-10-19 08:29:02 +03:00
Mikhail Novosyolov
526e7431c3
Decrease logging verbosity
2018-10-19 01:39:55 +03:00
Mikhail Novosyolov
91ac7abb2c
Fix quotation marks
2018-10-19 00:17:58 +03:00
Mikhail Novosyolov
dfdcce7f42
use_lld overrided use_gold. Reworked definition of linker.
2018-10-18 22:31:25 +03:00
Mikhail Novosyolov
e5316914d9
just use_custom_libcxx=true
2018-10-17 18:36:28 +03:00
Mikhail Novosyolov
17db7e146b
Rework use_custom_libcxx
2018-10-17 17:01:58 +03:00
Mikhail Novosyolov
114270ed1c
Move defining use_custom_libcxx to %build
2018-10-17 16:13:17 +03:00
Mikhail Novosyolov
b0e5c0946b
Fix defining %{use_custom_libcxx_macro_tmpfile}
2018-10-17 16:00:27 +03:00
Mikhail Novosyolov
f6d2bc0cc9
Dynamically switch between system and Chromium's libc++ by glibc version. Restore jumbo.
2018-10-17 15:19:11 +03:00
Mikhail Novosyolov
4a57b79d9d
Dynamically switch between system and Chromium's libc++ by glibc version. Restore jumbo.
2018-10-17 14:50:41 +03:00
Mikhail Novosyolov
b913cc57a1
Remove unused patches
2018-10-17 01:06:17 +03:00
Mikhail Novosyolov
9ac9cdef4a
Added more patches, partially replacing removed Gentoo's patch for compiler flags
2018-10-17 00:10:58 +03:00
Mikhail Novosyolov
61778f8cdf
Reworking patches. Added new. Don't use some old patches. Drop using system libpng.
2018-10-16 11:52:08 +03:00
Mikhail Novosyolov
f72cdafcd8
build with use_custom_libcxx=false to force the use of the system libstdc++
2018-10-16 10:45:56 +03:00
Mikhail Novosyolov
e13e1f3e1b
Don't set extra_cxxflags, extra_ldflags
2018-10-16 10:16:28 +03:00
Mikhail Novosyolov
cda7025494
Don't %setup_compile_flags for clang, it breaks the build by unknown flags.
2018-10-16 09:44:22 +03:00
Mikhail Novosyolov
e8d8bc60d4
Disable gentoo's patch chromium-compiler-r4.patch
2018-10-16 01:45:22 +03:00
Mikhail Novosyolov
c7c1145131
bump release
2018-10-16 01:35:11 +03:00
Mikhail Novosyolov
7e028c1879
Added 2 patches from ALT: ALT-allow-_FORTIFY_SOURCE-for-clang.patch, ALT-allow-to-override-clang-through-env-variables.patch
2018-10-16 01:34:36 +03:00
Mikhail Novosyolov
2711c106b2
Changes to build configuration. More verbosity for ninja's logs.
2018-10-16 01:30:36 +03:00
Mikhail Novosyolov
4b5d9ad154
Revert switching to system libvpx.
...
System libvpx will normally be much older than the bundled one
2018-10-15 00:31:42 +03:00
Mikhail N
1d6d6f400a
Fix clang_base_path
2018-10-14 22:19:18 +03:00
Mikhail Novosyolov
e111c7be15
Don't remove bundled libraries. It's probably not needed. ALT Linux does not remove them.
...
Removing them breaks the build after some changes to build config.
2018-10-14 13:51:39 +03:00
Mikhail Novosyolov
ccea2cdfa9
Changes to build config
2018-10-14 13:50:30 +03:00
Mikhail Novosyolov
2b06d91dbd
Add more URLs for reference
2018-10-14 13:14:10 +03:00
Mikhail Novosyolov
d5f2dfc441
Reeanble VA-API
2018-10-14 13:08:58 +03:00
Mikhail Novosyolov
e6d24f04d3
openSUSE-Compile-the-sandbox-with-fPIE-settings.patch
2018-10-14 13:07:16 +03:00
Mikhail Novosyolov
b0c0475d37
Add KerberOS support
2018-10-14 13:00:06 +03:00