gcc42 build fails on powerpc
M A
markoilcan at gmail.com
Fri Jun 29 10:07:11 PDT 2007
When trying to build gcc42 on a powerpc G5 I get the error below. I
looked in the mail archives and saw that, at least on Intel, the
binutils port causes gcc42 build failures. I do not have the binutils
port installed. I also tried using build.args='-j 1', but without
luck. If there isn't a known solution, I'll go ahead and open a
ticket, but any advice would be appreciated. This is all on 10.4.10,
G5, macports 1.442.
Thanks,
MarkA
---> Building gcc42 with target bootstrap
echo stage3 > stage_final
rm -f stage_current
make[4]: Nothing to be done for `all'.
...(snip)...
Making all in src
perl /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/gcc-4.2.0/libstdc++-v3/scripts/make_exports.pl
\
libstdc++-symbols.ver \
.libs/bitmap_allocator.o .libs/pool_allocator.o .libs/mt_allocator.o
.libs/codecvt.o .libs/compatibility.o .libs/complex_io.o .libs/ctype.o
.libs/debug.o .libs/debug_list.o .libs/functexcept.o
.libs/globals_io.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o
.libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o
.libs/locale_init.o .libs/locale_facets.o .libs/localename.o
.libs/stdexcept.o .libs/strstream.o .libs/tree.o
.libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o
.libs/ext-inst.o .libs/ios-inst.o .libs/iostream-inst.o
.libs/istream-inst.o .libs/istream.o .libs/locale-inst.o
.libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o
.libs/streambuf-inst.o .libs/streambuf.o .libs/string-inst.o
.libs/valarray-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o
.libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o
.libs/ctype_members.o .libs/messages_members.o
.libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o
.libs/basic_file.o .libs/c++locale.o \
`echo ../libmath/libmath.la ../libsupc++/libsupc++convenience.la | \
sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
> libstdc++-symbols.explist || (rm -f libstdc++-symbols.explist ; exit 1)
nm -P .libs/bitmap_allocator.o .libs/pool_allocator.o
.libs/mt_allocator.o .libs/codecvt.o .libs/compatibility.o
.libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o
.libs/functexcept.o .libs/globals_io.o .libs/ios.o .libs/ios_failure.o
.libs/ios_init.o .libs/ios_locale.o .libs/limits.o .libs/list.o
.libs/locale.o .libs/locale_init.o .libs/locale_facets.o
.libs/localename.o .libs/stdexcept.o .libs/strstream.o .libs/tree.o
.libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o
.libs/ext-inst.o .libs/ios-inst.o .libs/iostream-inst.o
.libs/istream-inst.o .libs/istream.o .libs/locale-inst.o
.libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o
.libs/streambuf-inst.o .libs/streambuf.o .libs/string-inst.o
.libs/valarray-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o
.libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o
.libs/ctype_members.o .libs/messages_members.o
.libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o
.libs/basic_file.o .libs/c++locale.o ../libmath/.libs/libmath.a
../libsupc++/.libs/libsupc++convenience.a|nm: no name list
nm: no name list
nm error at /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/gcc-4.2.0/libstdc++-v3/scripts/make_exports.pl
line 130.
make[4]: *** [libstdc++-symbols.explist] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [bootstrap] Error 2
Error: Target com.apple.build returned: shell command " cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/build"
&& make bootstrap -j 1 " returned error 2
Command output: else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/bin/gcc-4.0"
"CC_FOR_TARGET=/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/build/./gcc/xgcc
-B/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/build/./gcc/
-B/opt/local/powerpc-apple-darwin8.10.0/bin/
-B/opt/local/powerpc-apple-darwin8.10.0/lib/ -isystem
/opt/local/powerpc-apple-darwin8.10.0/include -isystem
/opt/local/powerpc-apple-darwin8.10.0/sys-include" "CFLAGS=-O2 -O2 "
"CXXFLAGS=-O2 " "CFLAGS_FOR_BUILD=-O2" "CFLAGS_FOR_TARGET=-O2 -O2 "
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m
644" "INSTALL_PROGRAM=/usr/bin/install -c"
"INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2 -O2 "
"LIBCFLAGS_FOR_TARGET=-O2 -O2 " "MAKE=make" "MAKEINFO=makeinfo
--split-size=5000000 --split-size=5000000 " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS="
"exec_prefix=/opt/local" "infodir=/opt/local/share/info"
"libdir=/opt/local/lib/gcc42" "includedir=/opt/local/include/gcc42"
"prefix=/opt/local" "tooldir=/opt/local/powerpc-apple-darwin8.10.0"
"gxx_include_dir=/opt/local/include/gcc42/c++/" "AR=ar"
"AS=/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/build/./gcc/as"
"LD=/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/build/./gcc/collect-ld"
"RANLIB=ranlib -c"
"NM=/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/build/./gcc/nm"
"NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" all-recursive
Making all in include
make[4]: Nothing to be done for `all'.
Making all in libsupc++
make[4]: Nothing to be done for `all'.
Making all in libmath
make[4]: Nothing to be done for `all'.
Making all in src
perl /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/gcc-4.2.0/libstdc++-v3/scripts/make_exports.pl
\
libstdc++-symbols.ver \
.libs/bitmap_allocator.o .libs/pool_allocator.o .libs/mt_allocator.o
.libs/codecvt.o .libs/compatibility.o .libs/complex_io.o .libs/ctype.o
.libs/debug.o .libs/debug_list.o .libs/functexcept.o
.libs/globals_io.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o
.libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o
.libs/locale_init.o .libs/locale_facets.o .libs/localename.o
.libs/stdexcept.o .libs/strstream.o .libs/tree.o
.libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o
.libs/ext-inst.o .libs/ios-inst.o .libs/iostream-inst.o
.libs/istream-inst.o .libs/istream.o .libs/locale-inst.o
.libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o
.libs/streambuf-inst.o .libs/streambuf.o .libs/string-inst.o
.libs/valarray-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o
.libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o
.libs/ctype_members.o .libs/messages_members.o
.libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o
.libs/basic_file.o .libs/c++locale.o \
`echo ../libmath/libmath.la ../libsupc++/libsupc++convenience.la | \
sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
> libstdc++-symbols.explist || (rm -f libstdc++-symbols.explist ; exit 1)
nm -P .libs/bitmap_allocator.o .libs/pool_allocator.o
.libs/mt_allocator.o .libs/codecvt.o .libs/compatibility.o
.libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o
.libs/functexcept.o .libs/globals_io.o .libs/ios.o .libs/ios_failure.o
.libs/ios_init.o .libs/ios_locale.o .libs/limits.o .libs/list.o
.libs/locale.o .libs/locale_init.o .libs/locale_facets.o
.libs/localename.o .libs/stdexcept.o .libs/strstream.o .libs/tree.o
.libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o
.libs/ext-inst.o .libs/ios-inst.o .libs/iostream-inst.o
.libs/istream-inst.o .libs/istream.o .libs/locale-inst.o
.libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o
.libs/streambuf-inst.o .libs/streambuf.o .libs/string-inst.o
.libs/valarray-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o
.libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o
.libs/ctype_members.o .libs/messages_members.o
.libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o
.libs/basic_file.o .libs/c++locale.o ../libmath/.libs/libmath.a
../libsupc++/.libs/libsupc++convenience.a|nm: no name list
nm: no name list
nm error at /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/gcc-4.2.0/libstdc++-v3/scripts/make_exports.pl
line 130.
make[4]: *** [libstdc++-symbols.explist] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [bootstrap] Error 2
Warning: the following items did not execute (for gcc42):
com.apple.activate com.apple.build com.apple.destroot
com.apple.install
Error: Status 1 encountered during processing.
More information about the macports-users
mailing list