]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
connman: avoid hiding implementation-reserved symbols in version scripts
authorPeter Tatrai <peter.tatrai.ext@siemens.com>
Mon, 8 Sep 2025 10:41:57 +0000 (12:41 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Sep 2025 09:45:09 +0000 (10:45 +0100)
commitfb2e29fc6931dc03ec892908e8e22d869d992f76
treefc5a1f67492c5485f466bbf440bc8e0fb2928d97
parent6315f54c1eedd18155a54c98d0b5872a7d74c6d4
connman: avoid hiding implementation-reserved symbols in version scripts

This commit adds a patch to ConnMan that modifies the version scripts
(src/connman.ver and vpn/vpn.ver) to avoid hiding implementation-reserved
symbols (such as _IO_stdin_used). Previously, using 'local: *;' in the
version script caused glibc's libio to misdetect the libc version,
resulting in a crash when printing to stdout (e.g., running 'connmand
--help') on PowerPC.

The new patch changes 'local: *;' to 'local: [!_]*;', following the
recommendation in glibc bug 17908
(https://sourceware.org/bugzilla/show_bug.cgi?id=17908). This ensures
that symbols starting with an underscore are not hidden, allowing libio
to correctly detect the libc version and preventing the crash.

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/connman/connman/0001-connman-vpn-avoid-hiding-implementation-reserved-sym.patch [new file with mode: 0755]
meta/recipes-connectivity/connman/connman_1.45.bb