Skip to content

Conversation

@zanmato1984
Copy link
Contributor

@zanmato1984 zanmato1984 commented Mar 28, 2024

Rationale for this change

Module library arrow_filesystem_example is introduced in #39067 for filesystem testing:

add_library(arrow_filesystem_example MODULE examplefs.cc)

However when built with TSAN, linker flags such as -fsanitize=thread is not set, causing the link error in #40863.

What changes are included in this PR?

Add necessary linker flags for module library.

Are these changes tested?

Manually tested.

Are there any user-facing changes?

None.

@github-actions
Copy link

⚠️ GitHub issue #40863 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added the awaiting review Awaiting review label Mar 28, 2024
@zanmato1984
Copy link
Contributor Author

cc @bkietz @kou @pitrou

@pitrou
Copy link
Member

pitrou commented Mar 28, 2024

@github-actions crossbow submit -g cpp

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Mar 28, 2024
@github-actions
Copy link

Revision: a8c7efa

Submitted crossbow builds: ursacomputing/crossbow @ actions-726f7f5beb

Task Status
test-alpine-linux-cpp GitHub Actions
test-build-cpp-fuzz GitHub Actions
test-conda-cpp GitHub Actions
test-conda-cpp-valgrind Azure
test-cuda-cpp GitHub Actions
test-debian-12-cpp-amd64 GitHub Actions
test-debian-12-cpp-i386 GitHub Actions
test-fedora-39-cpp GitHub Actions
test-ubuntu-20.04-cpp GitHub Actions
test-ubuntu-20.04-cpp-bundled GitHub Actions
test-ubuntu-20.04-cpp-minimal-with-formats GitHub Actions
test-ubuntu-20.04-cpp-thread-sanitizer GitHub Actions
test-ubuntu-22.04-cpp GitHub Actions
test-ubuntu-22.04-cpp-20 GitHub Actions
test-ubuntu-22.04-cpp-no-threading GitHub Actions
test-ubuntu-24.04-cpp GitHub Actions
test-ubuntu-24.04-cpp-gcc-14 GitHub Actions

@pitrou pitrou merged commit cf832b8 into apache:main Mar 28, 2024
@pitrou pitrou removed the awaiting committer review Awaiting committer review label Mar 28, 2024
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit cf832b8.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 5 possible false positives for unstable benchmarks that are known to sometimes produce them.

vibhatha pushed a commit to vibhatha/arrow that referenced this pull request May 25, 2024
…40864)

### Rationale for this change

Module library `arrow_filesystem_example` is introduced in apache#39067 for filesystem testing:
https://github.com/apache/arrow/blob/6cecbab5172b2b339277dde741bfff455646eb32/cpp/src/arrow/testing/CMakeLists.txt#L25

However when built with TSAN, linker flags such as `-fsanitize=thread` is not set, causing the link error in apache#40863.

### What changes are included in this PR?

Add necessary linker flags for module library.

### Are these changes tested?

Manually tested.

### Are there any user-facing changes?

None.

* GitHub Issue: apache#40863

Authored-by: Ruoxi Sun <zanmato1984@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
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.

2 participants