WillAyd commented on code in PR #45854:
URL: https://github.com/apache/arrow/pull/45854#discussion_r2021264915
##########
ci/scripts/python_build.sh:
##########
@@ -89,7 +136,37 @@ pushd ${python_build_dir}
# on Debian/Ubuntu (ARROW-15243).
# - Cannot use build isolation as we want to use specific dependency versions
# (e.g. Numpy, Pandas) on some CI jobs.
-${PYTHON:-python} -m pip install --no-deps --no-build-isolation -vv .
+
+# The conda compilers package may mess with C{XX}_FLAGS in a way that
interferes
+# with the compiler
Review Comment:
I am actually surprised that this doesn't affect the current CMake
configuration, but it may just be a matter of pure luck. The conda compilers
package will add flags like "-O2" to the CFLAGS / CXXFLAGS environment
variables, so if the build system doesn't follow that up with a "-O0" then it
is possible for some of the debugging symbols to be optimized out.
In the case of Meson, it appears that the CFLAGS environment variable was
sequenced after any internal settings, so even if you set the mode to debug in
Meson you'd end up with a g++ command like `g++ -O0 -O2 ...`, which causes
failures in the test_gdb.py suite
--
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]