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/clangInteresting: 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
|
|