Closed dvirtz closed 2 years ago
Are you sure the library was built with Clang and not GCC? It usually happens with GCC... Also OSXCross Clang assumes ld64-609, you are using ld64-520.
I didn't use gcc. Not intentionally at least. Is there a way to tell that from the binary? Is there a way to build osxcross with ld64-520?
You could try to build the library with -mlinker-version=520
but there is absolutely no guarantee it will make the crash disappear.
eventually I rebuilt my toolchain and the errors went away
while linking libraries built with osxcross clang 11 to create a library in native mac with apple-clang 11 I get the following failure from ld:
any idea?