* [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now
@ 2024-05-07 1:14 Khem Raj
2024-05-07 1:14 ` [PATCH 02/10] expect: ignore various issues now fatal with gcc-14 Khem Raj
` (8 more replies)
0 siblings, 9 replies; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Martin Jansa, Khem Raj
From: Martin Jansa <martin.jansa@gmail.com>
* causes libargp test to fail:
http://errors.yoctoproject.org/Errors/Details/766951/
| configure: error: in '/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build':
| configure: error: libargp disabled and libc does not have argp
config.log shows:
configure:8424: x86_64-webos-linux-gcc -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 --sysroot=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot -o conftest -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16 -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16 -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16 -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16 -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot= -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot= -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot-native= -DJENT_CONF_ENABLE_INTERNAL_TIMER -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16 -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16 -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16 -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16 -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot= -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot= -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot-native= conftest.c -ljitterentropy >&5
conftest.c: In function 'main':
conftest.c:51:52: error: passing argument 3 of 'argp_parse' from incompatible pointer type [-Wincompatible-pointer-types]
51 | int argc=1; char *argv={"test"}; argp_parse(0,argc,argv,0,0,0); return 0;
| ^~~~
| |
| char *
In file included from conftest.c:47:
/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot/usr/include/argp.h:371:58: note: expected 'char ** restrict' but argument is of type 'char *'
371 | int __argc, char **__restrict __argv,
| ~~~~~~~~~~~~~~~~~~^~~~~~
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-support/rng-tools/rng-tools_6.16.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-support/rng-tools/rng-tools_6.16.bb b/meta/recipes-support/rng-tools/rng-tools_6.16.bb
index 10771a999d2..ed755ae7053 100644
--- a/meta/recipes-support/rng-tools/rng-tools_6.16.bb
+++ b/meta/recipes-support/rng-tools/rng-tools_6.16.bb
@@ -67,3 +67,7 @@ do_install:append() {
${D}${systemd_system_unitdir}/rng-tools.service
fi
}
+
+# libargp detection fails
+# http://errors.yoctoproject.org/Errors/Details/766951/
+CFLAGS += "-Wno-error=incompatible-pointer-types"
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 02/10] expect: ignore various issues now fatal with gcc-14
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
@ 2024-05-07 1:14 ` Khem Raj
2024-05-07 1:14 ` [PATCH 03/10] libunwind: " Khem Raj
` (7 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Martin Jansa, Khem Raj
From: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-devtools/expect/expect_5.45.4.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb
index 7b610b1ff2f..18904ebc10a 100644
--- a/meta/recipes-devtools/expect/expect_5.45.4.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
@@ -81,3 +81,7 @@ FILES:${PN} += "${libdir}/libexpect${PV}.so \
"
BBCLASSEXTEND = "native nativesdk"
+
+# http://errors.yoctoproject.org/Errors/Details/766950/
+# expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types]
+CFLAGS += "-Wno-error=incompatible-pointer-types"
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 03/10] libunwind: ignore various issues now fatal with gcc-14
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
2024-05-07 1:14 ` [PATCH 02/10] expect: ignore various issues now fatal with gcc-14 Khem Raj
@ 2024-05-07 1:14 ` Khem Raj
2024-05-07 1:14 ` [PATCH 04/10] zip lrzsz connman-gnome kea libfm: ignore various issues " Khem Raj
` (6 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Martin Jansa, Khem Raj
From: Martin Jansa <martin.jansa@gmail.com>
http://gecko.lge.com:8000/Errors/Details/821679
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-support/libunwind/libunwind_1.6.2.bb | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/meta/recipes-support/libunwind/libunwind_1.6.2.bb b/meta/recipes-support/libunwind/libunwind_1.6.2.bb
index 3208785124a..c7b1604b611 100644
--- a/meta/recipes-support/libunwind/libunwind_1.6.2.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.6.2.bb
@@ -40,3 +40,11 @@ do_install:append () {
}
BBCLASSEXTEND = "native"
+
+# http://errors.yoctoproject.org/Errors/Build/183144/
+# libunwind-1.6.2/include/tdep-aarch64/libunwind_i.h:123:47: error: passing argument 1 of '_ULaarch64_uc_addr' from incompatible pointer type [-Wincompatible-pointer-types]
+# libunwind-1.6.2/src/aarch64/Ginit.c:348:28: error: initialization of 'unw_tdep_context_t *' from incompatible pointer type 'ucontext_t *' [-Wincompatible-pointer-types]
+# libunwind-1.6.2/src/aarch64/Ginit.c:377:28: error: initialization of 'unw_tdep_context_t *' from incompatible pointer type 'ucontext_t *' [-Wincompatible-pointer-types]
+# libunwind-1.6.2/src/aarch64/Ginit_local.c:51:9: error: assignment to 'ucontext_t *' from incompatible pointer type 'unw_context_t *' {aka 'unw_tdep_context_t *'} [-Wincompatible-pointer-types]
+# libunwind-1.6.2/src/aarch64/Gresume.c:37:28: error: initialization of 'unw_tdep_context_t *' from incompatible pointer type 'ucontext_t *' [-Wincompatible-pointer-types]
+CFLAGS += "-Wno-error=incompatible-pointer-types"
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 04/10] zip lrzsz connman-gnome kea libfm: ignore various issues fatal with gcc-14
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
2024-05-07 1:14 ` [PATCH 02/10] expect: ignore various issues now fatal with gcc-14 Khem Raj
2024-05-07 1:14 ` [PATCH 03/10] libunwind: " Khem Raj
@ 2024-05-07 1:14 ` Khem Raj
2024-05-07 5:07 ` Martin Jansa
2024-05-07 1:14 ` [PATCH 05/10] p11-kit: ignore various issues fatal with gcc-14 (for 32bit MACHINEs) Khem Raj
` (5 subsequent siblings)
8 siblings, 1 reply; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Martin Jansa, Khem Raj
From: Martin Jansa <martin.jansa@gmail.com>
TODO: kea
work arounds for:
oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile
oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile
oe-core/meta/recipes-connectivity/kea/kea_2.4.1.bb:do_compile
oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile
oe-core/meta/recipes-extended/zip/zip_3.0.bb:do_compile
http://errors.yoctoproject.org/Errors/Build/183127/
More fixes on ML (especially for -native with gcc-14 on host)
zip: https://lists.openembedded.org/g/openembedded-core/message/198783
cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899
syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 6 ++++++
meta/recipes-connectivity/connman/connman-gnome_0.7.bb | 4 ++++
meta/recipes-connectivity/kea/kea_2.4.1.bb | 6 ++++++
meta/recipes-extended/zip/zip_3.0.bb | 5 +++++
meta/recipes-support/libfm/libfm_1.3.2.bb | 4 ++++
5 files changed, 25 insertions(+)
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
index 63edcbd8643..3024ddcaf07 100644
--- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
+++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
@@ -46,3 +46,9 @@ ALTERNATIVE_TARGET[rb] = "${bindir}/lrz"
ALTERNATIVE_TARGET[sz] = "${bindir}/lsz"
ALTERNATIVE_TARGET[sx] = "${bindir}/lsz"
ALTERNATIVE_TARGET[sb] = "${bindir}/lsz"
+
+# http://errors.yoctoproject.org/Errors/Details/766929/
+# lrzsz-0.12.20/src/tcp.c:75:56: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
+# lrzsz-0.12.20/src/tcp.c:83:52: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
+# lrzsz-0.12.20/src/tcp.c:103:51: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
+CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
index f6150d98ec9..46b3f854c52 100644
--- a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
+++ b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
@@ -28,3 +28,7 @@ RDEPENDS:${PN} = "connman"
do_install:append() {
install -m 0644 ${UNPACKDIR}/images/* ${D}/usr/share/icons/hicolor/22x22/apps/
}
+
+# http://errors.yoctoproject.org/Errors/Details/766926/
+# connman-client.c:200:15: error: assignment to 'GtkTreeModel *' {aka 'struct _GtkTreeModel *'} from incompatible pointer type 'GtkTreeStore *' {aka 'struct _GtkTreeStore *'} [-Wincompatible-pointer-types]
+CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta/recipes-connectivity/kea/kea_2.4.1.bb b/meta/recipes-connectivity/kea/kea_2.4.1.bb
index 6c1e457938a..fc963e545ad 100644
--- a/meta/recipes-connectivity/kea/kea_2.4.1.bb
+++ b/meta/recipes-connectivity/kea/kea_2.4.1.bb
@@ -75,3 +75,9 @@ FILES:${PN}-staticdev += "${libdir}/kea/hooks/*.a ${libdir}/hooks/*.a"
FILES:${PN} += "${libdir}/hooks/*.so"
PARALLEL_MAKEINST = ""
+
+# http://errors.yoctoproject.org/Errors/Details/766928/
+# TOPDIR/BUILD/work/qemux86_64-webos-linux/kea/2.4.1/recipe-sysroot-native/usr/bin/x86_64-webos-linux/../../libexec/x86_64-webos-linux/gcc/x86_64-webos-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get<char [6]>(char const (&) [6], unsigned short) const':
+# /usr/src/debug/kea/2.4.1/src/lib/dhcpsrv/cfg_option.h:608:(.text._ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t[_ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t]+0x85): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
+# collect2: error: ld returned 1 exit status
+# TODO: Fix for gcc-14
diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb
index 70df5ab8728..e7705b8faf4 100644
--- a/meta/recipes-extended/zip/zip_3.0.bb
+++ b/meta/recipes-extended/zip/zip_3.0.bb
@@ -53,3 +53,8 @@ BBCLASSEXTEND = "native"
# exclude version 2.3.2 which triggers a false positive
UPSTREAM_CHECK_REGEX = "^zip(?P<pver>(?!232).+)\.tgz"
+
+# http://errors.yoctoproject.org/Errors/Details/766953/
+# unix/unix.c:84:51: error: passing argument 4 of 'fread' from incompatible pointer type [-Wincompatible-pointer-types]
+CFLAGS += "-Wno-error=incompatible-pointer-types"
+# proper fix on ML: https://lists.openembedded.org/g/openembedded-core/message/198783
diff --git a/meta/recipes-support/libfm/libfm_1.3.2.bb b/meta/recipes-support/libfm/libfm_1.3.2.bb
index 057c7370293..1d7609165b4 100644
--- a/meta/recipes-support/libfm/libfm_1.3.2.bb
+++ b/meta/recipes-support/libfm/libfm_1.3.2.bb
@@ -53,3 +53,7 @@ do_install:append () {
rm -f ${D}${libdir}/libfm-extra.a
rm -f ${D}${libdir}/libfm-extra.la
}
+
+# http://errors.yoctoproject.org/Errors/Details/766924/
+# libfm-1.3.2/src/actions/action.c:2050:25: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types]
+CFLAGS += "-Wno-error=incompatible-pointer-types"
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 05/10] p11-kit: ignore various issues fatal with gcc-14 (for 32bit MACHINEs)
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
` (2 preceding siblings ...)
2024-05-07 1:14 ` [PATCH 04/10] zip lrzsz connman-gnome kea libfm: ignore various issues " Khem Raj
@ 2024-05-07 1:14 ` Khem Raj
2024-05-07 1:14 ` [PATCH 06/10] pcmanfm: Disable incompatible-pointer-types warning as error Khem Raj
` (4 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Martin Jansa, Khem Raj
From: Martin Jansa <martin.jansa@gmail.com>
* these are reproducible only with 32bit MACHINEs and probably related
to time64.inc
* http://errors.yoctoproject.org/Errors/Build/183154/
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-support/p11-kit/p11-kit_0.25.3.bb | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb b/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb
index b7ebd44abc6..2ede38deba2 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb
@@ -32,3 +32,13 @@ FILES:${PN} += " \
INSANE_SKIP:${PN} = "dev-so"
BBCLASSEXTEND = "native nativesdk"
+
+# # This one is reproducible only on 32bit MACHINEs
+# http://errors.yoctoproject.org/Errors/Details/766969/
+# git/p11-kit/import-object.c:223:62: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types]
+# git/p11-kit/import-object.c:229:70: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types]
+# git/p11-kit/import-object.c:264:78: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types]
+# git/p11-kit/import-object.c:223:62: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types]
+# git/p11-kit/import-object.c:229:70: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types]
+# git/p11-kit/import-object.c:264:78: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types]
+CFLAGS += "-Wno-error=incompatible-pointer-types"
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 06/10] pcmanfm: Disable incompatible-pointer-types warning as error
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
` (3 preceding siblings ...)
2024-05-07 1:14 ` [PATCH 05/10] p11-kit: ignore various issues fatal with gcc-14 (for 32bit MACHINEs) Khem Raj
@ 2024-05-07 1:14 ` Khem Raj
2024-05-07 1:14 ` [PATCH 07/10] kea: Remove -fvisibility-inlines-hidden from C++ flags Khem Raj
` (3 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb b/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb
index 22c9fa59dcd..2e463cd7b36 100644
--- a/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb
+++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb
@@ -27,6 +27,8 @@ inherit autotools pkgconfig features_check mime-xdg
REQUIRED_DISTRO_FEATURES = "x11"
EXTRA_OECONF = "--with-gtk=3"
+# GCC 14 finds extra incompatible pointer type warnings which are treated as errors
+CFLAGS += "-Wno-error=incompatible-pointer-types"
do_install:append () {
install -d ${D}/${datadir}
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 07/10] kea: Remove -fvisibility-inlines-hidden from C++ flags
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
` (4 preceding siblings ...)
2024-05-07 1:14 ` [PATCH 06/10] pcmanfm: Disable incompatible-pointer-types warning as error Khem Raj
@ 2024-05-07 1:14 ` Khem Raj
2024-05-07 10:07 ` [OE-core] " Alexander Kanavin
2024-05-07 1:14 ` [PATCH 08/10] consolekit: Disable incompatible-pointer-types warning as error Khem Raj
` (2 subsequent siblings)
8 siblings, 1 reply; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj, Martin Jansa
This fixes build with gcc-14, where default visibility is extended to
inline functions and getAll() function now falls into this category
and functions are marked hidden resulting in linking errors
Fixes
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::Dhcpv4Srv::appendRequestedVendorOptions(isc::dhcp::Dhcpv4Exchange&)':
/usr/src/debug/kea/2.5.8/src/bin/dhcp4/dhcp4_srv.cc:2356:(.text+0xaac2): undefined reference to `isc::dhcp::CfgOption::getAll(unsigned int) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get<unsigned int>(unsigned int const&, unsigned short) const':
/usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:609:(.text+0xb288): undefined reference to `isc::dhcp::CfgOption::getAll(unsigned int) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::Dhcpv4Srv::appendRequestedOptions(isc::dhcp::Dhcpv4Exchange&)':
/usr/src/debug/kea/2.5.8/src/bin/dhcp4/dhcp4_srv.cc:2128:(.text+0xc556): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `std::vector<isc::dhcp::OptionDescriptor, std::allocator<isc::dhcp::OptionDescriptor> > isc::dhcp::CfgOption::getList<char [6]>(char const (&) [6], unsigned short) const':
/usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:641:(.text._ZNK3isc4dhcp9CfgOption7getListIA6_cEESt6vectorINS0_16OptionDescriptorESaIS5_EERKT_t[_ZNK3isc4dhcp9CfgOption7getListIA6_cEESt6vectorINS0_16OptionDescriptorESaIS5_EERKT_t]+0x86): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get<char [6]>(char const (&) [6], unsigned short) const':
/usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:609:(.text._ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t[_ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t]+0x77): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:651: kea-dhcp4] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
---
meta/recipes-connectivity/kea/kea_2.4.1.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-connectivity/kea/kea_2.4.1.bb b/meta/recipes-connectivity/kea/kea_2.4.1.bb
index fc963e545ad..4fd042cd566 100644
--- a/meta/recipes-connectivity/kea/kea_2.4.1.bb
+++ b/meta/recipes-connectivity/kea/kea_2.4.1.bb
@@ -38,6 +38,7 @@ DEBUG_OPTIMIZATION:append:mipsel = " -O"
BUILD_OPTIMIZATION:remove:mipsel = " -Og"
BUILD_OPTIMIZATION:append:mipsel = " -O"
+CXXFLAGS:remove = "-fvisibility-inlines-hidden"
EXTRA_OECONF = "--with-boost-libs=-lboost_system \
--with-log4cplus=${STAGING_DIR_TARGET}${prefix} \
--with-openssl=${STAGING_DIR_TARGET}${prefix}"
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 08/10] consolekit: Disable incompatible-pointer-types warning as error
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
` (5 preceding siblings ...)
2024-05-07 1:14 ` [PATCH 07/10] kea: Remove -fvisibility-inlines-hidden from C++ flags Khem Raj
@ 2024-05-07 1:14 ` Khem Raj
2024-05-07 1:14 ` [PATCH 09/10] gtk4: Disable int-conversion " Khem Raj
2024-05-07 1:14 ` [PATCH 10/10] ltp: Fix build with GCC-14 Khem Raj
8 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj
Fixes build with gcc-14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-support/consolekit/consolekit_0.4.6.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
index 346bd60e4d7..0f2153d493d 100644
--- a/meta/recipes-support/consolekit/consolekit_0.4.6.bb
+++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
@@ -31,6 +31,9 @@ PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/s
PACKAGECONFIG[polkit] = "--with-polkit,--without-polkit,polkit"
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}/,--with-systemdsystemunitdir="
+# Fails to build with GCC14 with incompatible pointer error warning being treated as error
+CFLAGS += "-Wno-error=incompatible-pointer-types"
+
FILES:${PN} += "${exec_prefix}/lib/ConsoleKit \
${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \
${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 09/10] gtk4: Disable int-conversion warning as error
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
` (6 preceding siblings ...)
2024-05-07 1:14 ` [PATCH 08/10] consolekit: Disable incompatible-pointer-types warning as error Khem Raj
@ 2024-05-07 1:14 ` Khem Raj
2024-05-07 1:14 ` [PATCH 10/10] ltp: Fix build with GCC-14 Khem Raj
8 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj
This helps builds on 32bit machines when using GCC-14
there is a bug filed for fixing this in code [1]
[1] https://gitlab.gnome.org/GNOME/gtk/-/issues/6033
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-gnome/gtk+/gtk4_4.14.2.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-gnome/gtk+/gtk4_4.14.2.bb b/meta/recipes-gnome/gtk+/gtk4_4.14.2.bb
index 282e81f0482..39483357b4a 100644
--- a/meta/recipes-gnome/gtk+/gtk4_4.14.2.bb
+++ b/meta/recipes-gnome/gtk+/gtk4_4.14.2.bb
@@ -76,6 +76,10 @@ PACKAGECONFIG[gstreamer] = "-Dmedia-gstreamer=enabled,-Dmedia-gstreamer=disabled
PACKAGECONFIG[tracker] = "-Dtracker=enabled,-Dtracker=disabled,tracker,tracker-miners"
PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled, vulkan-loader vulkan-headers shaderc-native"
+# Disable int-conversion warning as error until [1] is fixed
+# [1] https://gitlab.gnome.org/GNOME/gtk/-/issues/6033
+CFLAGS:append = " -Wno-error=int-conversion"
+
LIBV = "4.0.0"
FILES:${PN}:append = " \
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 10/10] ltp: Fix build with GCC-14
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
` (7 preceding siblings ...)
2024-05-07 1:14 ` [PATCH 09/10] gtk4: Disable int-conversion " Khem Raj
@ 2024-05-07 1:14 ` Khem Raj
8 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2024-05-07 1:14 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
...-Use-time_t-instead-of-long-for-type.patch | 54 +++++++++++++++++++
meta/recipes-extended/ltp/ltp_20240129.bb | 1 +
2 files changed, 55 insertions(+)
create mode 100644 meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch
diff --git a/meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch b/meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch
new file mode 100644
index 00000000000..84194c1b739
--- /dev/null
+++ b/meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch
@@ -0,0 +1,54 @@
+From 74074f9a71c876d6e95c2d72702888dd2fabc761 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 6 May 2024 11:43:20 -0700
+Subject: [PATCH] sched_stress: Use time_t instead of long for type
+
+This ensures it works across different architectures
+Fixes
+
+| sched_driver.c:744:43: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
+| 744 | printf("\nend time = %s\n", ctime(&end_time));
+| | ^~~~~~~~~
+
+With gcc-14
+
+Upstream-Status: Submitted [https://lists.linux.it/pipermail/ltp/2024-May/038243.html]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ testcases/kernel/sched/sched_stress/sched_driver.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/testcases/kernel/sched/sched_stress/sched_driver.c b/testcases/kernel/sched/sched_stress/sched_driver.c
+index 61573d788..5b8c187fe 100644
+--- a/testcases/kernel/sched/sched_stress/sched_driver.c
++++ b/testcases/kernel/sched/sched_stress/sched_driver.c
+@@ -136,7 +136,7 @@ int debug = 0;
+ /*
+ * Function prototypes
+ */
+-void startup(long);
++void startup(time_t);
+ int start_testcase(char *, char *, char *, char *, char *, char *);
+ int process_slots_in_use();
+ int available_user_process_slots();
+@@ -251,7 +251,7 @@ int main(int argc, char **argv)
+ * information to the screen and . It also initializes the *
+ * process id list and other global variables. *
+ *-----------------------------------------------------------------------*/
+-void startup(long start_time)
++void startup(time_t start_time)
+ {
+ char tempbuffer[50]; /* temporary buffer to hold names */
+
+@@ -734,7 +734,7 @@ void kill_short_term_testcases()
+ void finishup(start_time)
+ long start_time; /* starting time to calculate elapsed time */
+ {
+- long end_time; /* time when program finished */
++ time_t end_time; /* time when program finished */
+
+ /*
+ * Get the end time and calculate elapsed time; write all this out
+--
+2.45.0
+
diff --git a/meta/recipes-extended/ltp/ltp_20240129.bb b/meta/recipes-extended/ltp/ltp_20240129.bb
index e88e931a687..f8e6d3987ee 100644
--- a/meta/recipes-extended/ltp/ltp_20240129.bb
+++ b/meta/recipes-extended/ltp/ltp_20240129.bb
@@ -29,6 +29,7 @@ SRCREV = "68737d20556d37364c95776044b1119c0912a36a"
SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \
file://0001-Remove-OOM-tests-from-runtest-mm.patch \
file://0001-scenario_groups-default-remove-connectors.patch \
+ file://0001-sched_stress-Use-time_t-instead-of-long-for-type.patch \
"
S = "${WORKDIR}/git"
--
2.45.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH 04/10] zip lrzsz connman-gnome kea libfm: ignore various issues fatal with gcc-14
2024-05-07 1:14 ` [PATCH 04/10] zip lrzsz connman-gnome kea libfm: ignore various issues " Khem Raj
@ 2024-05-07 5:07 ` Martin Jansa
2024-05-07 5:25 ` Khem Raj
0 siblings, 1 reply; 13+ messages in thread
From: Martin Jansa @ 2024-05-07 5:07 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
kea should be dropped from this (commit message as well as the bbfile)
I had a fix in my jansa/master-gcc14 branch and now you have a
different one in this series, so the TODO here doesn't make sense
anymore, you can pick it from:
https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master-gcc14&id=4c89509e37f86f4d8e0bfce6135e6eaefd9e216f
as mentioned yesterday
On Tue, May 7, 2024 at 3:15 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> From: Martin Jansa <martin.jansa@gmail.com>
>
> TODO: kea
>
> work arounds for:
> oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile
> oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile
> oe-core/meta/recipes-connectivity/kea/kea_2.4.1.bb:do_compile
> oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile
> oe-core/meta/recipes-extended/zip/zip_3.0.bb:do_compile
>
> http://errors.yoctoproject.org/Errors/Build/183127/
>
> More fixes on ML (especially for -native with gcc-14 on host)
> zip: https://lists.openembedded.org/g/openembedded-core/message/198783
> cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899
> syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901
>
> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 6 ++++++
> meta/recipes-connectivity/connman/connman-gnome_0.7.bb | 4 ++++
> meta/recipes-connectivity/kea/kea_2.4.1.bb | 6 ++++++
> meta/recipes-extended/zip/zip_3.0.bb | 5 +++++
> meta/recipes-support/libfm/libfm_1.3.2.bb | 4 ++++
> 5 files changed, 25 insertions(+)
>
> diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
> index 63edcbd8643..3024ddcaf07 100644
> --- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
> +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
> @@ -46,3 +46,9 @@ ALTERNATIVE_TARGET[rb] = "${bindir}/lrz"
> ALTERNATIVE_TARGET[sz] = "${bindir}/lsz"
> ALTERNATIVE_TARGET[sx] = "${bindir}/lsz"
> ALTERNATIVE_TARGET[sb] = "${bindir}/lsz"
> +
> +# http://errors.yoctoproject.org/Errors/Details/766929/
> +# lrzsz-0.12.20/src/tcp.c:75:56: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
> +# lrzsz-0.12.20/src/tcp.c:83:52: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
> +# lrzsz-0.12.20/src/tcp.c:103:51: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
> +CFLAGS += "-Wno-error=incompatible-pointer-types"
> diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
> index f6150d98ec9..46b3f854c52 100644
> --- a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
> +++ b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
> @@ -28,3 +28,7 @@ RDEPENDS:${PN} = "connman"
> do_install:append() {
> install -m 0644 ${UNPACKDIR}/images/* ${D}/usr/share/icons/hicolor/22x22/apps/
> }
> +
> +# http://errors.yoctoproject.org/Errors/Details/766926/
> +# connman-client.c:200:15: error: assignment to 'GtkTreeModel *' {aka 'struct _GtkTreeModel *'} from incompatible pointer type 'GtkTreeStore *' {aka 'struct _GtkTreeStore *'} [-Wincompatible-pointer-types]
> +CFLAGS += "-Wno-error=incompatible-pointer-types"
> diff --git a/meta/recipes-connectivity/kea/kea_2.4.1.bb b/meta/recipes-connectivity/kea/kea_2.4.1.bb
> index 6c1e457938a..fc963e545ad 100644
> --- a/meta/recipes-connectivity/kea/kea_2.4.1.bb
> +++ b/meta/recipes-connectivity/kea/kea_2.4.1.bb
> @@ -75,3 +75,9 @@ FILES:${PN}-staticdev += "${libdir}/kea/hooks/*.a ${libdir}/hooks/*.a"
> FILES:${PN} += "${libdir}/hooks/*.so"
>
> PARALLEL_MAKEINST = ""
> +
> +# http://errors.yoctoproject.org/Errors/Details/766928/
> +# TOPDIR/BUILD/work/qemux86_64-webos-linux/kea/2.4.1/recipe-sysroot-native/usr/bin/x86_64-webos-linux/../../libexec/x86_64-webos-linux/gcc/x86_64-webos-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get<char [6]>(char const (&) [6], unsigned short) const':
> +# /usr/src/debug/kea/2.4.1/src/lib/dhcpsrv/cfg_option.h:608:(.text._ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t[_ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t]+0x85): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
> +# collect2: error: ld returned 1 exit status
> +# TODO: Fix for gcc-14
> diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb
> index 70df5ab8728..e7705b8faf4 100644
> --- a/meta/recipes-extended/zip/zip_3.0.bb
> +++ b/meta/recipes-extended/zip/zip_3.0.bb
> @@ -53,3 +53,8 @@ BBCLASSEXTEND = "native"
>
> # exclude version 2.3.2 which triggers a false positive
> UPSTREAM_CHECK_REGEX = "^zip(?P<pver>(?!232).+)\.tgz"
> +
> +# http://errors.yoctoproject.org/Errors/Details/766953/
> +# unix/unix.c:84:51: error: passing argument 4 of 'fread' from incompatible pointer type [-Wincompatible-pointer-types]
> +CFLAGS += "-Wno-error=incompatible-pointer-types"
> +# proper fix on ML: https://lists.openembedded.org/g/openembedded-core/message/198783
> diff --git a/meta/recipes-support/libfm/libfm_1.3.2.bb b/meta/recipes-support/libfm/libfm_1.3.2.bb
> index 057c7370293..1d7609165b4 100644
> --- a/meta/recipes-support/libfm/libfm_1.3.2.bb
> +++ b/meta/recipes-support/libfm/libfm_1.3.2.bb
> @@ -53,3 +53,7 @@ do_install:append () {
> rm -f ${D}${libdir}/libfm-extra.a
> rm -f ${D}${libdir}/libfm-extra.la
> }
> +
> +# http://errors.yoctoproject.org/Errors/Details/766924/
> +# libfm-1.3.2/src/actions/action.c:2050:25: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types]
> +CFLAGS += "-Wno-error=incompatible-pointer-types"
> --
> 2.45.0
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 04/10] zip lrzsz connman-gnome kea libfm: ignore various issues fatal with gcc-14
2024-05-07 5:07 ` Martin Jansa
@ 2024-05-07 5:25 ` Khem Raj
0 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2024-05-07 5:25 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-core
On Mon, May 6, 2024 at 10:07 PM Martin Jansa <martin.jansa@gmail.com> wrote:
>
> kea should be dropped from this (commit message as well as the bbfile)
> I had a fix in my jansa/master-gcc14 branch and now you have a
> different one in this series, so the TODO here doesn't make sense
> anymore, you can pick it from:
> https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master-gcc14&id=4c89509e37f86f4d8e0bfce6135e6eaefd9e216f
> as mentioned yesterday
Thanks. I missed it, I think I picked it now.
>
> On Tue, May 7, 2024 at 3:15 AM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > From: Martin Jansa <martin.jansa@gmail.com>
> >
> > TODO: kea
> >
> > work arounds for:
> > oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile
> > oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile
> > oe-core/meta/recipes-connectivity/kea/kea_2.4.1.bb:do_compile
> > oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile
> > oe-core/meta/recipes-extended/zip/zip_3.0.bb:do_compile
> >
> > http://errors.yoctoproject.org/Errors/Build/183127/
> >
> > More fixes on ML (especially for -native with gcc-14 on host)
> > zip: https://lists.openembedded.org/g/openembedded-core/message/198783
> > cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899
> > syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901
> >
> > Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> > meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 6 ++++++
> > meta/recipes-connectivity/connman/connman-gnome_0.7.bb | 4 ++++
> > meta/recipes-connectivity/kea/kea_2.4.1.bb | 6 ++++++
> > meta/recipes-extended/zip/zip_3.0.bb | 5 +++++
> > meta/recipes-support/libfm/libfm_1.3.2.bb | 4 ++++
> > 5 files changed, 25 insertions(+)
> >
> > diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
> > index 63edcbd8643..3024ddcaf07 100644
> > --- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
> > +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
> > @@ -46,3 +46,9 @@ ALTERNATIVE_TARGET[rb] = "${bindir}/lrz"
> > ALTERNATIVE_TARGET[sz] = "${bindir}/lsz"
> > ALTERNATIVE_TARGET[sx] = "${bindir}/lsz"
> > ALTERNATIVE_TARGET[sb] = "${bindir}/lsz"
> > +
> > +# http://errors.yoctoproject.org/Errors/Details/766929/
> > +# lrzsz-0.12.20/src/tcp.c:75:56: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
> > +# lrzsz-0.12.20/src/tcp.c:83:52: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
> > +# lrzsz-0.12.20/src/tcp.c:103:51: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
> > +CFLAGS += "-Wno-error=incompatible-pointer-types"
> > diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
> > index f6150d98ec9..46b3f854c52 100644
> > --- a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
> > +++ b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
> > @@ -28,3 +28,7 @@ RDEPENDS:${PN} = "connman"
> > do_install:append() {
> > install -m 0644 ${UNPACKDIR}/images/* ${D}/usr/share/icons/hicolor/22x22/apps/
> > }
> > +
> > +# http://errors.yoctoproject.org/Errors/Details/766926/
> > +# connman-client.c:200:15: error: assignment to 'GtkTreeModel *' {aka 'struct _GtkTreeModel *'} from incompatible pointer type 'GtkTreeStore *' {aka 'struct _GtkTreeStore *'} [-Wincompatible-pointer-types]
> > +CFLAGS += "-Wno-error=incompatible-pointer-types"
> > diff --git a/meta/recipes-connectivity/kea/kea_2.4.1.bb b/meta/recipes-connectivity/kea/kea_2.4.1.bb
> > index 6c1e457938a..fc963e545ad 100644
> > --- a/meta/recipes-connectivity/kea/kea_2.4.1.bb
> > +++ b/meta/recipes-connectivity/kea/kea_2.4.1.bb
> > @@ -75,3 +75,9 @@ FILES:${PN}-staticdev += "${libdir}/kea/hooks/*.a ${libdir}/hooks/*.a"
> > FILES:${PN} += "${libdir}/hooks/*.so"
> >
> > PARALLEL_MAKEINST = ""
> > +
> > +# http://errors.yoctoproject.org/Errors/Details/766928/
> > +# TOPDIR/BUILD/work/qemux86_64-webos-linux/kea/2.4.1/recipe-sysroot-native/usr/bin/x86_64-webos-linux/../../libexec/x86_64-webos-linux/gcc/x86_64-webos-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get<char [6]>(char const (&) [6], unsigned short) const':
> > +# /usr/src/debug/kea/2.4.1/src/lib/dhcpsrv/cfg_option.h:608:(.text._ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t[_ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t]+0x85): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
> > +# collect2: error: ld returned 1 exit status
> > +# TODO: Fix for gcc-14
> > diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb
> > index 70df5ab8728..e7705b8faf4 100644
> > --- a/meta/recipes-extended/zip/zip_3.0.bb
> > +++ b/meta/recipes-extended/zip/zip_3.0.bb
> > @@ -53,3 +53,8 @@ BBCLASSEXTEND = "native"
> >
> > # exclude version 2.3.2 which triggers a false positive
> > UPSTREAM_CHECK_REGEX = "^zip(?P<pver>(?!232).+)\.tgz"
> > +
> > +# http://errors.yoctoproject.org/Errors/Details/766953/
> > +# unix/unix.c:84:51: error: passing argument 4 of 'fread' from incompatible pointer type [-Wincompatible-pointer-types]
> > +CFLAGS += "-Wno-error=incompatible-pointer-types"
> > +# proper fix on ML: https://lists.openembedded.org/g/openembedded-core/message/198783
> > diff --git a/meta/recipes-support/libfm/libfm_1.3.2.bb b/meta/recipes-support/libfm/libfm_1.3.2.bb
> > index 057c7370293..1d7609165b4 100644
> > --- a/meta/recipes-support/libfm/libfm_1.3.2.bb
> > +++ b/meta/recipes-support/libfm/libfm_1.3.2.bb
> > @@ -53,3 +53,7 @@ do_install:append () {
> > rm -f ${D}${libdir}/libfm-extra.a
> > rm -f ${D}${libdir}/libfm-extra.la
> > }
> > +
> > +# http://errors.yoctoproject.org/Errors/Details/766924/
> > +# libfm-1.3.2/src/actions/action.c:2050:25: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types]
> > +CFLAGS += "-Wno-error=incompatible-pointer-types"
> > --
> > 2.45.0
> >
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH 07/10] kea: Remove -fvisibility-inlines-hidden from C++ flags
2024-05-07 1:14 ` [PATCH 07/10] kea: Remove -fvisibility-inlines-hidden from C++ flags Khem Raj
@ 2024-05-07 10:07 ` Alexander Kanavin
0 siblings, 0 replies; 13+ messages in thread
From: Alexander Kanavin @ 2024-05-07 10:07 UTC (permalink / raw)
To: raj.khem; +Cc: openembedded-core, Martin Jansa
On Tue, 7 May 2024 at 03:15, Khem Raj via lists.openembedded.org
<raj.khem=gmail.com@lists.openembedded.org> wrote:
> +CXXFLAGS:remove = "-fvisibility-inlines-hidden"
This seems like the wrong way around. Why do we have it as a global
glibc/musl setting in the first place? Shouldn't we just remove it
from there? I did some digging and this line was imported from
oe-classic in 2010 with eglibc definition, so most likely whatever
reasons there used to be are long obsolete.
Alex
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2024-05-07 10:07 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07 1:14 [PATCH 01/10] rng-tools: ignore incompatible-pointer-types errors for now Khem Raj
2024-05-07 1:14 ` [PATCH 02/10] expect: ignore various issues now fatal with gcc-14 Khem Raj
2024-05-07 1:14 ` [PATCH 03/10] libunwind: " Khem Raj
2024-05-07 1:14 ` [PATCH 04/10] zip lrzsz connman-gnome kea libfm: ignore various issues " Khem Raj
2024-05-07 5:07 ` Martin Jansa
2024-05-07 5:25 ` Khem Raj
2024-05-07 1:14 ` [PATCH 05/10] p11-kit: ignore various issues fatal with gcc-14 (for 32bit MACHINEs) Khem Raj
2024-05-07 1:14 ` [PATCH 06/10] pcmanfm: Disable incompatible-pointer-types warning as error Khem Raj
2024-05-07 1:14 ` [PATCH 07/10] kea: Remove -fvisibility-inlines-hidden from C++ flags Khem Raj
2024-05-07 10:07 ` [OE-core] " Alexander Kanavin
2024-05-07 1:14 ` [PATCH 08/10] consolekit: Disable incompatible-pointer-types warning as error Khem Raj
2024-05-07 1:14 ` [PATCH 09/10] gtk4: Disable int-conversion " Khem Raj
2024-05-07 1:14 ` [PATCH 10/10] ltp: Fix build with GCC-14 Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox