Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Minitalk test won't compile #84

Open
CodinaFJ opened this issue Dec 6, 2023 · 0 comments
Open

Minitalk test won't compile #84

CodinaFJ opened this issue Dec 6, 2023 · 0 comments

Comments

@CodinaFJ
Copy link

CodinaFJ commented Dec 6, 2023

Describe the bug
Tests for minitalk won't compile. The output is mainly a big linker error.

✖ Preparing tests: fsoares (my own tests)
Undefined symbols for architecture x86_64:
"___asan_handle_no_return", referenced from:
_show_signal_msg in server.o
_handle_termination in server.o
"___asan_init", referenced from:
_asan.module_ctor in server.o
"___asan_memcpy", referenced from:
__add_malloc in server.o
__mark_as_free in server.o
_get_malloc_size in server.o
_print_mallocs in server.o
_check_leaks in server.o
_get_all_allocs in server.o
_show_malloc_stack in server.o
...
"___asan_memset", referenced from:
_malloc in server.o
"___asan_option_detect_stack_use_after_return", referenced from:
___main2 in server.o
_show_signal_msg in server.o
_setup_framework in server.o
_set_signature in server.o
_error in server.o
__add_malloc in server.o
__mark_as_free in server.o
...
"___asan_register_image_globals", referenced from:
_asan.module_ctor in server.o
"___asan_report_load1", referenced from:
__mark_as_free in server.o
_get_malloc_size in server.o
_print_mallocs in server.o
_check_leaks in server.o
_get_all_allocs in server.o
_show_malloc_stack in server.o
"___asan_report_load4", referenced from:
_bin_to_char in server.o
_client_signal_handler in server.o
_set_signature in server.o
_check_leaks in server.o
_get_all_allocs in server.o
_add_trace_to_signature in server.o
_show_malloc_stack in server.o
...
"___asan_report_load8", referenced from:
_show_signal_msg in server.o
_save_traces in server.o
_setup_framework in server.o
_error in server.o
_malloc in server.o
__mark_as_free in server.o
_reset_malloc_mock in server.o
...
"___asan_report_store1", referenced from:
__add_malloc in server.o
__mark_as_free in server.o
_get_all_allocs in server.o
"___asan_report_store4", referenced from:
_client_signal_handler in server.o
___main2 in server.o
_set_signature in server.o
__add_malloc in server.o
_get_all_allocs in server.o
"___asan_report_store8", referenced from:
___main2 in server.o
_setup_framework in server.o
__add_malloc in server.o
_get_all_allocs in server.o
_show_malloc_stack in server.o
"___asan_set_shadow_00", referenced from:
_setup_framework in server.o
"___asan_set_shadow_f5", referenced from:
__add_malloc in server.o
"___asan_set_shadow_f8", referenced from:
_setup_framework in server.o
"___asan_stack_free_5", referenced from:
_setup_framework in server.o
"___asan_stack_malloc_0", referenced from:
___main2 in server.o
"___asan_stack_malloc_1", referenced from:
_set_signature in server.o
_error in server.o
__mark_as_free in server.o
_get_malloc_size in server.o
_print_mallocs in server.o
_check_leaks in server.o
_get_all_allocs in server.o
...
"___asan_stack_malloc_2", referenced from:
_show_signal_msg in server.o
_show_malloc_stack in server.o
"___asan_stack_malloc_3", referenced from:
__add_malloc in server.o
"___asan_stack_malloc_5", referenced from:
_setup_framework in server.o
"___asan_unregister_image_globals", referenced from:
_asan.module_dtor in server.o
"___asan_version_mismatch_check_apple_clang_1103", referenced from:
_asan.module_ctor in server.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [bin/server.out] Error 1
make: *** [all] Error 2
Problem preprating the testes, please contact me at fsoares- in slack or open an issue on github

  • OS: MacOS Catalina 10.15

uname -a
Darwin c1r15s1.42madrid.com 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant