Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some 32-bit archs need linking to libatomic: Undefined symbols: "___atomic_store_8" #304

Open
barracuda156 opened this issue Dec 1, 2024 · 0 comments

Comments

@barracuda156
Copy link
Contributor

/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_tippecanoe/tippecanoe/work/compwrap/cxx/opt/local/bin/g++-mp-14  -L/usr/local/lib -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -Os -arch ppc -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -fPIE -DBUILD_INFO= -o tile-join tile-join.o projection.o mbtiles.o mvt.o memfile.o dirtiles.o jsonpull/jsonpull.o text.o evaluator.o csv.o write_json.o pmtiles_file.o clip.o attribute.o thread.o read_json.o clipper2/src/clipper.engine.o -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -lm -lz -lsqlite3 -lpthread
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_tippecanoe/tippecanoe/work/compwrap/cxx/opt/local/bin/g++-mp-14  -L/usr/local/lib -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -Os -arch ppc -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -fPIE -DBUILD_INFO= -o tippecanoe-overzoom overzoom.o mvt.o clip.o evaluator.o jsonpull/jsonpull.o text.o attribute.o read_json.o projection.o clipper2/src/clipper.engine.o -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -lm -lz -lsqlite3 -lpthread
Undefined symbols:
  "___atomic_store_8", referenced from:
      __ZNSt6atomicIdEaSEd.isra.0 in tile.o
      __ZNSt13__atomic_baseIxEaSEx.isra.0 in tile.o
      __ZNSt6atomicIdEaSEd.isra.0 in main.o
      __ZNSt13__atomic_baseIxEaSEx.isra.0 in main.o
      __Z8runQueuev in geobuf.o
      __Z8runQueuev in geobuf.o
      __Z11fgbRunQueuev in flatgeobuf.o
      __Z11fgbRunQueuev in flatgeobuf.o
  "___atomic_load_8", referenced from:
      __Z25serialize_geojson_featureP19serialization_stateP11json_objectS2_S2_iS2_S2_RKSs in geojson.o
      __ZL12next_featureP12decompressorPSt6atomicIxEijjPjS4_PxS5_iiiimS3_xiPS1_IbEPP10compressorS3_S5_PS1_IdEdPKciP11json_objectSE_S5_PSt6vectorISH_ISsSaISsEESaISJ_EEbbP16multiplier_stateRSt10shared_ptrISsERKSJ_R18next_feature_stated in tile.o
      __Z10write_tileP12decompressorPSt6atomicIxEPcijjiiP7sqlite3PKciS8_PP10compressorS3_iidS3_xdiPxPjSD_PS1_IiEdPSt6vectorISt3mapISs14layermap_entrySt4lessISsESaISt4pairIKSsSI_EEESaISP_EEPSG_ISG_ISsSaISsEESaISU_EEmmyxyS8_S8_P11json_objectP15write_tile_argsP15atomic_strategybP4nodemRSM_RKSU_xRSt3setI3zxySJ_IS1A_ESaIS1A_EE in tile.o
      __ZNKSt13__atomic_baseIxEcvxEv in tile.o
      __Z17serialize_featureP19serialization_stateR14serial_featureRKSs in serial.o
      __Z17serialize_featureP19serialization_stateR14serial_featureRKSs in serial.o
      __Z17serialize_featureP19serialization_stateR14serial_featureRKSs in serial.o
      __Z17serialize_featureP19serialization_stateR14serial_featureRKSs in serial.o
      __Z17serialize_featureP19serialization_stateR14serial_featureRKSs in serial.o
      __Z13progress_timev in main.o
      __ZNKSt13__atomic_baseIxEcvxEv in main.o
      __Z15outBareGeometryRKSt6vectorI4drawSaIS0_EEiP19serialization_stateiSs in geobuf.o
      __Z11readFeatureRN9protozero10pbf_readerEmdRSt6vectorISsSaISsEEP19serialization_stateiSsR8key_pool in geobuf.o
      __Z8runQueuev in geobuf.o
      __Z8runQueuev in geobuf.o
      __Z11readFeaturePKN10FlatGeobuf7FeatureExNS_12GeometryTypeERKSt6vectorISsSaISsEERKS4_INS_10ColumnTypeESaIS9_EEP19serialization_stateiSs in flatgeobuf.o
      __Z11fgbRunQueuev in flatgeobuf.o
      __Z11fgbRunQueuev in flatgeobuf.o
      __Z12parse_geocsvRSt6vectorI19serialization_stateSaIS0_EESsiSs in geocsv.o
  "___atomic_fetch_add_8", referenced from:
      __Z10run_threadPv in tile.o
      __Z17polygon_to_anchorRKSt6vectorI4drawSaIS0_EE in geometry.o
      __Z12fwrite_checkPKvmmP7__sFILEPSt6atomicIxEPKc in serial.o
      __Z17serialize_featureP19serialization_stateR14serial_featureRKSs in serial.o
      __Z17serialize_featureP19serialization_stateR14serial_featureRKSs in serial.o
      __ZNSt13__atomic_baseIxEpLEx.isra.0 in main.o
      __ZN12decompressor5freadEPvmmPSt6atomicIxE in compression.o
      __ZN12decompressor5freadEPvmmPSt6atomicIxE in compression.o
      __ZN12decompressor3endEPSt6atomicIxE in compression.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant