<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/blocktrron/toolchain/gdb, branch master</title>
<subtitle>Staging tree of David Bauer</subtitle>
<id>https://git.openwrt.org/openwrt/staging/blocktrron/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/blocktrron/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/'/>
<updated>2025-11-08T19:58:30Z</updated>
<entry>
<title>toolchain: gdb: Update to version 16.3</title>
<updated>2025-11-08T19:58:30Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2025-10-25T20:49:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=7f989ecb0342701b928a1da03e6f475197ca4730'/>
<id>urn:sha1:7f989ecb0342701b928a1da03e6f475197ca4730</id>
<content type='text'>
This is a corrective release over GDB 16.2, fixing the following issues:

   PR symtab/32309 ([gdb/symtab, fission] gdb/dwarf2/read.h:289: internal-error: version: Assertion `m_dwarf_version != 0' failed)
   PR corefiles/32441 (gdb segfaults when generating a core file if target_fileio_read_alloc fails)
   PR tui/32623 (TUI console window doesn't update while inferior is running)
   PR corefiles/32634 ([gdb/corefiles] segfault in gdb.arch/i386-biarch-core.exp)
   PR backtrace/32757 ("Assertion `stashed' failed" when inline frame #0 is duplicated)
   PR tdep/32770 ([gdb/tdep, i386] FAIL: gdb.reverse/recvmsg-reverse.exp: continue to breakpoint: marker2)
   PR gdb/32775 ([AArch64] gdbserver crashes on SVE/SME-enabled systems)
   PR record/32784 ([gdb/record, aarch64] Stack smashing detected in aarch64_record_asimd_load_store)
   PR tui/32797 (Escape sequences to only reset foreground or background color to default fail)
   PR gdb/32828 (gstack regression: missing file names and line numbers)

Link: https://github.com/openwrt/openwrt/pull/20543
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>gdb: update to 16.2</title>
<updated>2025-04-18T00:10:48Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2025-04-16T13:37:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=a06ed856bb4e125683f82b6f8ea1938e7394b16c'/>
<id>urn:sha1:a06ed856bb4e125683f82b6f8ea1938e7394b16c</id>
<content type='text'>
See news file for changes:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-16.2-release

It fixes compilation with GCC15.

Link: https://github.com/openwrt/openwrt/pull/18519
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: gdb: fix build error with Xcode 16.3</title>
<updated>2025-04-16T12:38:34Z</updated>
<author>
<name>Georgi Valkov</name>
</author>
<published>2025-04-14T12:28:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=dfb8115d0cc00d40f2884d3119b44f3da69c997a'/>
<id>urn:sha1:dfb8115d0cc00d40f2884d3119b44f3da69c997a</id>
<content type='text'>
Xcode 16.3 defines TARGET_OS_MAC, it was not defined in prior versions.
zutil.h conditionally defines fdopen as NULL when this macro is defined,
resulting in the following build error:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '('
  318 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
      |          ^
./zutil.h:147:33: note: expanded from macro 'fdopen'
  147 | #        define fdopen(fd,mode) NULL /* No fdopen() */

In Xcode 16.2 and earlier, TARGET_OS_MAC was not defined so this entire
block was ignored, gcc and gdb used to compile and work fine.

This may have been used for compatibility with older versions of macOS,
but is no longer needed. By pure luck, the build worked fine for a long
time, because it did not properly detect macOS.
Fixed by removing the check for TARGET_OS_MAC.

Note that since Xcode 16.3, an entire set of TARGET_OS macros
are now defined, most of which are set to 0:
TARGET_OS_LINUX 0
TARGET_OS_MAC 1
TARGET_OS_OSX 1

Signed-off-by: Georgi Valkov &lt;gvalkov@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/18467
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: gdb: Update to version 15.2</title>
<updated>2024-10-12T19:51:01Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2024-10-10T20:13:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=1cd7708eb3f2569ff0c005c568ed9bbd2391a06b'/>
<id>urn:sha1:1cd7708eb3f2569ff0c005c568ed9bbd2391a06b</id>
<content type='text'>
See news file for changes:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-15.1-release

This requires a C++17 compiler compatible compiler.

Link: https://github.com/openwrt/openwrt/pull/16665
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain/gdb: add pthread to CFLAGS/LDFLAGS for zstd</title>
<updated>2023-12-19T09:54:19Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2023-12-19T09:53:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=2872ff7be19cfd20c95c4cbc880c0af38f82ea15'/>
<id>urn:sha1:2872ff7be19cfd20c95c4cbc880c0af38f82ea15</id>
<content type='text'>
Works around a build issue when building on a host with an older glibc,
where it would fail to detect ELF support in libbfd

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>toolchain/gdb: export ZSTD_CFLAGS/LIBS to fix build on non-linux systems</title>
<updated>2023-12-18T10:42:08Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2023-11-12T21:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=66dfbca262f4e6ebc1b4f94fb1c4482894c26d0c'/>
<id>urn:sha1:66dfbca262f4e6ebc1b4f94fb1c4482894c26d0c</id>
<content type='text'>
Avoids picking up libs and header files from musl

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>toolchain/gdb: update to 14.1</title>
<updated>2023-12-08T15:26:30Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2023-12-04T16:09:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=f329eb8e7a6fbfbe2b0d5e554046d9cd54083ead'/>
<id>urn:sha1:f329eb8e7a6fbfbe2b0d5e554046d9cd54083ead</id>
<content type='text'>
Release Notes:
https://lists.gnu.org/archive/html/info-gnu/2023-12/msg00001.html

Refresh patch:
- 120-fix-compile-flag-mismatch.patch

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>toolchain/gdb: update to 13.2</title>
<updated>2023-11-10T07:39:38Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2023-11-07T18:54:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=a7a94bc4f035dc4e82e01d19e6b6c2bb85d6c8bc'/>
<id>urn:sha1:a7a94bc4f035dc4e82e01d19e6b6c2bb85d6c8bc</id>
<content type='text'>
Update the toolchain gdb to version 13.2.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>toolchain: assign PKG_CPE_ID</title>
<updated>2023-09-19T18:22:59Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2023-09-18T22:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=bcf02c5d3123a99c717ca33f1d7c6250acf0f33f'/>
<id>urn:sha1:bcf02c5d3123a99c717ca33f1d7c6250acf0f33f</id>
<content type='text'>
The PKG_CPE_ID links to NIST CPE version 2.2.
Assign PKG_CPE_ID to all remaining package which have a CPE ID.
Not every package has a CPE id.

Related: https://github.com/openwrt/packages/issues/8534
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
<entry>
<title>toolchain/gdb: use STAGING_DIR_HOST instead of hardcoding default</title>
<updated>2023-01-09T20:33:19Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-02T19:33:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/blocktrron/commit/?id=d10e6591d1523738852dd0ab625df1f9ea7fc63c'/>
<id>urn:sha1:d10e6591d1523738852dd0ab625df1f9ea7fc63c</id>
<content type='text'>
Use STAGING_DIR_HOST to reference staging host directory instead of
hardcoding it to default path.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
</feed>
