We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Was trying to use ASAN while working on #817 and had to comment out the static linking as it's not compatible with ASAN
make ENABLE_ASAN=yes
github.com/parca-dev/parca-agent/pkg/metadata github.com/parca-dev/parca-agent/cmd/parca-agent # github.com/parca-dev/parca-agent/cmd/parca-agent /usr/lib/golang/pkg/tool/linux_amd64/link: running clang failed: exit status 1 /usr/bin/ld: /usr/lib64/clang/14.0.0/lib/linux/libclang_rt.asan-x86_64.a(asan_linux.cpp.o): in function `__asan::AsanDoesNotSupportStaticLinkage()': (.text+0x37): undefined reference to `_DYNAMIC' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:110: dist/parca-agent] Error 2
While make build-dyn works, perhaps we should log when running make build with ASAN to inform that it can't be run in static builds?
make build-dyn
make build
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Was trying to use ASAN while working on #817 and had to comment out the static linking as it's not compatible with ASAN
While
make build-dyn
works, perhaps we should log when runningmake build
with ASAN to inform that it can't be run in static builds?The text was updated successfully, but these errors were encountered: