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

[SR-14863] Address + thread sanitization causes build to fail when using select SPM dependencies #4407

Open
swift-ci opened this issue Jul 1, 2021 · 2 comments
Labels

Comments

@swift-ci
Copy link
Contributor

swift-ci commented Jul 1, 2021

Previous ID SR-14863
Radar rdar://problem/80043613
Original Reporter TJNickerson (JIRA User)
Type Bug
Environment

OS: macOS Big Sur 11.4

Processor: 2.7 GHz Quad-Core Intel Core i7

XCode: 12.5.1

Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift, Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 168da4b2fa507ca6761500f2ca3d3217

Issue Description:

Filing this issue on the behalf of https://developer.apple.com/forums/thread/675764.

Effectively, for seeming random dependencies installed through SPM (in my case, SnapKit being one of them), my project build will fail when enabling address or thread sanitization with the generic error: "Uncategorized: Command CompileSwift failed with a nonzero exit code.". For the time being, I've moved almost all my project dependencies back to CocoaPods as a result, and everything builds fine. I'm curious if this is due to upstream changes in some of these dependencies that are required to make them work with sanitization?

@typesanitizer
Copy link

Could you pinpoint specific versions of specific packages which are causing issues? The forum thread mentions AXSwift, Cryptor and Socket, it would be helpful to have more specific versions to reproduce the issue.

@swift-ci create

@swift-ci
Copy link
Contributor Author

swift-ci commented Jul 8, 2021

Comment by Patrick Wolowicz (JIRA)

I see the same issue when trying to compile my iOS project that includes the https://github.com/GEOSwift/GEOSwift.git spm and enabling the address sanitizer in Xcode. The linking fails with missing symbols for the sanitizer:

Showing All Messages
Ld /Users/patrick/Library/Developer/Xcode/DerivedData/Bikemap-dxpgfbrqesjizffscuwmfioyvkck/Build/Products/Debug-iphonesimulator/PackageFrameworks/geos.framework/geos normal (in target 'geos' from project 'geos')
    cd /Users/patrick/Library/Developer/Xcode/DerivedData/Bikemap-dxpgfbrqesjizffscuwmfioyvkck/SourcePackages/checkouts/geos
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios9.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -L/Users/patrick/Library/Developer/Xcode/DerivedData/Bikemap-dxpgfbrqesjizffscuwmfioyvkck/Build/Products/Debug-iphonesimulator/PackageFrameworks -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F/Users/patrick/Library/Developer/Xcode/DerivedData/Bikemap-dxpgfbrqesjizffscuwmfioyvkck/Build/Products/Debug-iphonesimulator/PackageFrameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/Developer/Library/Frameworks -filelist /Users/patrick/Library/Developer/Xcode/DerivedData/Bikemap-dxpgfbrqesjizffscuwmfioyvkck/Build/Intermediates.noindex/geos.build/Debug-iphonesimulator/geos.build/Objects-normal/x86_64/geos.LinkFileList -install_name @rpath/geos.framework/geos -dead_strip -Xlinker -object_path_lto -Xlinker /Users/patrick/Library/Developer/Xcode/DerivedData/Bikemap-dxpgfbrqesjizffscuwmfioyvkck/Build/Intermediates.noindex/geos.build/Debug-iphonesimulator/geos.build/Objects-normal-asan/x86_64/geos_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -debug_variant -lc++ -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/patrick/Library/Developer/Xcode/DerivedData/Bikemap-dxpgfbrqesjizffscuwmfioyvkck/Build/Intermediates.noindex/geos.build/Debug-iphonesimulator/geos.build/Objects-normal-asan/x86_64/geos_dependency_info.dat -o /Users/patrick/Library/Developer/Xcode/DerivedData/Bikemap-dxpgfbrqesjizffscuwmfioyvkck/Build/Products/Debug-iphonesimulator/PackageFrameworks/geos.framework/geos


