mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
Compare commits
12 Commits
533dd66355
...
166bfd3e66
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
166bfd3e66 | ||
|
|
ed9466e7f9 | ||
|
|
fbad192a4d | ||
|
|
96f01932be | ||
|
|
2b31a28dce | ||
|
|
63877f9e86 | ||
|
|
32c6fffd41 | ||
|
|
105e4618c5 | ||
|
|
ef9f0a07ed | ||
|
|
22ec30b514 | ||
|
|
574aa2cfee | ||
|
|
e9f426aa52 |
10
Makefile
10
Makefile
@@ -602,6 +602,16 @@ prepare-sdk: world
|
||||
@$(call MESSAGE,"Preparing the SDK")
|
||||
$(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh
|
||||
mkdir -p $(HOST_DIR)/share/buildroot
|
||||
(\
|
||||
export LC_ALL=C; \
|
||||
grep -lr '$(HOST_DIR)' '$(HOST_DIR)' | while read -r FILE; do \
|
||||
if file -b --mime-type "$$FILE" | grep -q '^text/' && \
|
||||
[ "$$FILE" != '$(HOST_DIR)/share/buildroot/sdk-location' ] && \
|
||||
[ "$$FILE" != '$(HOST_DIR)/share/buildroot/sdk-relocs' ]; then \
|
||||
echo "$$FILE"; \
|
||||
fi; \
|
||||
done \
|
||||
) | sed -e 's|^$(HOST_DIR)|.|g' > $(HOST_DIR)/share/buildroot/sdk-relocs
|
||||
echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location
|
||||
|
||||
BR2_SDK_PREFIX ?= $(GNU_TARGET_NAME)_sdk-buildroot
|
||||
|
||||
@@ -45,6 +45,13 @@ config BR2_RISCV_ISA_RVV
|
||||
bool "Vector Instructions (V)"
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
|
||||
|
||||
config BR2_RISCV_ISA_EXTRA
|
||||
string "Append extra RISC-V ISA extensions"
|
||||
help
|
||||
Extra ISA extensions to append to the ISA extensions string.
|
||||
They are underscore-separated. For example,
|
||||
"zba_zbb_zvl256b".
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Size"
|
||||
default BR2_RISCV_64
|
||||
|
||||
@@ -39,4 +39,9 @@ ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_12),y)
|
||||
GCC_TARGET_ARCH := $(GCC_TARGET_ARCH)_zicsr_zifencei
|
||||
endif
|
||||
|
||||
ARCH_RISV_ISA_EXTRA = $(call qstrip, $(BR2_RISCV_ISA_EXTRA))
|
||||
ifneq ($(ARCH_RISV_ISA_EXTRA),)
|
||||
GCC_TARGET_ARCH := $(GCC_TARGET_ARCH)_$(ARCH_RISV_ISA_EXTRA)
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Verified from https://ftp.isc.org/isc/bind9/9.18.41/bind-9.18.41.tar.xz.asc
|
||||
# Verified from https://ftp.isc.org/isc/bind9/9.18.44/bind-9.18.44.tar.xz.asc
|
||||
# with key D99CCEAF879747014F038D63182E23579462EFAA
|
||||
sha256 6ddc1d981511c4da0b203b0513af131e5d15e5f1c261145736fe1f35dd1fe79d bind-9.18.41.tar.xz
|
||||
sha256 81f5035a25c576af1a93f0061cf70bde6d00a0c7bd1274abf73f5b5389a6f82d bind-9.18.44.tar.xz
|
||||
sha256 9734825d67a3ac967b2c2f7c9a83c9e5db1c2474dbe9599157c3a4188749ebd4 COPYRIGHT
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BIND_VERSION = 9.18.41
|
||||
BIND_VERSION = 9.18.44
|
||||
BIND_SOURCE= bind-$(BIND_VERSION).tar.xz
|
||||
BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION)
|
||||
BIND_INSTALL_STAGING = YES
|
||||
|
||||
@@ -28,6 +28,15 @@ GLIBC_CPE_ID_VERSION = $(word 1, $(subst -,$(space),$(GLIBC_VERSION)))
|
||||
# Fixed by glibc-2.41-64-g1e16d0096d80a6e12d5bfa8e0aafdd13c47efd65
|
||||
GLIBC_IGNORE_CVES += CVE-2025-8058
|
||||
|
||||
# Fixed by glibc-2.42-49-gb0ec8fb689df862171f0f78994a3bdeb51313545
|
||||
GLIBC_IGNORE_CVES += CVE-2026-0861
|
||||
|
||||
# Fixed by glibc-2.42-50-g453e6b8dbab935257eb0802b0c97bca6b67ba30e
|
||||
GLIBC_IGNORE_CVES += CVE-2026-0915
|
||||
|
||||
# Fixed by glibc-2.42-51-gcbf39c26b25801e9bc88499b4fd361ac172d4125
|
||||
GLIBC_IGNORE_CVES += CVE-2025-15281
|
||||
|
||||
# This CVE is considered as not being security issues by
|
||||
# upstream glibc:
|
||||
# https://security-tracker.debian.org/tracker/CVE-2010-4756
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
From 5aaa7e5fdc59e88a13d2911cb86d814d4e2669da Mon Sep 17 00:00:00 2001
|
||||
From: Danny Tsen <dtsen@us.ibm.com>
|
||||
Date: Wed, 28 Jan 2026 07:23:13 -0500
|
||||
Subject: [PATCH] aes-gcm-ppc.pl: Removed .localentry directive
|
||||
|
||||
Otherwise there is mixing of ELFv1 ABI and ELFv2 ABI directives
|
||||
and PPC64 big endian builds fail.
|
||||
|
||||
Fixes #29815
|
||||
|
||||
Signed-off-by: Danny Tsen <dtsen@us.ibm.com>
|
||||
|
||||
Reviewed-by: Paul Dale <paul.dale@oracle.com>
|
||||
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
|
||||
Reviewed-by: Tomas Mraz <tomas@openssl.org>
|
||||
MergeDate: Tue Feb 3 08:39:50 2026
|
||||
(Merged from https://github.com/openssl/openssl/pull/29827)
|
||||
|
||||
Upstream: https://github.com/openssl/openssl/commit/5aaa7e5fdc59e88a13d2911cb86d814d4e2669da
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
crypto/modes/asm/aes-gcm-ppc.pl | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/crypto/modes/asm/aes-gcm-ppc.pl b/crypto/modes/asm/aes-gcm-ppc.pl
|
||||
index 68918a9305a2b..fd5dcc22a6117 100644
|
||||
--- a/crypto/modes/asm/aes-gcm-ppc.pl
|
||||
+++ b/crypto/modes/asm/aes-gcm-ppc.pl
|
||||
@@ -409,7 +409,6 @@
|
||||
################################################################################
|
||||
.align 4
|
||||
aes_gcm_crypt_1x:
|
||||
-.localentry aes_gcm_crypt_1x,0
|
||||
|
||||
cmpdi 5, 16
|
||||
bge __More_1x
|
||||
@@ -492,7 +491,6 @@
|
||||
################################################################################
|
||||
.align 4
|
||||
__Process_partial:
|
||||
-.localentry __Process_partial,0
|
||||
|
||||
# create partial mask
|
||||
vspltisb 16, -1
|
||||
@@ -564,7 +562,6 @@
|
||||
.global ppc_aes_gcm_encrypt
|
||||
.align 5
|
||||
ppc_aes_gcm_encrypt:
|
||||
-.localentry ppc_aes_gcm_encrypt,0
|
||||
|
||||
SAVE_REGS
|
||||
LOAD_HASH_TABLE
|
||||
@@ -752,7 +749,6 @@
|
||||
.global ppc_aes_gcm_decrypt
|
||||
.align 5
|
||||
ppc_aes_gcm_decrypt:
|
||||
-.localentry ppc_aes_gcm_decrypt, 0
|
||||
|
||||
SAVE_REGS
|
||||
LOAD_HASH_TABLE
|
||||
@@ -1032,7 +1028,6 @@
|
||||
.size ppc_aes_gcm_decrypt,.-ppc_aes_gcm_decrypt
|
||||
|
||||
aes_gcm_out:
|
||||
-.localentry aes_gcm_out,0
|
||||
|
||||
mr 3, 11 # return count
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
From c4292cc5af3278b294c2baa5464c9985228205fe Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd@kuhls.net>
|
||||
Date: Tue, 3 Feb 2026 20:13:49 +0100
|
||||
Subject: [PATCH] blake3: add blake3_neon.c only for little endian archs
|
||||
|
||||
Fixes build error on big endian archs:
|
||||
|
||||
Build machine cpu family: x86_64
|
||||
Build machine cpu: x86_64
|
||||
Host machine cpu family: aarch64
|
||||
Host machine cpu: cortex-a53
|
||||
Target machine cpu family: aarch64
|
||||
Target machine cpu: cortex-a53
|
||||
[...]
|
||||
../src/util/blake3/blake3_neon.c:6:2: error: #error "This implementation only supports little-endian ARM."
|
||||
6 | #error "This implementation only supports little-endian ARM."
|
||||
|
||||
as detected by buildroot autobuilders:
|
||||
https://autobuild.buildroot.net/results/efd/efd07d97df4e0c1ceb07fc26e17898afef5435b9/build-end.log
|
||||
|
||||
For reference:
|
||||
$ grep -i endian output/build/mesa3d-25.3.4/buildroot-build/cross-compilation.conf
|
||||
endian = 'big'
|
||||
|
||||
Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39681
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
src/util/blake3/meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/util/blake3/meson.build b/src/util/blake3/meson.build
|
||||
index bd51cfb68c3..767da2c6ec3 100644
|
||||
--- a/src/util/blake3/meson.build
|
||||
+++ b/src/util/blake3/meson.build
|
||||
@@ -35,7 +35,7 @@ elif cpu_family == 'x86'
|
||||
# There are no assembly versions for 32-bit x86. Compiling the C versions require a different compilation flag per
|
||||
# file, which is not well supported by Meson. Leave SIMD support out for now.
|
||||
blake3_defs += blake3_x86_no_simd_defs
|
||||
-elif cpu_family == 'aarch64'
|
||||
+elif cpu_family == 'aarch64' and target_machine.endian() == 'little'
|
||||
files_blake3 += ['blake3_neon.c']
|
||||
endif
|
||||
|
||||
--
|
||||
2.47.3
|
||||
|
||||
29
package/openobex/0001-Fix-FTBFS-with-CMake-4.patch
Normal file
29
package/openobex/0001-Fix-FTBFS-with-CMake-4.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From bfd33e3ebf1fe253542b9ea2b6e034c8ce30866d Mon Sep 17 00:00:00 2001
|
||||
From: Adrian Bunk <bunk@debian.org>
|
||||
Date: Sat, 17 Jan 2026 11:14:15 +0100
|
||||
Subject: [PATCH] Fix FTBFS with CMake 4
|
||||
|
||||
Bug-Debian: https://bugs.debian.org/1113178
|
||||
|
||||
Downloaded from https://sources.debian.org/src/libopenobex/1.7.2-2.3/debian/patches/cmake-4.patch
|
||||
|
||||
Upstream: https://gitlab.com/openobex/mainline/-/merge_requests/3
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 813f900..b237f93 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required ( VERSION 3.1 FATAL_ERROR )
|
||||
+cmake_minimum_required ( VERSION 3.5 FATAL_ERROR )
|
||||
|
||||
project ( openobex
|
||||
LANGUAGES C
|
||||
--
|
||||
2.47.3
|
||||
|
||||
@@ -287,6 +287,8 @@ define TOOLCHAIN_CMAKE_INSTALL_FILES
|
||||
> $(HOST_DIR)/share/buildroot/toolchainfile.cmake
|
||||
$(Q)$(INSTALL) -D -m 0644 support/misc/Buildroot.cmake \
|
||||
$(HOST_DIR)/share/buildroot/Platform/Buildroot.cmake
|
||||
$(Q)$(INSTALL) -D -m 0644 support/misc/Buildroot-Initialize.cmake \
|
||||
$(HOST_DIR)/share/buildroot/Platform/Buildroot-Initialize.cmake
|
||||
endef
|
||||
|
||||
TOOLCHAIN_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_CMAKE_INSTALL_FILES
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_XINETD
|
||||
bool "xinetd"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC # no ecvt/fcvt
|
||||
select BR2_PACKAGE_LIBTIRPC_RPCDB if BR2_PACKAGE_LIBTIRPC
|
||||
help
|
||||
xinetd is a secure replacement for inetd. It was originally
|
||||
written by panos@cs.colorado.edu.
|
||||
|
||||
1
support/misc/Buildroot-Initialize.cmake
Normal file
1
support/misc/Buildroot-Initialize.cmake
Normal file
@@ -0,0 +1 @@
|
||||
include(Platform/Linux-Initialize)
|
||||
@@ -37,15 +37,10 @@ fi
|
||||
|
||||
echo "Relocating the buildroot SDK from ${OLDPATH} to ${NEWPATH} ..."
|
||||
|
||||
# Make sure file uses the right language
|
||||
export LC_ALL=C
|
||||
# Replace the old path with the new one in all text files
|
||||
grep -lr "${OLDPATH}" . | while read -r FILE ; do
|
||||
if file -b --mime-type "${FILE}" | grep -q '^text/' && [ "${FILE}" != "${LOCFILE}" ]
|
||||
then
|
||||
sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}"
|
||||
fi
|
||||
done
|
||||
while read -r FILE ; do
|
||||
sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}"
|
||||
done < share/buildroot/sdk-relocs
|
||||
|
||||
# At the very end, we update the location file to not break the
|
||||
# SDK if this script gets interruted.
|
||||
|
||||
@@ -1313,12 +1313,22 @@ def parse_args():
|
||||
default=[])
|
||||
parser.add_argument('-v', '--verbose', dest='verbose', action='store_true',
|
||||
help='Increase verbosity')
|
||||
parser.add_argument('-N', '--needs-update', dest='needs_update', action='store_true',
|
||||
help='Only include packages with newer versions available')
|
||||
args = parser.parse_args()
|
||||
if not args.html and not args.json:
|
||||
parser.error('at least one of --html or --json (or both) is required')
|
||||
return args
|
||||
|
||||
|
||||
def is_newer_version_available(pkg):
|
||||
return not (
|
||||
pkg.latest_version['status'] in (RM_API_STATUS_ERROR, RM_API_STATUS_NOT_FOUND) or
|
||||
pkg.latest_version['version'] is None or
|
||||
pkg.latest_version['version'] == pkg.current_version
|
||||
)
|
||||
|
||||
|
||||
def __main__():
|
||||
global cvecheck
|
||||
|
||||
@@ -1365,15 +1375,19 @@ def __main__():
|
||||
pkg.set_developers(developers)
|
||||
if "url" not in args.disable:
|
||||
print("Checking URL status")
|
||||
loop = asyncio.get_event_loop()
|
||||
loop = asyncio.new_event_loop()
|
||||
asyncio.set_event_loop(loop)
|
||||
loop.run_until_complete(check_package_urls(packages, verbose=args.verbose))
|
||||
if "upstream" not in args.disable:
|
||||
print("Getting latest versions ...")
|
||||
loop = asyncio.get_event_loop()
|
||||
loop = asyncio.new_event_loop()
|
||||
asyncio.set_event_loop(loop)
|
||||
loop.run_until_complete(check_package_latest_version(packages, verbose=args.verbose))
|
||||
if "cve" not in args.disable and args.nvd_path:
|
||||
print("Checking packages CVEs")
|
||||
check_package_cves(args.nvd_path, packages)
|
||||
if args.needs_update:
|
||||
packages = [pkg for pkg in packages if is_newer_version_available(pkg)]
|
||||
print("Calculate stats")
|
||||
stats = calculate_stats(packages)
|
||||
if args.html:
|
||||
|
||||
Reference in New Issue
Block a user