Re: [meta-oe][PATCH v3 1/4] geos: Upgrade to 3.9.3


Zoltan Boszormenyi
 

2022. 07. 01. 15:38 keltezéssel, Khem Raj írta:
this fails to build on arm/clang

https://errors.yoctoproject.org/Errors/Details/659199/
Interesting:

TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/geos/3.9.3-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-ld: noding/.libs/libnoding.a(BasicSegmentString.o):(.data.rel.ro+0x24): multiple definition of `typeinfo for geos::noding::BasicSegmentString'; .libs/inlines.o:(.data.rel.ro+0xac): first defined here
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/geos/3.9.3-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-ld: noding/.libs/libnoding.a(BasicSegmentString.o):(.rodata+0x0): multiple definition of `typeinfo name for geos::noding::BasicSegmentString'; .libs/inlines.o:(.rodata+0x4c): first defined here
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)


It's a multiple definition linker error which GCC 10+ should catch.
The question is: why it doesn't fail on otgher archs if it's a missing extern code error?


On Wed, Jun 22, 2022 at 10:13 AM Zoltan Boszormenyi via
lists.openembedded.org <zboszor=pr.hu@...> wrote:
From: Zoltán Böszörményi <zboszor@...>

Remove an upstreamed patch.

Signed-off-by: Zoltán Böszörményi <zboszor@...>
---
meta-oe/recipes-navigation/geos/geos_3.4.3.bb | 7 -------
meta-oe/recipes-navigation/geos/geos_3.9.3.bb | 3 +++
2 files changed, 3 insertions(+), 7 deletions(-)
delete mode 100644 meta-oe/recipes-navigation/geos/geos_3.4.3.bb
create mode 100644 meta-oe/recipes-navigation/geos/geos_3.9.3.bb

diff --git a/meta-oe/recipes-navigation/geos/geos_3.4.3.bb b/meta-oe/recipes-navigation/geos/geos_3.4.3.bb
deleted file mode 100644
index 538456cc2..000000000
--- a/meta-oe/recipes-navigation/geos/geos_3.4.3.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require geos.inc
-
-SRC_URI += "file://geos-config-Add-includedir-variable.patch \
-"
-
-SRC_URI[md5sum] = "77f2c2cca1e9f49bc1bece9037ac7a7a"
-SRC_URI[sha256sum] = "cfbf68079117c1c2b76411636444ff41d73c31093c4cab9dcc9a8c1bbe7e3897"
diff --git a/meta-oe/recipes-navigation/geos/geos_3.9.3.bb b/meta-oe/recipes-navigation/geos/geos_3.9.3.bb
new file mode 100644
index 000000000..fdb72204e
--- /dev/null
+++ b/meta-oe/recipes-navigation/geos/geos_3.9.3.bb
@@ -0,0 +1,3 @@
+require geos.inc
+
+SRC_URI[sha256sum] = "f8b2314e311456f7a449144efb5e3188c2a28774752bc50fc882a3cd5c89ee35"
--
2.36.1


Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.