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

Dart-related failures in CMake unit tests #1149

Open
Hsilgos opened this issue Oct 29, 2021 · 1 comment · Fixed by #1150
Open

Dart-related failures in CMake unit tests #1149

Hsilgos opened this issue Oct 29, 2021 · 1 comment · Fixed by #1150
Assignees
Labels
bug Something isn't working dart

Comments

@Hsilgos
Copy link
Contributor

Hsilgos commented Oct 29, 2021

While running Xcode-related unit tests for Xcode I met linking issues in two tests:

19:   Undefined symbols for architecture x86_64:
19: 
19:     "_library_execute_finalizer", referenced from:
19:         _library_unit_test_MainBar_register_finalizer in object.module.only.main_main_ffiglue.o
19:     "_Dart_NewFinalizableHandle_DL", referenced from:
19:         _library_unit_test_MainBar_register_finalizer in object.module.only.main_main_ffiglue.o
19:     "_library_uncache_dart_handle_by_raw_pointer", referenced from:
19:         _library_unit_test_MainBar_finalizer in object.module.only.main_main_ffiglue.o 

Failing tests:

     19 - cmake_test.gluecodium_generate/shared-modules-depend-on-object-libs/CMAKE_CXX_VISIBILITY_PRESET-hidden (Failed)
     39 - cmake_test.gluecodium_generate/two-shared-modules/CMAKE_CXX_VISIBILITY_PRESET-hidden (Failed)

Command to run all Xcode-related CMake unit tests:
GLUECODIUM_VERSION_DEFAULT="10.1.7" GLUECODIUM_BUILD_ENVIRONMENT=ios-x86_64 ./run-cmake-unit-test.cmake

Commands to run only failing tests:

GLUECODIUM_VERSION_DEFAULT="10.1.7"  GLUECODIUM_BUILD_ENVIRONMENT=ios-x86_64 CTEST_FILTER="cmake_test.gluecodium_generate/shared-modules-depend-on-object-libs/CMAKE_CXX_VISIBILITY_PRESET-hidden" ./run-cmake-unit-test.cmake

GLUECODIUM_VERSION_DEFAULT="10.1.7"  GLUECODIUM_BUILD_ENVIRONMENT=ios-x86_64 CTEST_FILTER="cmake_test.gluecodium_generate/two-shared-modules/CMAKE_CXX_VISIBILITY_PRESET-hidden" ./run-cmake-unit-test.cmake

@DanielKamkha DanielKamkha added bug Something isn't working dart labels Nov 1, 2021
@DanielKamkha DanielKamkha self-assigned this Nov 1, 2021
DanielKamkha added a commit that referenced this issue Nov 1, 2021
DanielKamkha added a commit that referenced this issue Nov 1, 2021
@DanielKamkha
Copy link
Contributor

CMake test needs to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dart
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants