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

MacPorts noreply at macports.org
Mon Oct 31 05:48:38 CET 2016


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

Comment (by ken-cunningham-webuse):

 here's the crash in getsecbyname.c

 {{{

 Process 87655 stopped
 * thread #1: tid = 0x2d03, 0x00000001001ac383
 libmacho.1.dylib`getsectiondata + 221 at getsecbyname.c:413, stop reason =
 step in
     frame #0: 0x00000001001ac383 libmacho.1.dylib`getsectiondata + 221 at
 getsecbyname.c:413
    410          sp = 0;
    411          sgp = (struct segment_command_64 *)
    412                ((char *)mhp + sizeof(struct mach_header_64));
 -> 413          for(i = 0; i < mhp->ncmds; i++){
    414              if(sgp->cmd == LC_SEGMENT_64){
    415                  if(strcmp(sgp->segname, "__TEXT") == 0){
    416                      slide = (uintptr_t)mhp - sgp->vmaddr;
 (lldb)
 Process 87655 stopped
 * thread #1: tid = 0x2d03, 0x00000001001ac2ed
 libmacho.1.dylib`getsectiondata + 71 at getsecbyname.c:414, stop reason =
 step in
     frame #0: 0x00000001001ac2ed libmacho.1.dylib`getsectiondata + 71 at
 getsecbyname.c:414
    411          sgp = (struct segment_command_64 *)
    412                ((char *)mhp + sizeof(struct mach_header_64));
    413          for(i = 0; i < mhp->ncmds; i++){
 -> 414              if(sgp->cmd == LC_SEGMENT_64){
    415                  if(strcmp(sgp->segname, "__TEXT") == 0){
    416                      slide = (uintptr_t)mhp - sgp->vmaddr;
    417                  }
 (lldb)
 Process 87655 stopped
 * thread #1: tid = 0x2d03, 0x00000001001ac2ed
 libmacho.1.dylib`getsectiondata + 71 at getsecbyname.c:414, stop reason =
 EXC_BAD_ACCESS (code=1, address=0x1e8c107e0)
     frame #0: 0x00000001001ac2ed libmacho.1.dylib`getsectiondata + 71 at
 getsecbyname.c:414
    411          sgp = (struct segment_command_64 *)
    412                ((char *)mhp + sizeof(struct mach_header_64));
    413          for(i = 0; i < mhp->ncmds; i++){
 -> 414              if(sgp->cmd == LC_SEGMENT_64){
    415                  if(strcmp(sgp->segname, "__TEXT") == 0){
    416                      slide = (uintptr_t)mhp - sgp->vmaddr;
    417                  }
 (lldb)
 Process 87655 stopped
 }}}

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



More information about the macports-tickets mailing list