Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
Chromium
OpenPOWER Patches
Commits
c11b515d
Commit
c11b515d
authored
1 month ago
by
Timothy Pearson
Browse files
Options
Download
Email Patches
Plain Diff
Update to Chromium 132.0.6834.83
parent
433c330c
Changes
166
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
279 additions
and
261 deletions
+279
-261
README
README
+19
-1
patches/ppc64le/breakpad/0001-Implement-support-for-ppc64-on-Linux.patch
.../breakpad/0001-Implement-support-for-ppc64-on-Linux.patch
+69
-69
patches/ppc64le/core/add-ppc64-architecture-string.patch
patches/ppc64le/core/add-ppc64-architecture-string.patch
+3
-3
patches/ppc64le/core/add-ppc64-architecture-to-extensions.diff
...es/ppc64le/core/add-ppc64-architecture-to-extensions.diff
+12
-12
patches/ppc64le/core/add-ppc64-pthread-stack-size.patch
patches/ppc64le/core/add-ppc64-pthread-stack-size.patch
+3
-3
patches/ppc64le/core/baseline-isa-3-0.patch
patches/ppc64le/core/baseline-isa-3-0.patch
+11
-11
patches/ppc64le/core/cargo-add-ppc64.diff
patches/ppc64le/core/cargo-add-ppc64.diff
+4
-4
patches/ppc64le/crashpad/0001-Implement-support-for-PPC64-on-Linux.patch
.../crashpad/0001-Implement-support-for-PPC64-on-Linux.patch
+99
-99
patches/ppc64le/fixes/fix-breakpad-compile.patch
patches/ppc64le/fixes/fix-breakpad-compile.patch
+6
-6
patches/ppc64le/fixes/fix-clang-selection.patch
patches/ppc64le/fixes/fix-clang-selection.patch
+3
-3
patches/ppc64le/fixes/fix-different-data-layouts.patch
patches/ppc64le/fixes/fix-different-data-layouts.patch
+4
-4
patches/ppc64le/fixes/fix-partition-alloc-compile.patch
patches/ppc64le/fixes/fix-partition-alloc-compile.patch
+3
-3
patches/ppc64le/fixes/fix-rust-linking.patch
patches/ppc64le/fixes/fix-rust-linking.patch
+3
-3
patches/ppc64le/fixes/fix-rustc.patch
patches/ppc64le/fixes/fix-rustc.patch
+4
-4
patches/ppc64le/fixes/fix-study-crash.patch
patches/ppc64le/fixes/fix-study-crash.patch
+6
-6
patches/ppc64le/fixes/fix-unknown-warning-option-messages.diff
...es/ppc64le/fixes/fix-unknown-warning-option-messages.diff
+6
-6
patches/ppc64le/libaom/0001-Add-ppc64-target-to-libaom.patch
patches/ppc64le/libaom/0001-Add-ppc64-target-to-libaom.patch
+6
-6
patches/ppc64le/libaom/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
...om/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
+12
-12
patches/ppc64le/sandbox/0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
...inux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
+3
-3
patches/ppc64le/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
...e/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
+3
-3
No files found.
README
View file @
c11b515d
=================================================================================
VERSION
13
1
.0.6
778.108
13
2
.0.6
834.83
=================================================================================
APPLICATION
...
...
@@ -10,6 +10,24 @@ export QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
quilt push -a
=================================================================================
SPONSORS / SUPPORT
This work is currently sponsored by Raptor Engineering, LLC. and Integricloud
Open source consulting services: https://www.raptorengineering.com
Dedicated owner-controlled OpenPOWER servers: https://www.integricloud.com
Please consider supporting our continued work on owner-controlled computing by
volunteering for open source projects (including the maintenance of Chromium and
v8), purchasing an OpenPOWER product, leasing an OpenPOWER server, or otherwise
promoting open, sustainable, standardized computing solutions and the software
they require to remain viable alternatives to the closed service ecosystem.
If you would like to join the v8 and Chromium development team for POWER, please
let me know at tpearson@raptorengineering.com. Remote computing resources are
available free of charge to anyone willing to assist. Thank you!
=================================================================================
MINIMUM SYSTEM REQUIREMENTS
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/breakpad/0001-Implement-support-for-ppc64-on-Linux.patch
View file @
c11b515d
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/add-ppc64-architecture-string.patch
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/base/system/sys_info.cc
Index: chromium-13
2
.0.6
834.83
/base/system/sys_info.cc
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/base/system/sys_info.cc
+++ chromium-13
1
.0.6
778.108
/base/system/sys_info.cc
--- chromium-13
2
.0.6
834.83
.orig/base/system/sys_info.cc
+++ chromium-13
2
.0.6
834.83
/base/system/sys_info.cc
@@ -259,6 +259,8 @@
std::string SysInfo::ProcessCPUArchitect
return "ARM";
#elif defined(ARCH_CPU_ARM64)
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/add-ppc64-architecture-to-extensions.diff
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
Index: chromium-13
2
.0.6
834.83
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-13
1
.0.6
778.108
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
@@ -30
7
,6 +30
7
,8 @@
bool ChromeRuntimeAPIDelegate::GetPlatfo
--- chromium-13
2
.0.6
834.83
.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-13
2
.0.6
834.83
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
@@ -30
6
,6 +30
6
,8 @@
bool ChromeRuntimeAPIDelegate::GetPlatfo
info->arch = extensions::api::runtime::PlatformArch::kMips;
} else if (strcmp(arch, "mips64el") == 0) {
info->arch = extensions::api::runtime::PlatformArch::kMips64;
+ } else if (strcmp(arch, "ppc64") == 0) {
+ info->arch = extensions::api::runtime::PlatformArch::kPpc64;
} else {
NOTREACHED
_IN_MIGRATION
();
return false;
@@ -32
3
,6 +32
5
,8 @@
bool ChromeRuntimeAPIDelegate::GetPlatfo
NOTREACHED();
}
@@ -32
1
,6 +32
3
,8 @@
bool ChromeRuntimeAPIDelegate::GetPlatfo
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kMips;
} else if (strcmp(nacl_arch, "mips64") == 0) {
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kMips64;
+ } else if (strcmp(nacl_arch, "ppc64") == 0) {
+ info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kPpc64;
} else {
NOTREACHED
_IN_MIGRATION
();
return false;
Index: chromium-13
1
.0.6
778.108
/extensions/common/api/runtime.json
NOTREACHED();
}
Index: chromium-13
2
.0.6
834.83
/extensions/common/api/runtime.json
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/extensions/common/api/runtime.json
+++ chromium-13
1
.0.6
778.108
/extensions/common/api/runtime.json
--- chromium-13
2
.0.6
834.83
.orig/extensions/common/api/runtime.json
+++ chromium-13
2
.0.6
834.83
/extensions/common/api/runtime.json
@@ -98,7 +98,8 @@
{"name": "x86-32", "description": "Specifies the processer architecture as x86-32."},
{"name": "x86-64", "description": "Specifies the processer architecture as x86-64."},
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/add-ppc64-pthread-stack-size.patch
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/base/process/launch.h
Index: chromium-13
2
.0.6
834.83
/base/process/launch.h
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/base/process/launch.h
+++ chromium-13
1
.0.6
778.108
/base/process/launch.h
--- chromium-13
2
.0.6
834.83
.orig/base/process/launch.h
+++ chromium-13
2
.0.6
834.83
/base/process/launch.h
@@ -58,6 +58,9 @@
namespace base {
#if defined(ARCH_CPU_ARM64)
#define PTHREAD_STACK_MIN_CONST \
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/baseline-isa-3-0.patch
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/build/config/compiler/BUILD.gn
Index: chromium-13
2
.0.6
834.83
/build/config/compiler/BUILD.gn
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
1
.0.6
778.108
/build/config/compiler/BUILD.gn
@@ -14
7
7,7 +14
7
7,7 @@
config("compiler_cpu_abi") {
--- chromium-13
2
.0.6
834.83
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
2
.0.6
834.83
/build/config/compiler/BUILD.gn
@@ -14
9
7,7 +14
9
7,7 @@
config("compiler_cpu_abi") {
cflags += [ "-maix64" ]
ldflags += [ "-maix64" ]
} else {
...
...
@@ -11,10 +11,10 @@ Index: chromium-131.0.6778.108/build/config/compiler/BUILD.gn
ldflags += [ "-m64" ]
}
} else if (current_cpu == "riscv64") {
Index: chromium-13
1
.0.6
778.108
/third_party/libvpx/BUILD.gn
Index: chromium-13
2
.0.6
834.83
/third_party/libvpx/BUILD.gn
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/third_party/libvpx/BUILD.gn
+++ chromium-13
1
.0.6
778.108
/third_party/libvpx/BUILD.gn
--- chromium-13
2
.0.6
834.83
.orig/third_party/libvpx/BUILD.gn
+++ chromium-13
2
.0.6
834.83
/third_party/libvpx/BUILD.gn
@@ -105,7 +105,7 @@
config("libvpx_config") {
if (current_cpu == "ppc64") {
...
...
@@ -24,11 +24,11 @@ Index: chromium-131.0.6778.108/third_party/libvpx/BUILD.gn
"-maltivec",
"-mvsx",
]
Index: chromium-13
1
.0.6
778.108
/v8/BUILD.gn
Index: chromium-13
2
.0.6
834.83
/v8/BUILD.gn
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/v8/BUILD.gn
+++ chromium-13
1
.0.6
778.108
/v8/BUILD.gn
@@ -14
62
,7 +14
62
,7 @@
config("toolchain") {
--- chromium-13
2
.0.6
834.83
.orig/v8/BUILD.gn
+++ chromium-13
2
.0.6
834.83
/v8/BUILD.gn
@@ -14
71
,7 +14
71
,7 @@
config("toolchain") {
if (current_os == "linux") {
cflags += [
# Enable usage of AltiVec, VSX, and other POWER8 and higher features
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/cargo-add-ppc64.diff
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/build/rust/cargo_crate.gni
Index: chromium-13
2
.0.6
834.83
/build/rust/cargo_crate.gni
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/build/rust/cargo_crate.gni
+++ chromium-13
1
.0.6
778.108
/build/rust/cargo_crate.gni
@@ -4
32
,7 +4
32
,7 @@
template("cargo_crate") {
--- chromium-13
2
.0.6
834.83
.orig/build/rust/cargo_crate.gni
+++ chromium-13
2
.0.6
834.83
/build/rust/cargo_crate.gni
@@ -4
50
,7 +4
50
,7 @@
template("cargo_crate") {
]
}
if (current_cpu == "arm64" || current_cpu == "x64" ||
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/crashpad/0001-Implement-support-for-PPC64-on-Linux.patch
View file @
c11b515d
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-breakpad-compile.patch
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/third_party/breakpad/BUILD.gn
Index: chromium-13
2
.0.6
834.83
/third_party/breakpad/BUILD.gn
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/third_party/breakpad/BUILD.gn
+++ chromium-13
1
.0.6
778.108
/third_party/breakpad/BUILD.gn
@@ -
785
,7 +
785
,6 @@
if (is_linux || is_chromeos || is_androi
--- chromium-13
2
.0.6
834.83
.orig/third_party/breakpad/BUILD.gn
+++ chromium-13
2
.0.6
834.83
/third_party/breakpad/BUILD.gn
@@ -
800
,7 +
800
,6 @@
if (is_linux || is_chromeos || is_androi
"breakpad/src/client/minidump_file_writer.h",
"breakpad/src/common/convert_UTF.cc",
"breakpad/src/common/convert_UTF.h",
...
...
@@ -10,7 +10,7 @@ Index: chromium-131.0.6778.108/third_party/breakpad/BUILD.gn
"breakpad/src/common/linux/elf_core_dump.cc",
"breakpad/src/common/linux/elf_core_dump.h",
"breakpad/src/common/linux/elfutils.cc",
@@ -8
17
,6 +81
6
,8 @@
if (is_linux || is_chromeos || is_androi
@@ -8
32
,6 +8
3
1,8 @@
if (is_linux || is_chromeos || is_androi
configs += [ "//build/config/compiler:no_chromium_code" ]
public_configs = [ ":client_config" ]
...
...
@@ -19,7 +19,7 @@ Index: chromium-131.0.6778.108/third_party/breakpad/BUILD.gn
if (current_cpu == "arm" && is_chromeos_ash) {
# Avoid running out of registers in
# linux_syscall_support.h:sys_clone()'s inline assembly.
@@ -8
74
,7 +8
75
,6 @@
if (is_linux || is_chromeos || is_androi
@@ -8
89
,7 +8
90
,6 @@
if (is_linux || is_chromeos || is_androi
"breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc",
"breakpad/src/client/linux/minidump_writer/minidump_writer_unittest_utils.cc",
"breakpad/src/client/linux/minidump_writer/proc_cpuinfo_reader_unittest.cc",
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-clang-selection.patch
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/build/config/BUILDCONFIG.gn
Index: chromium-13
2
.0.6
834.83
/build/config/BUILDCONFIG.gn
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/build/config/BUILDCONFIG.gn
+++ chromium-13
1
.0.6
778.108
/build/config/BUILDCONFIG.gn
--- chromium-13
2
.0.6
834.83
.orig/build/config/BUILDCONFIG.gn
+++ chromium-13
2
.0.6
834.83
/build/config/BUILDCONFIG.gn
@@ -138,7 +138,6 @@
declare_args() {
# Set to true when compiling with the Clang compiler.
is_clang = current_os != "linux" ||
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-different-data-layouts.patch
View file @
c11b515d
...
...
@@ -24,11 +24,11 @@ inconsistency in data layouts when targeting this particular platform.
The error reported by the linker is not technically an error, however, only
a warning goosed up by a --fatal-warnings flag.
Index: chromium-13
1
.0.6
778.108
/build/config/compiler/BUILD.gn
Index: chromium-13
2
.0.6
834.83
/build/config/compiler/BUILD.gn
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
1
.0.6
778.108
/build/config/compiler/BUILD.gn
@@ -38
5
,7 +38
5
,7 @@
config("compiler") {
--- chromium-13
2
.0.6
834.83
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
2
.0.6
834.83
/build/config/compiler/BUILD.gn
@@ -38
6
,7 +38
6
,7 @@
config("compiler") {
# Linker warnings.
if (fatal_linker_warnings && !is_apple && current_os != "aix" &&
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-partition-alloc-compile.patch
View file @
c11b515d
kIndex: chromium-114.0.5735.45/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
Index: chromium-13
1
.0.6
778.108
/base/allocator/partition_allocator/partition_alloc.gni
Index: chromium-13
2
.0.6
834.83
/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/base/allocator/partition_allocator/partition_alloc.gni
+++ chromium-13
1
.0.6
778.108
/base/allocator/partition_allocator/partition_alloc.gni
--- chromium-13
2
.0.6
834.83
.orig/base/allocator/partition_allocator/partition_alloc.gni
+++ chromium-13
2
.0.6
834.83
/base/allocator/partition_allocator/partition_alloc.gni
@@ -19,7 +19,8 @@
if (is_nacl) {
# NaCl targets don't use 64-bit pointers.
has_64_bit_pointers = false
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-rust-linking.patch
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/build/toolchain/gcc_toolchain.gni
Index: chromium-13
2
.0.6
834.83
/build/toolchain/gcc_toolchain.gni
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/build/toolchain/gcc_toolchain.gni
+++ chromium-13
1
.0.6
778.108
/build/toolchain/gcc_toolchain.gni
--- chromium-13
2
.0.6
834.83
.orig/build/toolchain/gcc_toolchain.gni
+++ chromium-13
2
.0.6
834.83
/build/toolchain/gcc_toolchain.gni
@@ -441,7 +441,13 @@
template("single_gcc_toolchain") {
# -soname flag is not available on aix ld
soname_flag = "-Wl,-soname=\"$soname\""
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-rustc.patch
View file @
c11b515d
author: Andres Salomon <dilinger@debian.org>
description: allow ppc64le to build by using proper rustc target
Index: chromium-13
1
.0.6
778.108
/build/config/rust.gni
Index: chromium-13
2
.0.6
834.83
/build/config/rust.gni
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/build/config/rust.gni
+++ chromium-13
1
.0.6
778.108
/build/config/rust.gni
@@ -
200
,6 +
200
,9 @@
if (is_linux || is_chromeos) {
--- chromium-13
2
.0.6
834.83
.orig/build/config/rust.gni
+++ chromium-13
2
.0.6
834.83
/build/config/rust.gni
@@ -
177
,6 +
177
,9 @@
if (is_linux || is_chromeos) {
if (current_cpu == "arm64") {
rust_abi_target = "aarch64-unknown-linux-gnu"
cargo_target_abi = ""
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-study-crash.patch
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/components/variations/proto/study.proto
Index: chromium-13
2
.0.6
834.83
/components/variations/proto/study.proto
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/components/variations/proto/study.proto
+++ chromium-13
1
.0.6
778.108
/components/variations/proto/study.proto
--- chromium-13
2
.0.6
834.83
.orig/components/variations/proto/study.proto
+++ chromium-13
2
.0.6
834.83
/components/variations/proto/study.proto
@@ -262,6 +262,9 @@
message Study {
// A Mac-only value, indicating an x86-64 binary running on an arm64 host
// via "Rosetta 2" binary translation.
...
...
@@ -12,10 +12,10 @@ Index: chromium-131.0.6778.108/components/variations/proto/study.proto
}
// Enum to pass as optional bool.
Index: chromium-13
1
.0.6
778.108
/components/variations/service/variations_field_trial_creator_base.cc
Index: chromium-13
2
.0.6
834.83
/components/variations/service/variations_field_trial_creator_base.cc
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/components/variations/service/variations_field_trial_creator_base.cc
+++ chromium-13
1
.0.6
778.108
/components/variations/service/variations_field_trial_creator_base.cc
--- chromium-13
2
.0.6
834.83
.orig/components/variations/service/variations_field_trial_creator_base.cc
+++ chromium-13
2
.0.6
834.83
/components/variations/service/variations_field_trial_creator_base.cc
@@ -110,6 +110,9 @@
Study::CpuArchitecture GetCurrentCpuArch
if (process_arch == "x86") {
return Study::X86_32;
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-unknown-warning-option-messages.diff
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/build/config/compiler/BUILD.gn
Index: chromium-13
2
.0.6
834.83
/build/config/compiler/BUILD.gn
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
1
.0.6
778.108
/build/config/compiler/BUILD.gn
@@ -18
7
6,7 +18
7
6,7 @@
config("default_warnings") {
--- chromium-13
2
.0.6
834.83
.orig/build/config/compiler/BUILD.gn
+++ chromium-13
2
.0.6
834.83
/build/config/compiler/BUILD.gn
@@ -18
9
6,7 +18
9
6,7 @@
config("default_warnings") {
# -Wno-class-memaccess warns about hash table and vector in blink.
# But the violation is intentional.
...
...
@@ -11,7 +11,7 @@ Index: chromium-131.0.6778.108/build/config/compiler/BUILD.gn
cflags_cc += [ "-Wno-class-memaccess" ]
}
@@ -1
88
6,7 +1
88
6,9 @@
config("default_warnings") {
@@ -1
90
6,7 +1
90
6,9 @@
config("default_warnings") {
# Don't warn about "maybe" uninitialized. Clang doesn't include this
# in -Wall but gcc does, and it gives false positives.
...
...
@@ -22,7 +22,7 @@ Index: chromium-131.0.6778.108/build/config/compiler/BUILD.gn
cflags += [ "-Wno-deprecated-declarations" ]
# -Wcomment gives too many false positives in the case a
@@ -1
8
97,7 +1
8
99,9 @@
config("default_warnings") {
@@ -19
1
7,7 +19
1
9,9 @@
config("default_warnings") {
# -Wpacked-not-aligned complains all generated mojom-shared-internal.h
# files.
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/libaom/0001-Add-ppc64-target-to-libaom.patch
View file @
c11b515d
...
...
@@ -8,10 +8,10 @@ Subject: [PATCH] Add ppc64 target to libaom
third_party/libaom/cmake_update.sh | 3 +++
2 files changed, 15 insertions(+)
Index: chromium-13
1
.0.6
778.108
/third_party/libaom/BUILD.gn
Index: chromium-13
2
.0.6
834.83
/third_party/libaom/BUILD.gn
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/third_party/libaom/BUILD.gn
+++ chromium-13
1
.0.6
778.108
/third_party/libaom/BUILD.gn
--- chromium-13
2
.0.6
834.83
.orig/third_party/libaom/BUILD.gn
+++ chromium-13
2
.0.6
834.83
/third_party/libaom/BUILD.gn
@@ -309,6 +309,18 @@
if (current_cpu == "arm64") {
}
}
...
...
@@ -41,10 +41,10 @@ Index: chromium-131.0.6778.108/third_party/libaom/BUILD.gn
if (is_android) {
deps += [ "//third_party/cpu_features:ndk_compat" ]
}
Index: chromium-13
1
.0.6
778.108
/third_party/libaom/cmake_update.sh
Index: chromium-13
2
.0.6
834.83
/third_party/libaom/cmake_update.sh
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/third_party/libaom/cmake_update.sh
+++ chromium-13
1
.0.6
778.108
/third_party/libaom/cmake_update.sh
--- chromium-13
2
.0.6
834.83
.orig/third_party/libaom/cmake_update.sh
+++ chromium-13
2
.0.6
834.83
/third_party/libaom/cmake_update.sh
@@ -164,6 +164,9 @@
egrep \
"#define [A-Z0-9_]+[[:space:]]+[01]" "${CFG}/win/ia32/config/aom_config.h" \
| awk '{print "%define " $2 " " $3}' > "${CFG}/win/ia32/config/aom_config.asm"
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/libaom/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
View file @
c11b515d
Index: chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
Index: chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
===================================================================
--- /dev/null
+++ chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
+++ chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
@@ -0,0 +1,95 @@
+;
+; Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -98,10 +98,10 @@ Index: chromium-131.0.6778.108/third_party/libaom/source/config/linux/ppc64/conf
+HAVE_VSX equ 1
+HAVE_WXWIDGETS equ 0
+STATIC_LINK_JXL equ 0
Index: chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
Index: chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
===================================================================
--- /dev/null
+++ chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
+++ chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -116,10 +116,10 @@ Index: chromium-131.0.6778.108/third_party/libaom/source/config/linux/ppc64/conf
+#include "aom/aom_codec.h"
+static const char* const cfg = "cmake ../source/libaom -G \"Unix Makefiles\" -DCMAKE_TOOLCHAIN_FILE=\"../source/libaom/build/cmake/toolchains/ppc-linux-gcc.cmake\" -DCONFIG_AV1_DECODER=0 -DCONFIG_AV1_ENCODER=1 -DCONFIG_LIBYUV=0 -DCONFIG_AV1_HIGHBITDEPTH=0 -DCONFIG_AV1_TEMPORAL_DENOISING=1 -DCONFIG_QUANT_MATRIX=0 -DCONFIG_REALTIME_ONLY=1 -DCONFIG_SIZE_LIMIT=1 -DDECODE_HEIGHT_LIMIT=16384 -DDECODE_WIDTH_LIMIT=16384";
+const char *aom_codec_build_config(void) {return cfg;}
Index: chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
Index: chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
===================================================================
--- /dev/null
+++ chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
+++ chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
@@ -0,0 +1,98 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -219,10 +219,10 @@ Index: chromium-131.0.6778.108/third_party/libaom/source/config/linux/ppc64/conf
+#define HAVE_WXWIDGETS 0
+#define STATIC_LINK_JXL 0
+#endif // AOM_CONFIG_H_
Index: chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
Index: chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
===================================================================
--- /dev/null
+++ chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
+++ chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
@@ -0,0 +1,1501 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -1725,10 +1725,10 @@ Index: chromium-131.0.6778.108/third_party/libaom/source/config/linux/ppc64/conf
+#endif
+
+#endif
Index: chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
Index: chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
===================================================================
--- /dev/null
+++ chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
+++ chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
@@ -0,0 +1,91 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
@@ -1821,10 +1821,10 @@ Index: chromium-131.0.6778.108/third_party/libaom/source/config/linux/ppc64/conf
+#endif
+
+#endif
Index: chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
Index: chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
===================================================================
--- /dev/null
+++ chromium-13
1
.0.6
778.108
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
+++ chromium-13
2
.0.6
834.83
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
@@ -0,0 +1,438 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
View file @
c11b515d
...
...
@@ -10,10 +10,10 @@ More investigation required.
sandbox/linux/seccomp-bpf/trap.cc | 14 ++++++++++++++
1 file changed, 14 insertions(+)
Index: chromium-13
1
.0.6
778.108
/sandbox/linux/seccomp-bpf/trap.cc
Index: chromium-13
2
.0.6
834.83
/sandbox/linux/seccomp-bpf/trap.cc
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/sandbox/linux/seccomp-bpf/trap.cc
+++ chromium-13
1
.0.6
778.108
/sandbox/linux/seccomp-bpf/trap.cc
--- chromium-13
2
.0.6
834.83
.orig/sandbox/linux/seccomp-bpf/trap.cc
+++ chromium-13
2
.0.6
834.83
/sandbox/linux/seccomp-bpf/trap.cc
@@ -236,6 +236,20 @@
void Trap::SigSys(int nr, LinuxSigInfo*
SetIsInSigHandler();
}
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
View file @
c11b515d
...
...
@@ -7,10 +7,10 @@ Subject: [PATCH 1/1] sandbox: Enable seccomp_bpf for ppc64
sandbox/features.gni | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: chromium-13
1
.0.6
778.108
/sandbox/features.gni
Index: chromium-13
2
.0.6
834.83
/sandbox/features.gni
===================================================================
--- chromium-13
1
.0.6
778.108
.orig/sandbox/features.gni
+++ chromium-13
1
.0.6
778.108
/sandbox/features.gni
--- chromium-13
2
.0.6
834.83
.orig/sandbox/features.gni
+++ chromium-13
2
.0.6
834.83
/sandbox/features.gni
@@ -9,7 +9,8 @@
use_seccomp_bpf = (is_linux || is_chromeos || is_android) &&
(current_cpu == "x86" || current_cpu == "x64" ||
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
9
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment