lidavidm commented on a change in pull request #11006:
URL: https://github.com/apache/arrow/pull/11006#discussion_r697456818



##########
File path: dev/tasks/linux-packages/apache-arrow/debian/rules
##########
@@ -47,6 +47,8 @@ override_dh_auto_configure:
          -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)                      \
          -DCMAKE_UNITY_BUILD=ON                                \
          -DPARQUET_REQUIRE_ENCRYPTION=ON                       \
+         -DProtobuf_SOURCE=BUNDLED                             \
+         -DgRPC_SOURCE=BUNDLED                                 \

Review comment:
       Seemingly related: 
https://github.com/protocolbuffers/protobuf/issues/7092 and 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55394
   
   Though running the final linker command without the LTO flags does not help. 
Running with `-Wl,--no-as-needed -lpthread -Wl,--as-needed` does.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to