-
Notifications
You must be signed in to change notification settings - Fork 756
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
[cmake] avoid reference to xxhsum
build directory
#145
Comments
That's pretty strange. I compiled it on a Linux mint vm, and made the same check as you : $ strings xxhsum | grep BUILD_DIR
$ It did not returned anything. It might be an artifact of the build system. |
I suppose that you use actual directory instead of BUILD_DIR, don't you? If you do then you may be right, this is artifact of my build tool. I'll try different system to check this out. As for my current system I can reproduce this manually:
Environment: bash 4.4.023, gcc 8.1.1 20180531, binutils 2.30, cmake 3.11.4, make 4.2.1, glibc 2.27. |
Ah, I haven't tested
|
Hello, Long story: the reference to the source directory is due to |
Hello!
Good luck! |
The logic for By default, all asserts in Whatever the value of |
xxhsum
to build directoryxxhsum
build directory
I believe this issue has been fixed. |
Hello,
I'm making (unofficial) package for Archlinux (my distribution) and
makepkg
(the distro package build tool) warns me thatxxhsum
has reference to build directory.I checked that with
and found only one occurrence. I tried to build the package with
--save-temps
flag for gcc and found theBUILD_DIR
inxxhsum.o.s
file. I don't understand the format of that file but according to surroundings of the string it somehow might be related toXXXbenchHash
function. Unfortunately, I couldn't figure out how that string comes to thexxhsum
, I don't see any usage of special macros there.I would like to get rid of this string (see, for example, "reproducible builds") but now I'm lost and don't have any clue what to do further. Does anyone has idea how to get rid of this string in compiled binary or know how to debug the problem?
The text was updated successfully, but these errors were encountered: