[MacPorts] #36304: Build failed for libstdcxx on OSX 10.8 on x86_64
MacPorts
noreply at macports.org
Mon Sep 24 03:57:26 PDT 2012
#36304: Build failed for libstdcxx on OSX 10.8 on x86_64
----------------------------------+--------------------------------
Reporter: kenneth@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: gcc libstdcxx x86_64 | Port: libstdcxx
----------------------------------+--------------------------------
I am doing:
{{{
sudo port upgrade outdated
}}}
But build for libstdcxx fails with a rather peculiar error message:
{{{
ignoring file extenddftf2_s.o, file was built for i386 which is not the
architecture being linked (i386): extenddftf2_s.old: warning: ld: warning:
}}}
Repeated with many different .o files, then comes:
{{{
:info:build Undefined symbols for architecture i386:
: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 "___clrsbsi2", 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 "___ffssi2", 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 "___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 "___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 "___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 "___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 i386
:info:build collect2: error: ld returned 1 exit status
:info:build make[5]: *** [libgcc_s.dylib] Error 1
:info:build make[5]: 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/i386/libgcc'
:info:build make[4]: *** [multi-do] Error 1
:info:build make[4]: 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[3]: *** [all-multi] Error 2
: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 -j4 -w bootstrap
:info:build Exit code: 2
:error:build org.macports.build for port libstdcxx returned: command
execution failed
:debug:build Error code: CHILDSTATUS 39562 2
:debug:build Backtrace: command execution failed
"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
}}}
Full log is attached
--
Ticket URL: <https://trac.macports.org/ticket/36304>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list