[MacPorts] #61170: libffi @3.3_1 fails to build on 10.5 i386

MacPorts noreply at macports.org
Sun Sep 13 20:46:45 UTC 2020


#61170: libffi @3.3_1 fails to build on 10.5 i386
------------------------+--------------------
  Reporter:  fhgwright  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:
      Port:  libffi     |
------------------------+--------------------

Comment (by kencu):

 that error appears to be coming because of this bit
 <https://opensource.apple.com/source/ld64/ld64-59.2/src/MachOReaderRelocatable.hpp.auto.html>
 {{{
                         case GENERIC_RELOC_SECTDIFF:
                         case GENERIC_RELOC_LOCAL_SECTDIFF:
                                 {
                                         if ( !nextRelocIsPair ) {
 printf("GENERIC_RELOC_SECTDIFF missing following pair\n");
                                                 break;
                                         }
                                         if ( sreloc->r_length() != 2 )
                                                 throw "bad length for
 GENERIC_RELOC_SECTDIFF";
                                         betterDstAddr =
 LittleEndian::get32(*fixUpPtr);
 makeReferenceWithToBase(x86::kPointerDiff, srcAddr, nextRelocValue,
 betterDstAddr+nextRelocValue, dstAddr);
                                 }
                                 break;
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61170#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list