[MacPorts] #49764: babl @0.1.14 falls back to clang-3.4 which is not functional on PPC platforms

MacPorts noreply at macports.org
Tue Oct 25 17:45:59 CEST 2016


#49764: babl @0.1.14 falls back to clang-3.4 which is not functional on PPC
platforms
--------------------------+----------------------
  Reporter:  braumann@…   |      Owner:  dbevans
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  powerpc
      Port:  clang34      |
--------------------------+----------------------

Comment (by ken-cunningham-webuse):

 OK. Learning about gdb, etc. here's what happens when trying to run the
 ./test_throw program on 10.5 leopard Intel compiled with clang-3.7, libcxx
 3.9.0, libcxxabi 3.9.0, and libunwind 3.9.0

 this certainly looks like a bug to my untrained eyes. malloc is trying to
 allocate a huge amount of memory.
 I'll post the whole gdb log as an attachement -- K

 {{{

 159     _LIBCXXABI_FUNC_VIS void *__cxa_allocate_exception(size_t
 thrown_size) throw() {
 (gdb)
 Current language:  auto; currently c++
 __cxxabiv1::do_malloc (size=3221223824) at ../src/cxa_exception.cpp:164
 164         std::memset(exception_header, 0, actual_size);
 (gdb)
 164         std::memset(exception_header, 0, actual_size);
 (gdb)
 111         void *ptr = std::malloc(size);
 (gdb)
 0x002408a2 in __cxxabiv1::do_malloc () at fallback_malloc.ipp:-1
 Line number -1 out of range; fallback_malloc.ipp has 188 lines.
 (gdb)
 0x002408a4      Line number -1 out of range; fallback_malloc.ipp has 188
 lines.
 (gdb)
 0x002408a7      Line number -1 out of range; fallback_malloc.ipp has 188
 lines.
 (gdb)
 0x002408a8      Line number -1 out of range; fallback_malloc.ipp has 188
 lines.
 (gdb)
 0x002408a9      Line number -1 out of range; fallback_malloc.ipp has 188
 lines.
 (gdb)
 0x002408aa      Line number -1 out of range; fallback_malloc.ipp has 188
 lines.
 (gdb)
 0x002408ab in __cxxabiv1::do_malloc () at fallback_malloc.ipp:-1
 Line number -1 out of range; fallback_malloc.ipp has 188 lines.
 (gdb)
 0x00001dd9 in main ()
 (gdb)
 Single stepping until exit from function main,
 which has no line number information.

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x45b0cd7f
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/49764#comment:38>
MacPorts <https://www.macports.org/>
Ports system for OS X



More information about the macports-tickets mailing list