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

Build failed: signal: 11, SIGSEGV: invalid memory reference #8

Open
HKalbasi opened this issue Jul 1, 2022 · 0 comments
Open

Build failed: signal: 11, SIGSEGV: invalid memory reference #8

HKalbasi opened this issue Jul 1, 2022 · 0 comments

Comments

@HKalbasi
Copy link

HKalbasi commented Jul 1, 2022

I tried to build the project with this setting:

But it failed with a long log, I think this is the relevant part:

error: failed to run custom build command for `scratch v1.0.1`

Caused by:
  process didn't exit successfully: `/home/hamid/Desktop/cmake_tutor/cxx-cmake-example/build/rust_part/release/build/scratch-6d8128b52c896f83/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)

Here is my setup information:

OS: Pop OS (ubuntu) 22.04
cmake: 3.22.1
rustc: 1.60.0-beta.4
clang-13: 13.0.1-2ubuntu2
lld-13: Ubuntu LLD 13.0.1 (compatible with GNU linkers)
clang: 14.0.0-1ubuntu1
lld: Ubuntu LLD 14.0.0 (compatible with GNU linkers)

Sorry if it is a trivial problem, I'm not familiar with c++ tools.

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