[MacPorts] #59832: cmake 3.16.0: does not build on PPC Mac OS X 10.5.8, "Bus Error"
MacPorts
noreply at macports.org
Tue Dec 10 19:48:02 UTC 2019
#59832: cmake 3.16.0: does not build on PPC Mac OS X 10.5.8, "Bus Error"
--------------------------+--------------------
Reporter: timishimuni | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: cmake
Port: cmake |
--------------------------+--------------------
Comment (by timishimuni):
Per the helpful suggestion to '''set a breakpoint in malloc_error_break to
debug''':
{{{
$ gdb cmake
GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:15:14 UTC
2009)
...
(gdb) b malloc_error_break
Breakpoint 1 at 0x97c8fe68
(gdb) run
Starting program:
/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/cmake
unable to read unknown load command 0x24
unable to read unknown load command 0x26
unable to read unknown load command 0x24
unable to read unknown load command 0x26
unable to read unknown load command 0x24
unable to read unknown load command 0x26
Reading symbols for shared libraries . done
cmake(23064) malloc: *** error for object 0xa01be3dc: Non-aligned pointer
being freed
*** set a breakpoint in malloc_error_break to debug
Breakpoint 1, 0x97c8fe68 in malloc_error_break ()
(gdb) bt
#0 0x97c8fe68 in malloc_error_break ()
#1 0x97c8aad0 in szone_error ()
#2 0x90e22fdc in std::locale::_Impl::_M_install_facet ()
#3 0x90e23498 in std::locale::_Impl::_Impl ()
#4 0x90e23b0c in std::locale::_Impl::_Impl ()
#5 0x97b8bbc8 in pthread_once ()
#6 0x90e23b74 in std::locale::_Impl::_Impl ()
#7 0x90e23cf4 in std::locale::locale ()
#8 0x90e224a0 in std::ios_base::_M_init ()
#9 0x90e2e210 in std::basic_ios<char, std::char_traits<char> >::init ()
#10 0x0033117c in std::ios_base::Init::Init ()
#11 0x00191968 in _GLOBAL__sub_I_cmCommandArgumentParserHelper.cxx ()
#12 0x8fe13834 in
__dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
()
#13 0x8fe0f248 in
__dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#14 0x8fe0f36c in
__dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
#15 0x8fe03848 in __dyld__ZN4dyld24initializeMainExecutableEv ()
#16 0x8fe08144 in __dyld__ZN4dyld5_mainEPK11mach_headermiPPKcS5_S5_ ()
#17 0x8fe01774 in __dyld__ZN13dyldbootstrap5startEPK11mach_headeriPPKcl ()
#18 0x8fe01048 in __dyld__dyld_start ()
(gdb)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59832#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list