On Feb 13, 2011, at 1:16 AM, Justin Mattock wrote:
On Feb 13, 2011, at 1:01 AM, Csaba Raduly wrote:
Hi all,
I'm trying to build GCC (r170071) on powerpc-apple-darwin8.11.0 (a G4
Mac Mini with OS X 10.4.11). I built and installed gmp-5.0.1,
mpc-0.8.2 and mpfr-3.0.0, then ran
../gcc/configure --enable-languages=c,c++
make bootstrap
tough to say what darwin is asking for(*.h's/lib's) but normally gcc
builds good
with these instructions here..:
http://cross-lfs.org/view/svn/
should have enough info for osx(-m32) in there..
This failed with:
libtool: link: /Users/useruser/GCC/build/./gcc/xgcc
-B/Users/useruser/GCC/build/./gcc/
-B/usr/local/powerpc-apple-darwin8.11.0/bin/
-B/usr/local/powerpc-apple-darwin8.11.0/lib/ -isystem
/usr/local/powerpc-apple-darwin8.11.0/include -isystem
/usr/local/powerpc-apple-darwin8.11.0/sys-include -m64 -dynamiclib
-Wl,-fl
libtool: link: dsymutil .libs/libgomp.1.dylib || :
warning: no debug map in executable (-arch ppc64)
libtool: link: (cd ".libs" && rm -f "libgomp.dylib" && ln -s
"libgomp.1.dylib" "libgomp.dylib")
libtool: link: ar rc .libs/libgomp.a alloc.o barrier.o critical.o
env.o error.o iter.o iter_ull.o loop.o loop_ull.o ordered.o
parallel.o
sections.o single.o task.o team.o work.o lock.o mutex.o proc.o sem.o
bar.o ptrlock.o time.o fortran.o affinity.o
libtool: link: ranlib -c .libs/libgomp.a
libtool: link: ( cd ".libs" && rm -f "libgomp.la" && ln -s
"../libgomp.la" "libgomp.la" )
true DO=all multi-do # make
make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH"
"TARGET_SUBDIR=powerpc-apple-darwin8.11.0" "bindir=/usr/local/bin"
"datadir=/usr/local/share" "exec_prefix=/usr/local"
"includedir=/usr/local/include" "datarootdir=/usr/local/share"
"docdir=/usr/local/share/doc/" "infodir=/usr/local/share/info"
"pdfdir=/usr/local/sha
rm -f stage_current
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Bootstrap comparison failure!
gcc/cp/typeck.o differs
gcc/haifa-sched.o differs
gcc/real.o differs
gcc/tree-vectorizer.o differs
make[2]: *** [compare] Error 1
make[1]: *** [stage3-bubble] Error 2
make: *** [bootstrap] Error 2
real 579m36.885s - overnight delivery :)
user 271m44.136s
sys 26m22.824s
Any idea what could be the problem and how to fix it? Should I just
run a simple "make"?
Csaba
Please CC me because I'm not subscribed to the mailing list. Thanks.
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " --
Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
Justin P. Mattock
looking through seems gcc 4.6.0 is good using this..:
http://gcc.gnu.org/ml/gcc/2010-12/msg00459.html
but then again I have only used the clfs tutorials!!
hope this helps..
Justin P. Mattock