Hi Everyone, I'm trying to build CMake for a PowerMac G5. I elevated and then:
root# CC=/opt/local/bin/gcc-mp-5 \ CXX=/opt/local/bin/g++-mp-5 \ /opt/local/bin/port install cmake The build fails. The tail of cmake/main.log shows the info below. What is the Exit code: 11? (I'd also be interested in knowing why CMake is not using the compiler I told it to use, but that is more curiosity then anything else). ----- :info:configure --------------------------------------------- :info:configure CMake 3.16.5, Copyright 2000-2019 Kitware, Inc. and Contributors :info:configure C compiler on this system is: /opt/local/bin/gcc-mp-7 -pipe -Os -I/opt/local/include/LegacySupport -arch ppc :info:configure C++ compiler on this system is: /opt/local/bin/g++-mp-7 -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc :info:configure Makefile processor on this system is: make :info:configure /opt/local/bin/g++-mp-7 has setenv :info:configure /opt/local/bin/g++-mp-7 has unsetenv :info:configure /opt/local/bin/g++-mp-7 does not have environ in stdlib.h :info:configure /opt/local/bin/g++-mp-7 has stl wstring :info:configure /opt/local/bin/g++-mp-7 has <ext/stdio_filebuf.h> :info:configure --------------------------------------------- :info:configure make: `cmake' is up to date. :info:configure cmake(21475) malloc: *** error for object 0xa09363dc: Non-aligned pointer being freed :info:configure *** set a breakpoint in malloc_error_break to debug :info:configure cmake(21475) malloc: *** error for object 0xa093636c: Non-aligned pointer being freed :info:configure *** set a breakpoint in malloc_error_break to debug :info:configure loading initial cache file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.5/Bootstrap.cmk/InitialCacheFlags.cmake :info:configure ./bootstrap: line 1676: 21475 Bus error "${cmake_bootstrap_dir}/cmake" "${cmake_source_dir}" "-C${cmake_bootstrap_dir}/InitialCacheFlags.cmake" "-G${cmake_bootstrap_generator}" ${cmake_options} ${cmake_bootstrap_system_libs} "$@" :info:configure --------------------------------------------- :info:configure Error when bootstrapping CMake: :info:configure Problem while running initial CMake :info:configure --------------------------------------------- :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.5" && ./bootstrap --prefix=/opt/local --docdir=share/doc/cmake --parallel=2 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.5/macports.cmake --system-libs --no-system-jsoncpp --no-system-librhash --no-qt-gui -- :info:configure Exit code: 11 :error:configure Failed to configure cmake: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed :debug:configure while executing :debug:configure "$procedure $targetname" :error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log for details.