[MacPorts] #60397: ld64-127 install fails at applying patch stage on Tiger

MacPorts noreply at macports.org
Sun Apr 26 02:30:28 UTC 2020


#60397: ld64-127 install fails at applying patch stage on Tiger
------------------------------+-----------------------------
  Reporter:  programmingkidx  |      Owner:  kencu
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:  MacPorts Future
 Component:  ports            |    Version:  2.6.2
Resolution:                   |   Keywords:  tiger
      Port:  ld64-127         |
------------------------------+-----------------------------

Comment (by kencu):

 I think this is your error:
 {{{
 ld: library not found for -lcrt1.10.6.o
 }}}
 and that happens because you're not setting the deployment target to 10.4.

 Here's my TFF mozconfig:
 {{{
 . $topsrcdir/browser/config/mozconfig

 # optimized buildå
 export CC="/opt/local/bin/gcc-mp-4.8 -Wa,-Q -flax-vector-conversions -O3
 -m32 -read_only_relocs suppress"
 export CXX="/opt/local/bin/g++-mp-4.8 -Wa,-Q -flax-vector-conversions
 -fpermissive -O3 -m32 -read_only_relocs suppress"

 # spec a version of clang that can compile the newer assembly code in
 libvpx
 export TFF_VPX_CC="/opt/local/bin/clang-mp-3.4 -arch i386 -O3"

 ac_add_options --enable-optimize
 ac_add_options --disable-debug
 ac_add_options --enable-strip
 ac_add_options --enable-install-strip

 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg
 mk_add_options AUTOCONF=autoconf213
 ac_add_options --disable-tests
 ac_add_options --disable-static
 ac_add_options --disable-cpp-exceptions
 ac_add_options --disable-crashreporter
 ac_add_options --enable-printing
 ac_add_options --enable-prebinding
 ac_add_options --enable-macos-target=10.4
 ac_add_options --enable-chrome-format=jar
 ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk
 ac_add_options --with-distribution-id=com.floodgap
 ac_add_options --enable-webrtc
 ac_add_options --disable-ion
 }}}

 but you will possibly have more success using my Portfile, at least to
 begin with, especially building TFF for Intel -- Riccardo and I had to do
 some moderate surgery, and there are still a couple of patches needed to
 make it build on Intel, and these are in my repo.

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


More information about the macports-tickets mailing list