#29067: gcc46 fails to build on OS X 10.4.11 PPC -------------------------+---------------------- Reporter: wienands@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: tiger Port: gcc46 | -------------------------+---------------------- Changes (by ifn22@…): * status: closed => reopened * resolution: fixed => Comment: I believe I'm getting the same error. macports 2.1.2 trying to install gcc46 on mac os 10.4.11 and it fails with some missing symbols. It first installs gcc 4.2, then looks like it's trying to install 4.7 ?? I tried the command "sudo port install gcc46 configure.compiler=apple-gcc-4.2" but it looks like it's still using apple's gcc 4.0.1 in the log: :info:build /usr/bin/gcc-4.0 -arch ppc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -fno-common -DHAVE_CONFIG_H -L/opt/local/lib -o cc1 c-lang.o c-family /stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o c-convert.o c-aux- info.o c-objc-common.o c-parser.o tree-mudflap.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 darwin-c.o rs6000-c.o \ :info:build cc1-checksum.o main.o tree-browser.o libbackend.a libcommon- target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/opt/local/lib -lcloog-isl -lisl -L/opt/local/lib -lppl_c -lppl -lgmpxx -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lmpc -lmpfr -lgmp -lz :info:build /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used :info:build /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: :info:build typeinfo for std::logic_error :info:build typeinfo for std::runtime_error :info:build typeinfo for std::basic_streambuf<char, std::char_traits<char>
:info:build typeinfo for std::bad_alloc :info:build typeinfo for std::exception :info:build typeinfo for int :info:build VTT for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > :info:build vtable for std::basic_istream<char, std::char_traits<char> > :info:build vtable for std::basic_ostream<char, std::char_traits<char> > :info:build vtable for std::basic_streambuf<char, std::char_traits<char> > :info:build vtable for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> > :info:build vtable for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > :info:build vtable for std::basic_ios<char, std::char_traits<char> > :info:build operator delete(void*) :info:build operator new(unsigned long) :info:build operator delete[](void*) :info:build operator new[](unsigned long) :info:build symbol ___gmpz_neg used from dynamic library /opt/local/lib/libgmp.dylib(single module) not from earlier dynamic library /opt/local/lib/libppl_c.4.dylib(single module) :info:build collect2: ld returned 1 exit status :info:build make[3]: *** [cc1] Error 1 :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/gcc' :info:build make[2]: *** [all-stage1-gcc] 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 -w bootstrap :info:build Exit code: 2 -- Ticket URL: <https://trac.macports.org/ticket/29067#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS