lidavidm commented on issue #36908:
URL: https://github.com/apache/arrow/issues/36908#issuecomment-1678033110

   A simple C++ app may also reproduce it.
   
   For posterity, to get a debug build of gRPC:
   
   - `git clean -fdx .` in the grpc-cpp-feedstock
   - `env PATH=... arch -arch x86_64 /bin/bash` (clean your $PATH of any gunk)
   - Edit `.scripts/run_osx_build.sh` and add `--keep-old-work` to `conda 
mambabuild`
   - Edit the recipe to set CMAKE_BUILD_TYPE and also clean CMAKE_BUILD_TYPE 
out of CMAKE_ARGS (since something in the conda build setup also sets it there)
   - `python3 build-locally.py`
   - Symlink `ln -s 
.../grpc-cpp-feedstock/miniforge3/conda-bld/grpc-split_1692042959526/work_moved_libgrpc-1.56.2-h162c7d8_0_osx-64/`
 back to the original path 
`.../grpc-cpp-feedstock/miniforge3/conda-bld/grpc-split_1692042959526/work`
   - Install the resulting package, lldb should be able to find debug symbols 
now


-- 
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