<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/nbd/package/devel, branch master</title>
<subtitle>Felix Fietkaus staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/nbd/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/nbd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/'/>
<updated>2026-11-21T11:32:18Z</updated>
<entry>
<title>perf: fix build failure caused by libelf-zstd feature probe</title>
<updated>2026-11-21T11:32:18Z</updated>
<author>
<name>Til Kaiser</name>
</author>
<published>2026-09-18T14:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=6bd48701eff9ac65bb626b6c903f5f2155bbfa6e'/>
<id>urn:sha1:6bd48701eff9ac65bb626b6c903f5f2155bbfa6e</id>
<content type='text'>
The perf build currently fails with the following error:

    Error: libzstd is required by libelf, please do not set NO_LIBZSTD

This is caused by upstream kernel commit 44b44ffd5dce ("perf build:
Minor improvement for linking libzstd"), which strictly aborts the build
if the `libelf-zstd` feature is detected while `NO_LIBZSTD` is set.

Because OpenWrt explicitly sets `NO_LIBZSTD=1`, this upstream check
triggers a false positive whenever `libzstd` happens to be present in the
build staging directory. The probe only checks for a linkable `-lzstd`
and the `ELFCOMPRESS_ZSTD` macro in `elf.h`; it does not verify if
`libelf` actually requires it (OpenWrt configures elfutils
`--without-zstd`).

Fix this build failure by explicitly passing `feature-libelf-zstd=0` in
MAKE_FLAGS. This disables the auto-detection probe and prevents the
upstream Makefile from incorrectly enforcing a libzstd dependency.

Signed-off-by: Til Kaiser &lt;mail@tk154.de&gt;
Link: https://github.com/openwrt/openwrt/pull/25256
Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
</entry>
<entry>
<title>valgrind: fix build on MIPS64 with GCC15</title>
<updated>2026-11-21T00:59:37Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2026-11-20T21:21:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=2fa9f21b6c23db3e7d824b6e3dc184c1e452a459'/>
<id>urn:sha1:2fa9f21b6c23db3e7d824b6e3dc184c1e452a459</id>
<content type='text'>
The patch fixes the following LTO linking problem:
```
/__w/openwrt/openwrt/openwrt/staging_dir/toolchain-mips64_mips64r2_64_gcc-15.3.0_musl/mips64-openwrt-linux-musl/bin/ld.bfd: /__w/openwrt/openwrt/openwrt/tmp/ccM29fOJ.ltrans6.ltrans.o: in function `handle_SCSS_change':
/__w/openwrt/openwrt/openwrt/build_dir/target-mips64_mips64r2_64_musl/valgrind-3.26.0/memcheck/../coregrind/m_signals.c:1165:(.text+0x239c): undefined reference to `my_sigreturn'
collect2: error: ld returned 1 exit status
```

Link: https://github.com/openwrt/openwrt/pull/26841
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>kselftests-bpf: prevent target flags leaking through SAN_LDFLAGS</title>
<updated>2026-11-02T12:32:19Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2026-10-29T02:03:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=bf0e70d6e5fdb4459b03b1b98d443b98f0df9e94'/>
<id>urn:sha1:bf0e70d6e5fdb4459b03b1b98d443b98f0df9e94</id>
<content type='text'>
SAN_LDFLAGS defaults to SAN_CFLAGS in the BPF selftests Makefile.
Since OpenWrt exports LDFLAGS, appending SAN_LDFLAGS also exports the
target compiler flags to host tool builds. Host libbpf compilation
resets CFLAGS, but its shared library link still inherits LDFLAGS,
causing host gcc to reject options such as -fhonour-copts.

Explicitly clear SAN_LDFLAGS to prevent this fallback. Target builds
continue to receive compiler flags through SAN_CFLAGS and linker
flags through LDLIBS.

Fixes: 8694449c7a90 ("kselftests-bpf: isolate target userspace compiler flags")
Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
Link: https://github.com/openwrt/openwrt/pull/26390
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>kselftests-bpf: isolate target userspace compiler flags</title>
<updated>2026-09-29T07:29:09Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2026-09-21T06:19:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=8694449c7a90edbd94e8da5038631bce433f81bc'/>
<id>urn:sha1:8694449c7a90edbd94e8da5038631bce433f81bc</id>
<content type='text'>
Passing target flags through EXTRA_CFLAGS leaks them into kernel
module builds on Linux 6.6 and 6.12, causing ARM hard-float ABI
mismatches in generated module objects. Linux 6.18 also forwards
these flags to host tools, where the host compiler rejects them.

Reuse SAN_CFLAGS, normally used for sanitizer options, to pass
target flags to both userspace selftests and their target libbpf
builds on Linux 6.6, 6.12 and 6.18. Host tools and kernel modules
do not consume this variable. USERCFLAGS would only cover the
selftests, leaving their libbpf builds without the target flags.

This covers the targets built by this package; CROSS_BPFTOOL
does not consume SAN_CFLAGS.

Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
Link: https://github.com/openwrt/openwrt/pull/25345
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>valgrind: fix ARMv7 detection on AArch64</title>
<updated>2026-09-23T15:02:01Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2026-05-21T09:00:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=da415b6a69ebd98a5a58cceb058dd8273475c6d7'/>
<id>urn:sha1:da415b6a69ebd98a5a58cceb058dd8273475c6d7</id>
<content type='text'>
The mvebu target enables CONFIG_CPU_V7 even for AArch64 subtargets,
which also causes CONFIG_arm_v7 to be set. This makes Valgrind use
the ARMv7 configure host triplet on AArch64, breaking the build.

Only apply the ARMv7 host override when ARCH is arm.

Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
Link: https://github.com/openwrt/openwrt/pull/25346
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>package: binutils: deduplicate ld</title>
<updated>2026-04-18T17:34:21Z</updated>
<author>
<name>Konstantin Demin</name>
</author>
<published>2026-04-17T20:47:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=d43c458e029269c9be66385959018e6c9751272a'/>
<id>urn:sha1:d43c458e029269c9be66385959018e6c9751272a</id>
<content type='text'>
ld.bfd is the default/only implementation for now but things may change in future.

Signed-off-by: Konstantin Demin &lt;rockdrilla@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21997
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>binutils: update to 2.46.0</title>
<updated>2026-04-18T17:34:21Z</updated>
<author>
<name>Konstantin Demin</name>
</author>
<published>2026-04-17T20:47:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=68ef220f345d68c20fb3c4c6d2826b1ad375d8fd'/>
<id>urn:sha1:68ef220f345d68c20fb3c4c6d2826b1ad375d8fd</id>
<content type='text'>
Release Notes:
- https://sourceware.org/pipermail/binutils/2026-February/148149.html

OpenWrt changes:
- rearrange configure options and variables
- provide variables for both configure and build stages (binutils has more than one ./configure script in source tree)

Signed-off-by: Konstantin Demin &lt;rockdrilla@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21997
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>gdb: add CPPFLAGS</title>
<updated>2026-02-17T21:16:58Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2026-02-17T00:19:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=39e5f11631ddce63f46f8ddf338770fe0556990a'/>
<id>urn:sha1:39e5f11631ddce63f46f8ddf338770fe0556990a</id>
<content type='text'>
Forward the OpenWrt CPPFLAGS to the compile process. This fixes fortify
sources support.

Link: https://github.com/openwrt/openwrt/pull/22056
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>binutils: add CPPFLAGS</title>
<updated>2026-02-17T21:16:58Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2026-02-16T23:26:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=35939e4db93975c54ec002e6820f889906e6fcac'/>
<id>urn:sha1:35939e4db93975c54ec002e6820f889906e6fcac</id>
<content type='text'>
Forward the OpenWrt CPPFLAGS to the compile process. This fixes fortify
sources support.

Link: https://github.com/openwrt/openwrt/pull/22056
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>strace: use bundled kernel headers</title>
<updated>2026-01-21T10:41:59Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2026-01-14T09:30:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=e7873c4d7ee771b1f975986cf81ecf31d692580f'/>
<id>urn:sha1:e7873c4d7ee771b1f975986cf81ecf31d692580f</id>
<content type='text'>
Build against the bundled kernel headers instead of using the current
kernel ones. This ensures strace is using the kernel headers it is
written against, and not a random one that may contain breaking uapi
changes (which happen from time to time).

Fixes build against 6.18 final and recent LTS/stable kernels that got
minor uapi breakages (rename of a 6.18 introduced #define and a struct
field).

Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
</entry>
</feed>
