kou commented on PR #50033:
URL: https://github.com/apache/arrow/pull/50033#issuecomment-4537031844

   Wow! Good catch!
   
   How about just disabling mold on Ubuntu 24.04?
   
   ```diff
   diff --git a/ci/docker/ubuntu-24.04-cpp.dockerfile 
b/ci/docker/ubuntu-24.04-cpp.dockerfile
   index 074301b472..2cfc8be6ff 100644
   --- a/ci/docker/ubuntu-24.04-cpp.dockerfile
   +++ b/ci/docker/ubuntu-24.04-cpp.dockerfile
   @@ -176,6 +176,11 @@ RUN /arrow/ci/scripts/install_sccache.sh 
unknown-linux-musl /usr/local/bin
    # provided by the distribution:
    # - Abseil is old and we require a version that has CRC32C
    # - opentelemetry-cpp-dev is not packaged
   +#
   +# Don't use mold 2.30.0 on Ubuntu 24.04. It has a bug in section placement:
   +# - https://github.com/rui314/mold/issues/1247
   +# - https://github.com/apache/arrow/issues/49767
   +# - https://github.com/apache/arrow/pull/50033
    ENV absl_SOURCE=BUNDLED \
        ARROW_ACERO=ON \
        ARROW_AZURE=ON \
   @@ -197,7 +202,7 @@ ENV absl_SOURCE=BUNDLED \
        ARROW_SUBSTRAIT=ON \
        ARROW_USE_ASAN=OFF \
        ARROW_USE_CCACHE=ON \
   -    ARROW_USE_MOLD=ON \
   +    ARROW_USE_MOLD=OFF \
        ARROW_USE_UBSAN=OFF \
        ARROW_WITH_BROTLI=ON \
        ARROW_WITH_BZ2=ON \
   ```
   
   (We may want to measure build times with/without mold. If mold reduces much 
build time, we may want to install recent mold manually.)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to