Opened 5 years ago

Last modified 5 years ago

#59832 closed defect

cmake 3.16.0: does not build on PPC Mac OS X 10.5.8, "Bus Error" — at Version 1

Reported by: timishimuni Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: leopard Cc:
Port: cmake

Description (last modified by timishimuni)

Description

Building cmake fails with an apparent bus error at:

:info:configure cmake(21293) malloc: *** error for object 0xa01be3dc: Non-aligned pointer being freed
:info:configure *** set a breakpoint in malloc_error_break to debug

Environment

Power Mac G5 running OS X 10.5.8, 8G RAM, Xcode 3.1.4 From the top of the build log:

:debug:sysinfo Mac OS X 10.5 (darwin/9.8.0) arch powerpc
:debug:sysinfo MacPorts 2.6.2
:debug:sysinfo Xcode 3.1.4
:debug:sysinfo SDK 10.5
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.5

Log

More context from the end of /opt/local/var/macports/logs/_opt_..._ports_devel_cmake/cmake/main.log:

:info:configure ld: warning: direct access in TargetPolicyNode::Evaluate(std::vector<std::basic_string<char,std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, cmGeneratorExpressionContext*, GeneratorExpressionContent const*, cmGeneratorExpressionDAGChecker*) const to global weak symbol TargetPolicyNode::Evaluate(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>,
 std::allocator<char> > > > const&, cmGeneratorExpressionContext*, GeneratorExpressionContent const*, cmGeneratorExpressionDAGChecker*) const means the weak symbol cannot be overriden at runtime. This was likely caused by different translation units being compiled with different visiblity settings.
:info:configure cmake(21293) malloc: *** error for object 0xa01be3dc: Non-aligned pointer being freed
:info:configure *** set a breakpoint in malloc_error_break to debug
:info:configure cmake(21293) malloc: *** error for object 0xa01be36c: 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_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/Bootstrap.cmk/InitialCacheFlags.cmake
:info:configure ./bootstrap: line 1675: 21293 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_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0" && ./bootstrap --prefix=/opt/local --docdir=share/doc/cmake --parallel=2 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/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_macports_release_tarballs_ports_devel_
cmake/cmake/main.log for details.

Change History (1)

comment:1 Changed 5 years ago by timishimuni

Description: modified (diff)
Note: See TracTickets for help on using tickets.