Undefined symbols for architecture x86_64:
  "___asan_before_dynamic_init", referenced from:
      __GLOBAL__sub_I_Coordinate.cpp in geos.o
      __GLOBAL__sub_I_Point.cpp in geos.o
      __GLOBAL__sub_I_Root.cpp in geos.o
  "___asan_report_load2", referenced from:
      geos::simplify::DouglasPeuckerLineSimplifier::simplify() in geos.o
      void std::__1::allocator<short>::construct<short, short const&>(short*, short const&) in geos.o
  "___asan_stack_malloc_5", referenced from:
      geos::operation::buffer::BufferBuilder::bufferLineSingleSided(geos::geom::Geometry const*, double, bool) in geos.o
      geos::operation::intersection::RectangleIntersection::clip_linestring_parts(geos::geom::LineString const*, geos::operation::intersection::RectangleIntersectionBuilder&, geos::operation::intersection::Rectangle const&) in geos.o
      geos::operation::overlay::snap::LineStringSnapper::snapSegments(geos::geom::CoordinateList&, std::__1::vector<geos::geom::Coordinate const*, std::__1::allocator<geos::geom::Coordinate const*> > const&) in geos.o
      std::__1::__deque_iterator<geos::operation::overlayng::OverlayEdge*, geos::operation::overlayng::OverlayEdge**, geos::operation::overlayng::OverlayEdge*&, geos::operation::overlayng::OverlayEdge***, long, 512l> std::__1::deque<geos::operation::overlayng::OverlayEdge*, std::__1::allocator<geos::operation::overlayng::OverlayEdge*> >::insert<std::__1::__wrap_iter<geos::operation::overlayng::OverlayEdge**> >(std::__1::__deque_iterator<geos::operation::overlayng::OverlayEdge*, geos::operation::overlayng::OverlayEdge* const*, geos::operation::overlayng::OverlayEdge* const&, geos::operation::overlayng::OverlayEdge* const* const*, long, 512l>, std::__1::__wrap_iter<geos::operation::overlayng::OverlayEdge**>, std::__1::__wrap_iter<geos::operation::overlayng::OverlayEdge**>, std::__1::enable_if<__is_cpp17_bidirectional_iterator<std::__1::__wrap_iter<geos::operation::overlayng::OverlayEdge**> >::value, void>::type*) in geos.o
  "___asan_stack_free_5", referenced from:
      geos::operation::buffer::BufferBuilder::bufferLineSingleSided(geos::geom::Geometry const*, double, bool) in geos.o
      geos::operation::intersection::RectangleIntersection::clip_linestring_parts(geos::geom::LineString const*, geos::operation::intersection::RectangleIntersectionBuilder&, geos::operation::intersection::Rectangle const&) in geos.o
      geos::operation::overlay::snap::LineStringSnapper::snapSegments(geos::geom::CoordinateList&, std::__1::vector<geos::geom::Coordinate const*, std::__1::allocator<geos::geom::Coordinate const*> > const&) in geos.o
      std::__1::__deque_iterator<geos::operation::overlayng::OverlayEdge*, geos::operation::overlayng::OverlayEdge**, geos::operation::overlayng::OverlayEdge*&, geos::operation::overlayng::OverlayEdge***, long, 512l> std::__1::deque<geos::operation::overlayng::OverlayEdge*, std::__1::allocator<geos::operation::overlayng::OverlayEdge*> >::insert<std::__1::__wrap_iter<geos::operation::overlayng::OverlayEdge**> >(std::__1::__deque_iterator<geos::operation::overlayng::OverlayEdge*, geos::operation::overlayng::OverlayEdge* const*, geos::operation::overlayng::OverlayEdge* const&, geos::operation::overlayng::OverlayEdge* const* const*, long, 512l>, std::__1::__wrap_iter<geos::operation::overlayng::OverlayEdge**>, std::__1::__wrap_iter<geos::operation::overlayng::OverlayEdge**>, std::__1::enable_if<__is_cpp17_bidirectional_iterator<std::__1::__wrap_iter<geos::operation::overlayng::OverlayEdge**> >::value, void>::type*) in geos.o
  "___asan_stack_malloc_6", referenced from:
      geos::noding::snapround::HotPixelIndex::add(geos::geom::CoordinateSequence const*) in geos.o
      geos::noding::snapround::HotPixelIndex::add(std::__1::vector<geos::geom::Coordinate, std::__1::allocator<geos::geom::Coordinate> > const&) in geos.o
  "___asan_set_shadow_f8", referenced from:
      geos::noding::snapround::HotPixelIndex::add(geos::geom::CoordinateSequence const*) in geos.o
      geos::noding::snapround::HotPixelIndex::add(std::__1::vector<geos::geom::Coordinate, std::__1::allocator<geos::geom::Coordinate> > const&) in geos.o
  "___asan_report_load_n", referenced from:
      geos::io::WKBReader::printHEX(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_ostream<char, std::__1::char_traits<char> >&) in geos.o
      geos::operation::overlayng::OverlayLabel::copy() const in geos.o
  "___asan_unregister_image_globals", referenced from:
      _asan.module_dtor in geos.o
      _asan.module_dtor in geos.o
      _asan.module_dtor in geos.o
      _asan.module_dtor in geos.o
      _asan.module_dtor in geos.o
      _asan.module_dtor in geos.o
      _asan.module_dtor in geos.o
      ...
  "___asan_report_store4", referenced from:
      _GEOSRelateBoundaryNodeRule_r in geos.o
      _GEOSisValidDetail_r in geos.o
      _GEOSBuffer_r in geos.o
      _GEOSBufferWithStyle_r in geos.o
      _GEOSOffsetCurve_r in geos.o
      _GEOSSingleSidedBuffer_r in geos.o
      _GEOSSetSRID_r in geos.o
      ...
  "___asan_stack_malloc_4", referenced from:
      GEOSRelateBoundaryNodeRule_r::$_12::operator()() const in geos.o
      GEOSisValidReason_r::$_14::operator()() const in geos.o
      GEOSGeomFromWKB_buf_r::$_30::operator()() const in geos.o
      GEOSGeomFromHEX_buf_r::$_32::operator()() const in geos.o
      GEOSPolygonize_full_r::$_94::operator()() const in geos.o
      geos::algorithm::CGAlgorithmsDD::orientationIndex(double, double, double, double, double, double) in geos.o
      geos::algorithm::CGAlgorithmsDD::intersection(geos::geom::Coordinate const&, geos::geom::Coordinate const&, geos::geom::Coordinate const&, geos::geom::Coordinate const&) in geos.o
      ...
  "___asan_set_shadow_00", referenced from:
      GEOSRelateBoundaryNodeRule_r::$_12::operator()() const in geos.o
      GEOSisValidReason_r::$_14::operator()() const in geos.o
      GEOSGeomToWKB_buf_r::$_29::operator()() const in geos.o
      GEOSGeomFromWKB_buf_r::$_30::operator()() const in geos.o
      GEOSGeomToHEX_buf_r::$_31::operator()() const in geos.o
      GEOSGeomFromHEX_buf_r::$_32::operator()() const in geos.o
      GEOSPolygonize_full_r::$_94::operator()() const in geos.o
      ...
  "___asan_memmove", referenced from:
      std::__1::enable_if<(is_same<std::__1::remove_const<geos::geom::Coordinate>::type, geos::geom::Coordinate>::value) && (is_trivially_copy_assignable<geos::geom::Coordinate>::value), geos::geom::Coordinate*>::type std::__1::__move_backward<geos::geom::Coordinate, geos::geom::Coordinate>(geos::geom::Coordinate*, geos::geom::Coordinate*, geos::geom::Coordinate*) in geos.o
      std::__1::enable_if<(is_same<std::__1::remove_const<geos::geom::Coordinate const>::type, geos::geom::Coordinate>::value) && (is_trivially_copy_assignable<geos::geom::Coordinate>::value), geos::geom::Coordinate*>::type std::__1::__copy<geos::geom::Coordinate const, geos::geom::Coordinate>(geos::geom::Coordinate const*, geos::geom::Coordinate const*, geos::geom::Coordinate*) in geos.o
      std::__1::enable_if<(is_same<std::__1::remove_const<geos::geom::Coordinate const*>::type, geos::geom::Coordinate const*>::value) && (is_trivially_copy_assignable<geos::geom::Coordinate const*>::value), geos::geom::Coordinate const**>::type std::__1::__move<geos::geom::Coordinate const*, geos::geom::Coordinate const*>(geos::geom::Coordinate const**, geos::geom::Coordinate const**, geos::geom::Coordinate const**) in geos.o
      std::__1::enable_if<(is_same<std::__1::remove_const<geos::geom::Coordinate>::type, geos::geom::Coordinate>::value) && (is_trivially_copy_assignable<geos::geom::Coordinate>::value), geos::geom::Coordinate*>::type std::__1::__copy<geos::geom::Coordinate, geos::geom::Coordinate>(geos::geom::Coordinate*, geos::geom::Coordinate*, geos::geom::Coordinate*) in geos.o
      std::__1::enable_if<(is_same<std::__1::remove_const<geos::edgegraph::HalfEdge*>::type, geos::edgegraph::HalfEdge*>::value) && (is_trivially_copy_assignable<geos::edgegraph::HalfEdge*>::value), geos::edgegraph::HalfEdge**>::type std::__1::__move<geos::edgegraph::HalfEdge*, geos::edgegraph::HalfEdge*>(geos::edgegraph::HalfEdge**, geos::edgegraph::HalfEdge**, geos::edgegraph::HalfEdge**) in geos.o
      std::__1::enable_if<(is_same<std::__1::remove_const<geos::edgegraph::HalfEdge*>::type, geos::edgegraph::HalfEdge*>::value) && (is_trivially_copy_assignable<geos::edgegraph::HalfEdge*>::value), geos::edgegraph::HalfEdge**>::type std::__1::__move_backward<geos::edgegraph::HalfEdge*, geos::edgegraph::HalfEdge*>(geos::edgegraph::HalfEdge**, geos::edgegraph::HalfEdge**, geos::edgegraph::HalfEdge**) in geos.o
      std::__1::enable_if<(is_same<std::__1::remove_const<geos::geom::Coordinate const>::type, geos::geom::Coordinate>::value) && (is_trivially_copy_assignable<geos::geom::Coordinate>::value), geos::geom::Coordinate*>::type std::__1::__copy<geos::geom::Coordinate const, geos::geom::Coordinate>(geos::geom::Coordinate const*, geos::geom::Coordinate const*, geos::geom::Coordinate*) in geos.o
      ...
  "___asan_memset", referenced from:
      GEOSContextHandle_HS::GEOSContextHandle_HS() in geos.o
      std::__1::fpos<__mbstate_t>::fpos(long long) in geos.o
      CAPI_ItemVisitor::CAPI_ItemVisitor(void (*)(void*, void*), void*) in geos.o
      GEOSSTRtree_nearest_generic_r::$_178::operator()() const in geos.o
      geos::geomgraph::EdgeEndStar::computeLabelling(std::__1::vector<geos::geomgraph::GeometryGraph*, std::__1::allocator<geos::geomgraph::GeometryGraph*> >*) in geos.o
      geos::geomgraph::GeometryGraph::createEdgeSetIntersector() in geos.o
      geos::index::strtree::AbstractSTRtree::itemsTree(geos::index::strtree::AbstractNode*) in geos.o
      ...
  "___asan_register_image_globals", referenced from:
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      ...
  "___asan_set_shadow_f5", referenced from:
      _GEOSClipByRect_r in geos.o
      _GEOSSTRtree_nearest_generic_r in geos.o
      _GEOSOrientationIndex_r in geos.o
      _GEOSSharedPaths_r in geos.o
      _GEOSSegmentIntersection_r in geos.o
      GEOSRelateBoundaryNodeRule_r::$_12::operator()() const in geos.o
      GEOSisValidReason_r::$_14::operator()() const in geos.o
      ...
  "___asan_report_store2", referenced from:
      geos::simplify::DouglasPeuckerLineSimplifier::simplify() in geos.o
      geos::simplify::DouglasPeuckerLineSimplifier::simplifySection(unsigned long, unsigned long) in geos.o
      void std::__1::allocator<short>::construct<short, short const&>(short*, short const&) in geos.o
  "___asan_stack_malloc_2", referenced from:
      _GEOSRelatePattern_r in geos.o
      _GEOSRelateBoundaryNodeRule_r in geos.o
      _GEOSisValidDetail_r in geos.o
      _GEOSEqualsExact_r in geos.o
      _GEOSDistance_r in geos.o
      _GEOSDistanceIndexed_r in geos.o
      _GEOSHausdorffDistance_r in geos.o
      ...
  "___asan_report_store1", referenced from:
      _GEOSWKTWriter_setTrim_r in geos.o
      _GEOSWKBWriter_setIncludeSRID_r in geos.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::pbackfail(int) in geos.o
      std::__1::basic_streambuf<char, std::__1::char_traits<char> >::sputc(char) in geos.o
      std::__1::_MetaBase<__is_cpp17_forward_iterator<char*>::value>::_EnableIfImpl<void> std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init<char*>(char*, char*) in geos.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__set_short_size(unsigned long) in geos.o
      std::__1::char_traits<char>::assign(char&, char const&) in geos.o
      ...
  "___asan_stack_malloc_1", referenced from:
      _GEOSDisjoint_r in geos.o
      _GEOSTouches_r in geos.o
      _GEOSIntersects_r in geos.o
      _GEOSCrosses_r in geos.o
      _GEOSWithin_r in geos.o
      _GEOSContains_r in geos.o
      _GEOSOverlaps_r in geos.o
      ...
  "___asan_stack_malloc_3", referenced from:
      _GEOSClipByRect_r in geos.o
      _GEOSSTRtree_nearest_generic_r in geos.o
      _GEOSOrientationIndex_r in geos.o
      _GEOSSharedPaths_r in geos.o
      _GEOSSegmentIntersection_r in geos.o
      GEOSGeomToWKB_buf_r::$_29::operator()() const in geos.o
      GEOSGeomToHEX_buf_r::$_31::operator()() const in geos.o
      ...
  "___asan_report_store8", referenced from:
      GEOSContextHandle_HS::setNoticeHandler(void (*)(char const*, ...)) in geos.o
      GEOSContextHandle_HS::setErrorHandler(void (*)(char const*, ...)) in geos.o
      GEOSContextHandle_HS::setNoticeHandler(void (*)(char const*, void*), void*) in geos.o
      GEOSContextHandle_HS::setErrorHandler(void (*)(char const*, void*), void*) in geos.o
      _GEOSFree_r in geos.o
      _GEOSDisjoint_r in geos.o
      _GEOSTouches_r in geos.o
      ...
  "___asan_report_load8", referenced from:
      GEOSContextHandle_HS::setNoticeHandler(void (*)(char const*, ...)) in geos.o
      GEOSContextHandle_HS::setErrorHandler(void (*)(char const*, ...)) in geos.o
      GEOSContextHandle_HS::setNoticeHandler(void (*)(char const*, void*), void*) in geos.o
      GEOSContextHandle_HS::setErrorHandler(void (*)(char const*, void*), void*) in geos.o
      _GEOSFree_r in geos.o
      decltype(fp0) execute<GEOSDisjoint_r::$_0>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSDisjoint_r::$_0>()()), bool>::value, char, decltype(std::declval<GEOSDisjoint_r::$_0>()())>::type, GEOSDisjoint_r::$_0&&) in geos.o
      decltype(fp0) execute<GEOSTouches_r::$_1>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSTouches_r::$_1>()()), bool>::value, char, decltype(std::declval<GEOSTouches_r::$_1>()())>::type, GEOSTouches_r::$_1&&) in geos.o
      ...
  "___asan_version_mismatch_check_apple_clang_1205", referenced from:
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      ...
  "___asan_shadow_memory_dynamic_address", referenced from:
      _GEOSContext_setNoticeHandler_r in geos.o
      _GEOSContext_setErrorHandler_r in geos.o
      GEOSContextHandle_HS::setNoticeHandler(void (*)(char const*, ...)) in geos.o
      GEOSContextHandle_HS::setErrorHandler(void (*)(char const*, ...)) in geos.o
      _GEOSContext_setNoticeMessageHandler_r in geos.o
      GEOSContextHandle_HS::setNoticeHandler(void (*)(char const*, void*), void*) in geos.o
      _GEOSContext_setErrorMessageHandler_r in geos.o
      ...
  "___asan_init", referenced from:
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      _asan.module_ctor in geos.o
      ...
  "___asan_report_load4", referenced from:
      _GEOSContext_setNoticeHandler_r in geos.o
      _GEOSContext_setErrorHandler_r in geos.o
      _GEOSContext_setNoticeMessageHandler_r in geos.o
      _GEOSContext_setErrorMessageHandler_r in geos.o
      decltype(fp0) execute<GEOSDisjoint_r::$_0>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSDisjoint_r::$_0>()()), bool>::value, char, decltype(std::declval<GEOSDisjoint_r::$_0>()())>::type, GEOSDisjoint_r::$_0&&) in geos.o
      decltype(fp0) execute<GEOSTouches_r::$_1>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSTouches_r::$_1>()()), bool>::value, char, decltype(std::declval<GEOSTouches_r::$_1>()())>::type, GEOSTouches_r::$_1&&) in geos.o
      decltype(fp0) execute<GEOSIntersects_r::$_2>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSIntersects_r::$_2>()()), bool>::value, char, decltype(std::declval<GEOSIntersects_r::$_2>()())>::type, GEOSIntersects_r::$_2&&) in geos.o
      ...
  "___asan_memcpy", referenced from:
      (anonymous namespace)::gstrdup_s(char const*, unsigned long) in geos.o
      std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> > std::__1::__pad_and_output<char, std::__1::char_traits<char> >(std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> >, char const*, char const*, char const*, std::__1::ios_base&, char) in geos.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) in geos.o
      GEOSGeomToWKB_buf_r::$_29::operator()() const in geos.o
      geos::operation::buffer::BufferOp::BufferOp(geos::geom::Geometry const*, geos::operation::buffer::BufferParameters const&) in geos.o
      geos::geom::FixedSizeCoordinateSequence<1ul>::clone() const in geos.o
      geos::geom::FixedSizeCoordinateSequence<1ul>::getAt(unsigned long, geos::geom::Coordinate&) const in geos.o
      ...
  "___asan_after_dynamic_init", referenced from:
      __GLOBAL__sub_I_Coordinate.cpp in geos.o
      __GLOBAL__sub_I_Point.cpp in geos.o
      __GLOBAL__sub_I_Root.cpp in geos.o
  "___asan_report_load1", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__is_long() const in geos.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__get_short_size() const in geos.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::underflow() in geos.o
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::pbackfail(int) in geos.o
      std::__1::basic_ostream<char, std::__1::char_traits<char> >::sentry::operator bool() const in geos.o
      std::__1::char_traits<char>::assign(char&, char const&) in geos.o
      GEOSWKTWriter_setTrim_r::$_142::operator()() const in geos.o
      ...
  "___asan_handle_no_return", referenced from:
      _GEOSFree_r in geos.o
      decltype(fp0) execute<GEOSDisjoint_r::$_0>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSDisjoint_r::$_0>()()), bool>::value, char, decltype(std::declval<GEOSDisjoint_r::$_0>()())>::type, GEOSDisjoint_r::$_0&&) in geos.o
      decltype(fp0) execute<GEOSTouches_r::$_1>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSTouches_r::$_1>()()), bool>::value, char, decltype(std::declval<GEOSTouches_r::$_1>()())>::type, GEOSTouches_r::$_1&&) in geos.o
      decltype(fp0) execute<GEOSIntersects_r::$_2>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSIntersects_r::$_2>()()), bool>::value, char, decltype(std::declval<GEOSIntersects_r::$_2>()())>::type, GEOSIntersects_r::$_2&&) in geos.o
      decltype(fp0) execute<GEOSCrosses_r::$_3>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSCrosses_r::$_3>()()), bool>::value, char, decltype(std::declval<GEOSCrosses_r::$_3>()())>::type, GEOSCrosses_r::$_3&&) in geos.o
      decltype(fp0) execute<GEOSWithin_r::$_4>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSWithin_r::$_4>()()), bool>::value, char, decltype(std::declval<GEOSWithin_r::$_4>()())>::type, GEOSWithin_r::$_4&&) in geos.o
      decltype(fp0) execute<GEOSContains_r::$_5>(GEOSContextHandle_HS*, std::__1::conditional<std::is_same<decltype(std::declval<GEOSContains_r::$_5>()()), bool>::value, char, decltype(std::declval<GEOSContains_r::$_5>()())>::type, GEOSContains_r::$_5&&) in geos.o
      ...
  "___asan_stack_free_6", referenced from:
      geos::noding::snapround::HotPixelIndex::add(geos::geom::CoordinateSequence const*) in geos.o
      geos::noding::snapround::HotPixelIndex::add(std::__1::vector<geos::geom::Coordinate, std::__1::allocator<geos::geom::Coordinate> > const&) in geos.o
  "___asan_option_detect_stack_use_after_return", referenced from:
      _GEOSFree_r in geos.o
      _GEOSDisjoint_r in geos.o
      _GEOSTouches_r in geos.o
      _GEOSIntersects_r in geos.o
      _GEOSCrosses_r in geos.o
      _GEOSWithin_r in geos.o
      _GEOSContains_r in geos.o
      ...
  "___asan_report_load16", referenced from:
      std::__1::set<geos::geom::Coordinate const*, geos::geom::CoordinateLessThen, std::__1::allocator<geos::geom::Coordinate const*> >::insert(geos::geom::Coordinate const* const&) in geos.o
      std::__1::__tree<geos::geom::Coordinate const*, geos::geom::CoordinateLessThen, std::__1::allocator<geos::geom::Coordinate const*> >::__insert_unique(geos::geom::Coordinate const* const&) in geos.o
      std::__1::pair<std::__1::__tree_iterator<geos::geom::Coordinate const*, std::__1::__tree_node<geos::geom::Coordinate const*, void*>*, long>, bool> std::__1::__tree<geos::geom::Coordinate const*, geos::geom::CoordinateLessThen, std::__1::allocator<geos::geom::Coordinate const*> >::__emplace_unique_key_args<geos::geom::Coordinate const*, geos::geom::Coordinate const* const&>(geos::geom::Coordinate const* const&, geos::geom::Coordinate const* const&) in geos.o
      geos::algorithm::CGAlgorithmsDD::detDD(geos::math::DD const&, geos::math::DD const&, geos::math::DD const&, geos::math::DD const&) in geos.o
      geos::algorithm::CGAlgorithmsDD::detDD(double, double, double, double) in geos.o
      std::__1::set<geos::geom::Coordinate const*, geos::geom::CoordinateLessThen, std::__1::allocator<geos::geom::Coordinate const*> >::insert(geos::geom::Coordinate const* const&) in geos.o
      std::__1::__tree<geos::geom::Coordinate const*, geos::geom::CoordinateLessThen, std::__1::allocator<geos::geom::Coordinate const*> >::__insert_unique(geos::geom::Coordinate const* const&) in geos.o
      ...
  "___asan_stack_malloc_0", referenced from:
      _GEOSFree_r in geos.o
      _GEOSWKTWriter_create_r in geos.o
      _GEOSWKBWriter_create_r in geos.o
      _GEOSProjectNormalized_r in geos.o
      _GEOSInterpolateNormalized_r in geos.o
      _GEOSBufferParams_create_r in geos.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) in geos.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants