Revert "[K/N][test] Use ld classic for XCTest-based tests"
The new Apple linker failed with SIGBUS when linking XCTest-based tests.
After fixing KT-74764, this is no longer the case. See the detailed
explanation in the issue: ^KT-70202
Therefore, the workaround of using the ld classic in that case is no
longer required.
This reverts commit 7f1008ef917dfe8cc23125184582976a4bdf361e.
(cherry picked from commit 0c217f35576ab1a1246185200182bf802e3a961b)
diff --git a/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/compilation/TestCompilation.kt b/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/compilation/TestCompilation.kt
index 3eca7ed..921d38a 100644
--- a/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/compilation/TestCompilation.kt
+++ b/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/compilation/TestCompilation.kt
@@ -819,8 +819,6 @@
add(
"-produce", "test_bundle",
"-linker-option", "-F" + settings.get<XCTestRunner>().frameworksPath,
- // FIXME: KT-70202: new linker fails with SIGBUS
- "-linker-option", "-ld_classic",
"-output", expectedArtifact.bundleDir.path,
"-Xbinary=bundleId=com.jetbrains.kotlin.${expectedArtifact.bundleDir.nameWithoutExtension}"
)