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

Fix build on FreeBSD #94

Merged
merged 2 commits into from
May 27, 2024
Merged

Fix build on FreeBSD #94

merged 2 commits into from
May 27, 2024

Conversation

artemist
Copy link
Contributor

  • Add a workaround for no ftello64 on FreeBSD, reusing the one for Darwin.

After the first change I was able to build ClangBuildAnalyzer but tests had many coredumps and memory safety errors discovered by valgrind and ASAN. Updating enkiTS seems to fix the issue and build still works for me on Linux.

FreeBSD does not have `ftello64`, the standard `ftello` is 64 bit.
Use the same workaround as for Darwin.
Fixes valgrind errors and crashes on FreeBSD
@aras-p aras-p merged commit 225fe2b into aras-p:main May 27, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants