-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[C++][ORC] Need -lstdc++fs with GCC 8 #40855
Comments
kou
added a commit
to kou/arrow
that referenced
this issue
Apr 5, 2024
…r later If we use `std::filesystem`, we need `-lstdc++fs` with GCC 8 and `-lc++fs` for clang 7. We don't want to maintain CMake code for GCC 8/clang 7. So this avoids using `std::filesystem` with ORC 2.0.0 or later.
kou
added a commit
to kou/arrow
that referenced
this issue
Apr 5, 2024
…r later If we use `std::filesystem`, we need `-lstdc++fs` with GCC 8 and `-lc++fs` for clang 7. We don't want to maintain CMake code for GCC 8/clang 7. So this avoids using `std::filesystem` with ORC 2.0.0 or later.
kou
added a commit
that referenced
this issue
Apr 5, 2024
…C 2.0.0 or later (#41023) ### Rationale for this change If we use `std::filesystem`, we need `-lstdc++fs` with GCC 8 and `-lc++fs` for clang 7. We don't want to maintain CMake code for GCC 8/clang 7. ### What changes are included in this PR? * Don't use `std::filesystem` with ORC 2.0.0 or later. * Use missing `-lstdc++fs`/`-lc++fs` with bundled ORC 2.0.0. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #40855 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Issue resolved by pull request 41023 |
tolleybot
pushed a commit
to tmct/arrow
that referenced
this issue
May 2, 2024
…ith ORC 2.0.0 or later (apache#41023) ### Rationale for this change If we use `std::filesystem`, we need `-lstdc++fs` with GCC 8 and `-lc++fs` for clang 7. We don't want to maintain CMake code for GCC 8/clang 7. ### What changes are included in this PR? * Don't use `std::filesystem` with ORC 2.0.0 or later. * Use missing `-lstdc++fs`/`-lc++fs` with bundled ORC 2.0.0. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: apache#40855 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
vibhatha
pushed a commit
to vibhatha/arrow
that referenced
this issue
May 25, 2024
…ith ORC 2.0.0 or later (apache#41023) ### Rationale for this change If we use `std::filesystem`, we need `-lstdc++fs` with GCC 8 and `-lc++fs` for clang 7. We don't want to maintain CMake code for GCC 8/clang 7. ### What changes are included in this PR? * Don't use `std::filesystem` with ORC 2.0.0 or later. * Use missing `-lstdc++fs`/`-lc++fs` with bundled ORC 2.0.0. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: apache#40855 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
almalinux-8-amd64
https://github.com/ursacomputing/crossbow/actions/runs/8448796286/job/23141553341#step:8:3879
We use
std::filesystem
by #40697. It seems that we need to use-lstdc++fs
explicitly with GCC 8.Solutions:
GetOrcMajorVersion()
), usestd::filesystem
only with old ORC and newer GCC, upgrade vendored ORC-lstdc++fs
for GCC 8 and-lc++fs
for clang 7I like 1. I don't want to write CMake code for 2...
Component(s)
C++
The text was updated successfully, but these errors were encountered: