[MacPorts] #36304: libstdcxx: Build failed for libstdcxx on OSX 10.8 on x86_64

MacPorts noreply at macports.org
Thu Sep 27 03:06:39 PDT 2012


#36304: libstdcxx: Build failed for libstdcxx on OSX 10.8 on x86_64
------------------------+-------------------
  Reporter:  kenneth@…  |      Owner:  mww@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.2
Resolution:             |   Keywords:
      Port:  libstdcxx  |
------------------------+-------------------

Comment (by vaccari@…):

 Can't compile libstdcxx here, on 10.8.2 with Xcode Version 4.5 (4G182).
 After several attempts I completely removed /opt/local, reinstalled
 MacPorts, and then sudo port install libstdcxx. All the dependencies
 installed fine, but in the end libstdcxx failed.

 About ld64:


 {{{
 sudo port installed ld64
 The following ports are currently installed:
   ld64 @133.3_3+llvm31 (active)

 }}}

 Last part of the log file:



 {{{
 :info:build ignoring file unwind-c_s.o, file was built for unsupported
 file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0
 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64):
 unwind-c_s.old: warning:
 :info:build
 :info:build
 :info:build ignoring file emutls_s.o, file was built for unsupported file
 format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1
 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64):
 emutls_s.o
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "___addtf3", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___bswapdi2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___bswapsi2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___clrsbdi2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___clrsbti2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___divtc3", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___divtf3", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___emutls_get_address", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___emutls_register_common", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___eqtf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___extenddftf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___extendsftf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___extendxftf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___fixtfdi", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___fixtfsi", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___fixtfti", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___fixunstfdi", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___fixunstfsi", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___fixunstfti", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___floatditf", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___floatsitf", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___floattitf", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___floatunditf", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___floatunsitf", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___floatuntitf", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___getf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___gttf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___letf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___lttf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___multc3", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___multf3", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___negtf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___netf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___powitf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___subtf3", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___trunctfdf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___trunctfsf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___trunctfxf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "___unordtf2", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build   "__darwin10_Unwind_FindEnclosingFunction", referenced from:
 :info:build      -exported_symbol[s_list] command line option
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build collect2: error: ld returned 1 exit status
 :info:build make[3]: *** [libgcc_s.dylib] Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/libstdcxx/work/build/x86_64
 -apple-darwin12/libgcc'
 :info:build make[2]: *** [all-stage1-target-libgcc] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/libstdcxx/work/build'
 :info:build make[1]: *** [stage1-bubble] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/libstdcxx/work/build'
 :info:build make: *** [bootstrap] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/libstdcxx/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/libstdcxx/work/build"
 && /usr/bin/make -j8 -w bootstrap
 :info:build Exit code: 2
 :error:build org.macports.build for port libstdcxx returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 57685 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: targets not executed for libstdcxx:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Please see the log file for port libstdcxx for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/libstdcxx/main.log

 }}}

 A lot of _s.o files ignored for the same reason, before the two listed
 above. What can I try more?

-- 
Ticket URL: <https://trac.macports.org/ticket/36304#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list