Skip to content

Conversation

@pitrou
Copy link
Contributor

@pitrou pitrou commented Aug 8, 2024

This may allow to find potentially more issues inside the Arrow C++ codebase.

This will allow to find potentially more issues inside the Arrow C++ codebase.
@pitrou
Copy link
Contributor Author

pitrou commented Aug 8, 2024

cc @felipecrv @emkornfield

@github-actions
Copy link

github-actions bot commented Aug 8, 2024

pitrou is either the primary contact or is in the CCs list of projects/arrow.
pitrou has previously contributed to projects/arrow. The previous PR was #11506

@pitrou
Copy link
Contributor Author

pitrou commented Aug 8, 2024

Hmm, it looks like Snappy tries to force -fno-rtti on us.

@felipecrv
Copy link

Hmm, it looks like Snappy tries to force -fno-rtti on us.

We should probably fix the cmake file for snappy to not set anything regarding rtti.

@DavidKorczynski DavidKorczynski merged commit 479e857 into google:master Aug 12, 2024
@pitrou pitrou deleted the arrow_compression branch August 14, 2024 12:30
@pitrou
Copy link
Contributor Author

pitrou commented Aug 14, 2024

We should probably fix the cmake file for snappy to not set anything regarding rtti.

That's a good point. We should probably patch Snappy's CMake config in our build setup.

Edit: opened apache/arrow#43688 for it

DavidKorczynski pushed a commit that referenced this pull request Aug 21, 2024
In PR #12320, we enabled more compression algorithms for Arrow C++, but
had to disable Snappy because of build issues.

Since then, the Arrow project merged a PR
(apache/arrow#43706) which enables RTTI when
building Snappy.

Therefore, we can now enable Snappy in the OSS-Fuzz builds of Arrow C++
as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants