[MacPorts] #36226: libstdcxx @4.7.1: cc1 in stage1 can't be built on PPC Tiger (Mac OS X 10.4.11) due to undefined symbols
MacPorts
noreply at macports.org
Fri Aug 30 08:04:41 PDT 2013
#36226: libstdcxx @4.7.1: cc1 in stage1 can't be built on PPC Tiger (Mac OS X
10.4.11) due to undefined symbols
------------------------------+------------------------
Reporter: Peter_Dyballa@… | Owner: jeremyhu@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: libstdcxx |
------------------------------+------------------------
Comment (by Peter_Dyballa@…):
Replying to [comment:23 Peter_Dyballa@…]:
>
> In a few days, hopefully, we'll know more…
>
Already before noon this well-known happened:
{{{
/opt/local/bin/g++-apple-4.2 -arch ppc -g -DIN_GCC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-
qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-
macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H
-L/opt/local/lib -Wl,-headerpad_max_install_names -o cc1 c/c-lang.o
c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o
c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o
c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o
c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o
c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o
c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o
c-family/c-ada-spec.o tree-mudflap.o darwin-c.o rs6000-c.o \
cc1-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a
libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/opt/local/lib
-lcloog-isl -lisl -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib
-lmpc -lmpfr -lgmp -lz
ld: warning: object file compiled with -mlong-branch which is no longer
needed. To remove this warning, recompile without -mlong-branch:
/usr/lib/crt1.o
ld: warning: object file compiled with -mlong-branch which is no longer
needed. To remove this warning, recompile without -mlong-branch:
/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.1/crt3.o
Undefined symbols:
"__Unwind_GetIPInfo", referenced from:
_unwind in libbacktrace.a(backtrace.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [cc1] Error 1
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_gcc48/libgcc/work/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_gcc48/libgcc/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_gcc48/libgcc/work/build'
make: *** [bootstrap] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_gcc48/libgcc/work/build'
Command failed: cd
"/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_gcc48/libgcc/work/build"
&& /usr/bin/make -w bootstrap
Exit code: 2
Error: org.macports.build for port libgcc returned: command execution
failed
DEBUG: Error code: CHILDSTATUS 29399 2
DEBUG: Backtrace: command execution failed
}}}
So I am back at substituting the macro "ac_fn_c_try_compile" with
"ac_fn_c_try_link"?
--
Ticket URL: <https://trac.macports.org/ticket/36226#comment:25>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list