Mikhail Novosyolov
6974bcb422
Make Yandex be the default search engine
2022-05-29 22:39:47 +03:00
Mikhail Novosyolov
2c507d422b
Update files for v102
...
```
DEBUG: + rm -fv 'out/Release/swiftshader/*.TOC'
DEBUG: + cp -r out/Release/swiftshader /builddir/build/BUILDROOT/chromium-browser-stable-102.0.5005.61-1.x86_64/usr/lib64/chromium-browser
DEBUG: cp: cannot stat 'out/Release/swiftshader': No such file or directory
DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.7ywz7i (%install)
```
Own directory
Fix typo
Pepper (PPAPI) plugins do not exist anymore, Flash player was the last one.
2022-05-29 14:35:46 +03:00
Mikhail Novosyolov
a00137467c
PDFium became not buildable with old freetype
...
In rosa2016.1:
```
../../third_party/pdfium/core/fpdfapi/font/cpdf_cidfont.cpp:740:27: error: no matching function for call to 'FT_Get_Name_Index'
: FT_Get_Name_Index(face, name);
```
2022-05-29 14:13:43 +03:00
Mikhail Novosyolov
2ed5932e48
w/a failure of 3rd-party script
...
```
DEBUG: FAILED: gen/third_party/dawn/dawn_version_gen.json_tarball
DEBUG: /usr/bin/python3 ../../third_party/dawn/generator/dawn_version_generator.py --dawn-dir ../../third_party/dawn/ --template-dir /builddir/build/BUILD/chromium-102.0.5005.61/third_party/dawn/generator/templates --jinja2-path /builddir/build/BUILD/chromium-102.0.5005.61/third_party/jinja2 --output-json-tarball gen/third_party/dawn/dawn_version_gen.json_tarball --depfile gen/third_party/dawn/dawn_version_gen.json_tarball.d --expected-outputs-file gen/third_party/dawn/dawn_version_gen.expected_outputs --allowed-output-dirs-file gen/third_party/dawn/dawn_version_gen.allowed_output_dirs
DEBUG: Traceback (most recent call last):
DEBUG: File "../../third_party/dawn/generator/dawn_version_generator.py", line 113, in <module>
DEBUG: sys.exit(run_generator(DawnVersionGenerator()))
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/dawn/generator/generator_lib.py", line 327, in run_generator
DEBUG: outputs = _do_renders(renders, args.template_dir)
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/dawn/generator/generator_lib.py", line 186, in _do_renders
DEBUG: content = env.get_template(render.template).render(**params)
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/jinja2/../jinja2/environment.py", line 1090, in render
DEBUG: self.environment.handle_exception()
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/jinja2/../jinja2/environment.py", line 832, in handle_exception
DEBUG: reraise(*rewrite_traceback_stack(source=source))
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/jinja2/../jinja2/_compat.py", line 28, in reraise
DEBUG: raise value.with_traceback(tb)
DEBUG: File "/builddir/build/BUILD/chromium-102.0.5005.61/third_party/dawn/generator/templates/dawn/common/Version.h", line 20, in top-level template code
DEBUG: static constexpr char kGitHash[] = "{{get_gitHash()}}";
DEBUG: File "../../third_party/dawn/generator/dawn_version_generator.py", line 83, in <lambda>
DEBUG: 'get_gitHash': lambda: get_gitHash(os.path.abspath(args.dawn_dir)),
DEBUG: File "../../third_party/dawn/generator/dawn_version_generator.py", line 26, in get_gitHash
DEBUG: result = subprocess.run([get_git(), 'rev-parse', 'HEAD'],
DEBUG: File "/usr/lib64/python3.8/subprocess.py", line 493, in run
DEBUG: with Popen(*popenargs, **kwargs) as process:
DEBUG: File "/usr/lib64/python3.8/subprocess.py", line 858, in __init__
DEBUG: self._execute_child(args, executable, preexec_fn, close_fds,
DEBUG: File "/usr/lib64/python3.8/subprocess.py", line 1704, in _execute_child
DEBUG: raise child_exception_type(errno_num, err_msg, err_filename)
DEBUG: FileNotFoundError: [Errno 2] No such file or directory: 'git'
```
2022-05-27 01:33:46 +03:00
Mikhail Novosyolov
7d51148c90
Make new tab page functional with non-Google default search engine
2022-05-26 20:58:49 +03:00
Mikhail Novosyolov
00590e1a04
upd: 99.0.4844.84 -> 102.0.5005.61
...
Not buildable with llvm12, requires commit d69e9f9d89
in LLVM
2022-05-26 19:19:27 +03:00
Mikhail Novosyolov
716d2bc16d
upd: 99.0.4844.74 -> 99.0.4844.84
2022-03-27 13:07:09 +03:00
Mikhail Novosyolov
a3b000fc70
upd: 98.0.4758.102 -> 99.0.4844.74
2022-03-27 12:22:50 +03:00
Mikhail Novosyolov
75b913209f
Remove garbage *.TOC files
...
$ rpm -ql chromium-browser-stable | grep TOC
/usr/lib64/chromium-browser/libEGL.so.TOC
/usr/lib64/chromium-browser/libGLESv2.so.TOC
/usr/lib64/chromium-browser/swiftshader/libEGL.so.TOC
/usr/lib64/chromium-browser/swiftshader/libGLESv2.so.TOC
strace confirmed that they are not used.
2022-03-27 12:22:14 +03:00
Mikhail Novosyolov
711d751660
rm odd variable rtc_pipewire_version
...
```
DEBUG: [194/194] LINK gn
DEBUG: WARNING at the command-line "--args":24:85: Build argument has no effect.
DEBUG: rtc_use_pipewire=true rtc_link_pipewire=true rtc_pipewire_version="0.3"
DEBUG: ^----
DEBUG: The variable "rtc_pipewire_version" was set as a build argument
DEBUG: but never appeared in a declare_args() block in any buildfile.
```
2022-03-27 12:22:08 +03:00
Mikhail Novosyolov
744ffc6776
Get rid of Java in BR
...
It was needed only to check bundled javascript, it does not make sense during package building
(because we will not try to fix any issues found by it, Chromium developers do a great job themselves).
2022-03-27 12:21:59 +03:00
Mikhail Novosyolov
4731881556
Clean up strange build options
...
Remove options that seem to be odd (either do not exist, or do nothing, or set default values).
2022-03-27 12:21:34 +03:00
Mikhail Novosyolov
77afa73de9
upd: 98.0.4758.80 -> 98.0.4758.102
2022-02-16 01:23:17 +03:00
Mikhail Novosyolov
88b203f8d3
Fix typo
2022-02-05 09:02:56 +03:00
Mikhail Novosyolov
c4eeae727c
Fix missync of options
...
Libraries are unbundled bellow removed code:
<...> build/linux/unbundle/replace_gn_files.py --system-libraries \
freetype \
fontconfig \
libdrm
But settings were set to use bundled ones.
2022-02-05 07:24:52 +03:00
Mikhail Novosyolov
b1ab34053c
Move default config into a separate file
...
This will easify editing it.
No changes made.
Reformatted by jq(1).
2022-02-05 07:11:42 +03:00
Mikhail Novosyolov
534c78119b
Remove not used BR
2022-02-05 06:48:08 +03:00
Mikhail Novosyolov
953ba44623
upd: 97.0.4692.99 -> 98.0.4758.80
2022-02-02 22:31:33 +03:00
Mikhail Novosyolov
9fe3052092
upd: 97.0.4692.71 -> 97.0.4692.99
2022-01-20 20:17:19 +03:00
Владимир Потапов
2e88ef28e3
Bump release for build without testings
2022-01-09 14:15:30 +00:00
Mikhail Novosyolov
b93ebf5a05
Fix drag'n'drop under kwin (KDE)
2022-01-06 03:15:28 +03:00
Mikhail Novosyolov
e5f2bb1dd0
upd: 96.0.4664.110 -> 97.0.4692.71
2022-01-05 04:56:37 +03:00
Mikhail Novosyolov
be875ba259
upd: 96.0.4664.45 -> 96.0.4664.110
2021-12-14 23:36:18 +03:00
Mikhail Novosyolov
ed660fdcbf
P chromium in addition to chromium-browser
2021-12-04 15:19:39 +03:00
Mikhail Novosyolov
f592dd8757
P chromium-browser (RB#11682)
...
Make it installable as chromium-browser intuitively.
Also, there was a dummy package chromium-browser in rosa2016.1,
but it was removed then, but is still present in main/release there
and can be installed instead.
https://bugzilla.rosalinux.ru/show_bug.cgi?id=11682#c2
2021-12-01 13:08:00 +03:00
Mikhail Novosyolov
720b5bd4f3
Fix excluding libffmpeg.so from AutoReq on rpm5, chromium-codecs is pulled manually
2021-11-30 00:16:29 +03:00
Mikhail Novosyolov
983dcda7c5
upd: 95.0.4638.69 -> 96.0.4664.45
2021-11-28 22:47:53 +03:00
Mikhail Novosyolov
4f485b572c
Drop i686
...
Chromium has been segfaulting on i686 (i586) for many months and versions,
nobody complained about it, so nobody is using it there,
let's just same machine time by not building it there.
2021-11-13 18:33:47 +03:00
Mikhail Novosyolov
3c52975086
Reapply 2 more fixes of window sizing which I deleted earlier
...
https://bugs.chromium.org/p/chromium/issues/detail?id=1260821#c80
https://bugs.chromium.org/p/chromium/issues/detail?id=1260821#c81
2021-11-13 18:26:02 +03:00
Mikhail Novosyolov
69ee7beee6
Off Wayland in rosa2016.1
...
A new build error occured:
```
../../ui/ozone/platform/wayland/host/wayland_window.cc:7:10: fatal error: 'bits/stdint-intn.h' file not found
include <bits/stdint-intn.h>
^~~~~~~~~~~~~~~~~~~~
```
I am fed up with fixing Wayland in rosa2016.1
Took flags from https://gitlab.com/noencoding/OS-X-Chromium-with-proprietary-codecs/-/wikis/List-of-all-gn-arguments-for-Chromium-build
2021-11-13 12:55:39 +03:00
Mikhail Novosyolov
cdd2c949a7
Use upstream workaround for XFCE
...
Previous revert of an upstream commit had 2 problems:
1) https://bugs.chromium.org/p/chromium/issues/detail?id=1260821#c77
2) window was oversized with system titlebar enabled
2021-11-13 12:01:53 +03:00
Mikhail Novosyolov
8257e54e93
Fix default homepage
...
A new tab is a default page on start up, so it was not noticed.
Thanks to ilfat@
2021-11-13 11:55:39 +03:00
Mikhail Novosyolov
6dfdffc81d
Revert change that broke window sizing on XFCE
...
https://bugs.chromium.org/p/chromium/issues/detail?id=1260821
2021-11-09 18:22:37 +03:00
Mikhail Novosyolov
59a4d58594
Pick another fix of window sizing (window sometimes becomes too large even with the previous patch)
2021-11-09 01:59:38 +03:00
Mikhail Novosyolov
0be6517888
upd: 94.0.4606.71 -> 95.0.4638.69
2021-11-05 17:14:06 +03:00
Mikhail Novosyolov
3f70623a71
upd: 94.0.4606.61 -> 94.0.4606.71
2021-10-03 13:50:20 +03:00
Mikhail Novosyolov
bc162b0b07
upd: 94.0.4606.54 -> 94.0.4606.61
2021-09-28 19:28:10 +03:00
Mikhail Novosyolov
975d7135e1
upd: 93 -> 94
...
Do not use macro which was dropped from branding-configs
2021-09-22 20:38:56 +03:00
Mikhail Novosyolov
e7d87f098c
upd: 93.0.4577.63 -> 93.0.4577.82 (security update)
2021-09-14 22:31:31 +03:00
Mikhail Novosyolov
94b83c1091
Use nodejs 14 on rosa2016.1, nodejs (10) is too old
2021-09-07 00:17:20 +03:00
Mikhail Novosyolov
54e37fbaa7
Use pure python3
...
There is no sense in complicating things, borrow idea to use python3 only from alzim2/chromium-browser-stable
2021-09-06 18:50:44 +03:00
Mikhail Novosyolov
5fcc387303
Fix BR on rosa2016.1
...
```
[5230/49908] CC obj/third_party/iccjpeg/iccjpeg/iccjpeg.o
FAILED: obj/third_party/iccjpeg/iccjpeg/iccjpeg.o
/opt/llvm12/bin/clang -MMD -MF obj/third_party/iccjpeg/iccjpeg/iccjpeg.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-13-init-15163-g98033fdc-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -DCR_LIBCXX_REVISION=79a2e924d96e2fc1e4b937c42efd08898fa472d7 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_SYSTEM_LIBJPEG -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/iccjpeg -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -m32 -mfpmath=sse -msse3 -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -momit-leaf-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c11 -Wno-implicit-fallthrough -c ../../third_party/iccjpeg/iccjpeg.c -o obj/third_party/iccjpeg/iccjpeg/iccjpeg.o
warning: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
In file included from ../../third_party/iccjpeg/iccjpeg.c:24:
../../third_party/iccjpeg/iccjpeg.h:26:10: fatal error: 'jpeglib.h' file not found
include <jpeglib.h>
^~~~~~~~~~~
2 warnings and 1 error generated.
```
(may be some -I falgs are missing)
2021-09-05 21:58:53 +03:00
Mikhail Novosyolov
d897a5dad7
Use python 3.8 on old platforms
...
```
[1467/49932] ACTION //gpu/config:process_json(//build/toolchain/linux:clang_x64)
FAILED: gen/gpu/config/gpu_driver_bug_list_arrays_and_structs_autogen.h gen/gpu/config/gpu_driver_bug_list_autogen.cc gen/gpu/config/gpu_driver_bug_list_autogen.h gen/gpu/config/gpu_driver_bug_list_exceptions_autogen.h gen/gpu/config/software_rendering_list_arrays_and_structs_autogen.h gen/gpu/config/software_rendering_list_autogen.cc gen/gpu/config/software_rendering_list_autogen.h gen/gpu/config/software_rendering_list_exceptions_autogen.h
/usr/bin/python3 ../../gpu/config/process_json.py --output-dir gen/gpu/config --skip-testing-data --os-filter linux
Traceback (most recent call last):
File "../../gpu/config/process_json.py", line 1066, in <module>
sys.exit(main(sys.argv[1:]))
File "../../gpu/config/process_json.py", line 1041, in main
script_dir, options.output_dir, options.os_filter)
File "../../gpu/config/process_json.py", line 930, in process_software_rendering_list
'Software')
File "../../gpu/config/process_json.py", line 837, in process_json_file
json_data = json.load(json_file)
File "/usr/lib64/python3.5/json/__init__.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib64/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
```
2021-09-05 21:19:32 +03:00
Mikhail Novosyolov
55cdb91470
upd: 91.0.4472.114 -> 93.0.4577.63:
...
- build internal ffmpeg to avoid dependency on system one (we have dropped restricted in rosa2021.1 and have merged it into main and contrib)
- clean up build dependencies a bit (more clean up is required)
- remove not used if-else and patches
- drop patches for VA-API, upstream has VA-API support now, it is enabled, it is enough, I am fed up with different patches here
- drop patch for scripts generating installtion packages which are not used by us
- rename master_prefenrecnes to master_prefenrences.json to make "abf put" not upload it to filestore.
- cherry-pick upstream fixes for statx() in new glibc
- switch to internal libsecret backend instead of the no more maintained gnome-keyring
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1828192
libsecret should handle passwords previously saved via gnome-keyring
- use system fontconfig and freetype (maybe it will help to make fonts better, maybe not, but there is no sense in using bundled ones), use system libdrm
- remove odd metadata in new platforms
- enable Vulkan (RB#11463), keleg@ noted disabled Vulkan in chrome://gpu despite hardware supporting it
https://bugzilla.rosalinux.ru/show_bug.cgi?id=11463
- disable Control Flow Integrity (is_cfi) to avoid depending on too new clang, CFI amkes no sense for us
- install crashpad_handler (chromium tries to execve() it)
2021-09-05 21:19:15 +03:00
Mikhail Novosyolov
cde3da9b0b
upd: 91.0.4472.101 -> 91.0.4472.114
2021-06-26 23:46:28 +03:00
Mikhail Novosyolov
a49a5dc56c
upd: 91.0.4472.77 > 91.0.4472.101 (fixed critical CVEs)
2021-06-11 17:25:11 +03:00
Mikhail Novosyolov
a76b281eb8
Fix building with glibc from rosa2016.1
...
Removed patch fixed it in one place, but now the same fix is required in another place,
make a more generic solution (borrow it from systemd)
(XXX is mixing LGPL with Apache 2.0 OK here..?)
The error was the following:
```
[16040/48909] CXX obj/mojo/core/impl_for_embedder/channel_linux.o
FAILED: obj/mojo/core/impl_for_embedder/channel_linux.o
/opt/llvm12/bin/clang++ -MMD -MF obj/mojo/core/impl_for_embedder/channel_linux.o.d -DMOJO_SYSTEM_IMPL_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-13-init-6429-g0e92cbd6-2\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=8fa87946779682841e21e2da977eccfb6cb3bded -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -fcomplete-member-pointers -m64 -march=x86-64 -msse3 -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshadow -O2 -fdata-sections -ffunction-sections -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c ../../mojo/core/channel_linux.cc -o obj/mojo/core/impl_for_embedder/channel_linux.o
../../mojo/core/channel_linux.cc:109:29: error: use of undeclared identifier 'F_SEAL_SEAL'
constexpr int kMemFDSeals = F_SEAL_SEAL | F_SEAL_SHRINK | F_SEAL_GROW;
^
../../mojo/core/channel_linux.cc:109:43: error: use of undeclared identifier 'F_SEAL_SHRINK'
constexpr int kMemFDSeals = F_SEAL_SEAL | F_SEAL_SHRINK | F_SEAL_GROW;
^
../../mojo/core/channel_linux.cc:109:59: error: use of undeclared identifier 'F_SEAL_GROW'
constexpr int kMemFDSeals = F_SEAL_SEAL | F_SEAL_SHRINK | F_SEAL_GROW;
^
../../mojo/core/channel_linux.cc:153:23: error: use of undeclared identifier 'F_ADD_SEALS'
if (fcntl(fd.get(), F_ADD_SEALS, kMemFDSeals) < 0) {
^
../../mojo/core/channel_linux.cc:165:32: error: use of undeclared identifier 'F_GET_SEALS'
if ((seals = fcntl(fd.get(), F_GET_SEALS)) < 0) {
^
5 errors generated.
```
2021-06-05 13:53:00 +03:00
Mikhail Novosyolov
df7efee6e6
Disable thin LTO on 32 bit trying to reduce memory usage when linking
2021-06-04 13:19:19 +03:00
Mikhail Novosyolov
1b73bbc6e2
BR libcurl
...
```
DEBUG: FAILED: obj/third_party/crashpad/crashpad/util/util/http_transport_libcurl.o
DEBUG: /opt/llvm12/bin/clang++ -MMD -MF obj/third_party/crashpad/crashpad/util/util/http_transport_libcurl.o.d -DZLIB_CONST -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-13-init-6429-g0e92cbd6-2\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=8fa87946779682841e21e2da977eccfb6cb3bded -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DCRASHPAD_LSS_SOURCE_EXTERNAL -Igen/third_party/crashpad/crashpad -I../.. -Igen -I../../third_party/crashpad/crashpad -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/zlib -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -fcomplete-member-pointers -m64 -march=x86-64 -msse3 -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c ../../third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc -o obj/third_party/crashpad/crashpad/util/util/http_transport_libcurl.o
DEBUG: ../../third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc:17:10: fatal error: 'curl/curl.h' file not found
DEBUG: #include <curl/curl.h>
DEBUG: ^~~~~~~~~~~~~
DEBUG: 1 error generated.
```
2021-06-04 13:19:12 +03:00
Mikhail Novosyolov
3209854ccf
workround misdetection of java
2021-05-27 22:08:16 +03:00