Skip to contentSkip to conversation

1/4] ncftp: : fix build failure with gcc-14

PATCH New [email protected] 2 participants 7 messages Jun 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1/4] ncftp: : fix build failure with gcc-14

From: Wang Mingyu <[email protected]>

---
 meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/ncftp/ncftp_3.2.7.bb +1 -1
index 15bb00a3a..4b781781a 100644
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "d41c5c4d6614a8eae2ed4e4d7ada6b6d3afcc9fb65a4ed9b8711344bef
 
 inherit autotools-brokensep pkgconfig
 
-CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall"
+CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall -Wno-error=incompatible-pointer-types"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,,"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/4 linux-atm: fix build failure with gcc-14

From: Wang Mingyu <[email protected]>

---
 meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb +2 -0
index 86b9112ba..c434027eb 100644
@@ -29,6 +29,8 @@ file://COPYING.LGPL;md5=6e29c688d912da12b66b73e32b03d812"
 
 inherit autotools pkgconfig
 
+CFLAGS += "-Wno-error=incompatible-pointer-types"
+
 EXTRA_OEMAKE += "ROOTPREFIX=${root_prefix}"
 
 FILES:${PN} += "${nonarch_base_libdir}/firmware"
Signature · 1 line
2.34.1
#2 lore raw

Re: [oe] [meta-networking] [PATCH 2/4] linux-atm: fix build failure with gcc-14

See https://git.openembedded.org/meta-openembedded/diff/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb?h=master-next&id=d196c0c1af16eba55f8f0277eea76129ed2f677d
which has the log as well.

Quoted 33 lines · wangmy via lists.openembedded.org

From: Wang Mingyu <[email protected]>

---
 meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb +2 -1
index 86b9112ba..c434027eb 100644
@@ -29,6 +29,8 @@ file://COPYING.LGPL;md5=6e29c688d912da12b66b73e32b03d812"
 
 inherit autotools pkgconfig
 
+CFLAGS += "-Wno-error=incompatible-pointer-types"
+
 EXTRA_OEMAKE += "ROOTPREFIX=${root_prefix}"
 
 FILES:${PN} += "${nonarch_base_libdir}/firmware"
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111135): https://lists.openembedded.org/g/openembedded-devel/message/111135
Mute This Topic: https://lists.openembedded.org/mt/106922377/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

PATCH 3/4 mcpp: fix build failure with gcc-14

In reply to [email protected]

From: Wang Mingyu <[email protected]>

---
 meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb +2 -0
index 944585673..f34115c3f 100644
@@ -10,6 +10,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
 SRC_URI[md5sum] = "512de48c87ab023a69250edc7a0c7b05"
 SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864"
 
+CFLAGS += "-Wno-error=incompatible-pointer-types"
+
 inherit autotools
 
 EXTRA_OECONF = " --enable-mcpplib "
Signature · 1 line
2.34.1
#4 lore raw

Re: [oe] [meta-oe] [PATCH 3/4] mcpp: fix build failure with gcc-14

see https://git.openembedded.org/meta-openembedded/diff/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb?h=master-next&id=d196c0c1af16eba55f8f0277eea76129ed2f677d
which has the log as well.

Quoted 33 lines · wangmy via lists.openembedded.org

From: Wang Mingyu <[email protected]>

---
 meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb +2 -1
index 944585673..f34115c3f 100644
@@ -10,6 +10,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
 SRC_URI[md5sum] = "512de48c87ab023a69250edc7a0c7b05"
 SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864"
 
+CFLAGS += "-Wno-error=incompatible-pointer-types"
+
 inherit autotools
 
 EXTRA_OECONF = " --enable-mcpplib "
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111136): https://lists.openembedded.org/g/openembedded-devel/message/111136
Mute This Topic: https://lists.openembedded.org/mt/106922378/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

PATCH 4/4 daemontools: fix build failure with gcc-14

In reply to [email protected]

From: Wang Mingyu <[email protected]>

---
 .../recipes-support/daemontools/daemontools/cross-compile.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/daemontools/daemontools/cross-compile.patch +1 -1
index 98d4a5e45..e37af2665 100644
@@ -13,7 +13,7 @@ diff -Nurp daemontools-0.76.orig/src/conf-cc daemontools-0.76/src/conf-cc
 +++ daemontools-0.76/src/conf-cc	2014-11-26 09:34:38.828812162 +0800
 @@ -1,3 +1,3 @@
 -gcc -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
-+${CC} -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
++${CC} -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -Wno-error=incompatible-pointer-types
  
  This will be used to compile .c files.
 diff -Nurp daemontools-0.76.orig/src/conf-ld daemontools-0.76/src/conf-ld
Signature · 1 line
2.34.1
#6 lore raw

Re: [oe] [meta-oe] [PATCH 4/4] daemontools: fix build failure with gcc-14

see https://git.openembedded.org/meta-openembedded/diff/meta-oe/recipes-support/daemontools/daemontools_0.76.bb?h=master-next&id=d196c0c1af16eba55f8f0277eea76129ed2f677d
which has the log as well.

Quoted 33 lines · wangmy via lists.openembedded.org

From: Wang Mingyu <[email protected]>

---
 .../recipes-support/daemontools/daemontools/cross-compile.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/daemontools/daemontools/cross-compile.patch +1 -2
index 98d4a5e45..e37af2665 100644
@@ -13,7 +13,7 @@ diff -Nurp daemontools-0.76.orig/src/conf-cc daemontools-0.76/src/conf-cc
 +++ daemontools-0.76/src/conf-cc       2014-11-26 09:34:38.828812162 +0800
 @@ -1,3 +1,3 @@
 -gcc -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
-+${CC} -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
++${CC} -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -Wno-error=incompatible-pointer-types
 
  This will be used to compile .c files.
 diff -Nurp daemontools-0.76.orig/src/conf-ld daemontools-0.76/src/conf-ld
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111137): https://lists.openembedded.org/g/openembedded-devel/message/111137
Mute This Topic: https://lists.openembedded.org/mt/106922379/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-