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

error: debug map object file ... has changed ... since this executable was linked, file will be ignored #110

Open
minfrin opened this issue Apr 23, 2021 · 1 comment

Comments

@minfrin
Copy link
Contributor

minfrin commented Apr 23, 2021

When attempting to step into replxx code on MacOS, the following error is returned:

error: libreplxx-d.0.0.3.dylib debug map object file '/Users/minfrin/Downloads/replxx-release-0.0.3/build/debug/CMakeFiles/replxx.dir/src/io.cxx.o' has changed (actual time is 2021-04-23 17:24:23.000000000, debug map time is 2021-04-23 17:24:16.000000000) since this executable was linked, file will be ignored
error: libreplxx-d.0.0.3.dylib debug map object file '/Users/minfrin/Downloads/replxx-release-0.0.3/build/debug/CMakeFiles/replxx.dir/src/replxx_impl.cxx.o' has changed (actual time is 2021-04-23 17:24:26.000000000, debug map time is 2021-04-23 17:24:19.000000000) since this executable was linked, file will be ignored

I know almost nothing about cmake, so do not recognise the issue.

The only way I can get a build of replxx that includes debug support is to run the ./build-all.sh script as root (!!!), however this creates the problem above. Attempting to run ./build-all.sh as not root fails, as an install step is included which then fails with permission denied.

Following the competing instructions in the README file results in a single non-debug static library, which is not useful.

@AmokHuginnsson
Copy link
Owner

You can debug using statically linked version of the library.
You can build dynamic version without root using ./build-all.sh script like so:

./build-all.sh ${HOME}/usr/local

Than add ${HOME}/usr/local/lib to ${DYLD_FALLBACK_LIBRARY_PATH}.

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

2 participants