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

a problem when use on the arm64, Column.cpp:30:(.text+0x70): undefined reference to `__asan_report_store4' #497

Closed
tangzhezhi opened this issue Jan 8, 2025 · 1 comment

Comments

@tangzhezhi
Copy link

use the src cmake build success on the x86 and arm64 with the same CMakeLists.txt
when use at the arm64 , report the error as the follow:
image

the use .so or .a libraray is the same wrong.

find SQLiteCpp / SQLite3

find_package(SQLiteCpp REQUIRED)

target_link_libraries(
${PROJECT_NAME}
${OpenCV_LIBS}
SQLiteCpp
)

@tangzhezhi
Copy link
Author

I add the follow in the CMakeLists.txt solve the problem:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address")
set(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -fsanitize=address")

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

No branches or pull requests

1 participant