John Frankish wrote:
I tried with "--enable-bootstrap" - the compile ran a lot longer, but failed
with a different error (see below) - maybe something to do with the host being a
multi-lib build?
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of John Frankish
Sent: 04 July, 2009 11:46
To: CLFS development discussion
Subject: Re: [Clfs-dev] Cross gcc-4.4.0 - Final Error
Apologies for the brevity of the original mail - more details below
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of John Frankish
Sent: 04 July, 2009 09:12
To: [email protected]
Subject: [Clfs-dev] Cross gcc-4.4.0 - Final Error
Using Cross Compiled Linux from Scratch Version SVN-20090703-PowerPC on a ps3
Chapter 5.14 Cross gcc-4.4.0 - Final
5.14.1 Installation of gcc cross compiler
$ make AS_FOR_TARGET="${CLFS_TARGET}-as" LD_FOR_TARGET="${CLFS_TARGET}-ld"
...
Checking for exception model to use...configure: error: unable to detect
exception model
Up until this point everything went fine and there doesn't seem to be too much
help via google.
Any ideas as to the problem?
Regards, John
_______________________________________________
[snip]
$ make AS_FOR_TARGET="${CLFS_TARGET}-as" LD_FOR_TARGET="${CLFS_TARGET}-ld"
...
rm -rf libbackend.a
ar rc libbackend.a insn-attrtab.o insn-automata.o insn-emit.o insn-extract.o
insn-modes.o insn-opinit.o insn-output.o insn-peep.o insn-preds.o insn-recog.o
ggc-page.o alias.o alloc-pool.o auto-inc-dec.o bb-reorder.o bitmap.o bt-load.o
builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o
cfgexpand.o cfghooks.o cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o
cfgrtl.o combine.o combine-stack-adj.o convert.o coverage.o cse.o cselib.o
dbxout.o dbgcnt.o dce.o ddg.o debug.o df-byte-scan.o df-core.o df-problems.o
df-scan.o dfp.o diagnostic.o dojump.o dominance.o domwalk.o double-int.o dse.o
dwarf2asm.o dwarf2out.o ebitmap.o emit-rtl.o et-forest.o except.o explow.o
expmed.o expr.o final.o fixed-value.o fold-const.o function.o fwprop.o gcse.o
genrtl.o ggc-common.o gimple.o gimple-iterator.o gimple-low.o
gimple-pretty-print.o gimplify.o graph.o graphds.o graphite.o gtype-desc.o
haifa-sched.o hooks.o ifcvt.o init-regs.o integrate.o intl.o ira.o ira-build.o
ira-costs.o ira-conflicts.o ira-color.o ira-emit.o ira-lives.o jump.o
lambda-code.o lambda-mat.o lambda-trans.o langhooks.o lcm.o lists.o
loop-doloop.o loop-init.o loop-invariant.o loop-iv.o loop-unroll.o
loop-unswitch.o lower-subreg.o mcf.o mode-switching.o modulo-sched.o omega.o
omp-low.o optabs.o options.o opts-common.o opts.o params.o passes.o
pointer-set.o postreload-gcse.o postreload.o predict.o pretty-print.o
print-rtl.o print-tree.o profile.o real.o recog.o reg-stack.o reginfo.o
regmove.o regrename.o regstat.o reload.o reload1.o reorg.o resource.o
rtl-error.o rtl-factoring.o rtl.o rtlanal.o rtlhooks.o sbitmap.o sched-deps.o
sched-ebb.o sched-rgn.o sched-vis.o sdbout.o see.o sel-sched-ir.o
sel-sched-dump.o sel-sched.o simplify-rtx.o sparseset.o sreal.o stack-ptr-mod.o
statistics.o stmt.o stor-layout.o stringpool.o targhooks.o timevar.o toplev.o
tracer.o tree-affine.o tree-call-cdce.o tree-cfg.o tree-cfgcleanup.o
tree-chrec.o tree-complex.o tree-data-ref.o tree-dfa.o tree-dump.o tree-eh.o
tree-if-conv.o tree-into-ssa.o tree-iterator.o tree-loop-distribution.o
tree-loop-linear.o tree-nested.o tree-nrv.o tree-object-size.o tree-optimize.o
tree-outof-ssa.o tree-parloops.o tree-phinodes.o tree-predcom.o
tree-pretty-print.o tree-profile.o tree-scalar-evolution.o tree-sra.o
tree-switch-conversion.o tree-ssa-address.o tree-ssa-alias.o tree-ssa-ccp.o
tree-ssa-coalesce.o tree-ssa-copy.o tree-ssa-copyrename.o tree-ssa-dce.o
tree-ssa-dom.o tree-ssa-dse.o tree-ssa-forwprop.o tree-ssa-ifcombine.o
tree-ssa-live.o tree-ssa-loop-ch.o tree-ssa-loop-im.o tree-ssa-loop-ivcanon.o
tree-ssa-loop-ivopts.o tree-ssa-loop-manip.o tree-ssa-loop-niter.o
tree-ssa-loop-prefetch.o tree-ssa-loop-unswitch.o tree-ssa-loop.o
tree-ssa-math-opts.o tree-ssa-operands.o tree-ssa-phiopt.o tree-ssa-phiprop.o
tree-ssa-pre.o tree-ssa-propagate.o tree-ssa-reassoc.o tree-ssa-sccvn.o
tree-ssa-sink.o tree-ssa-structalias.o tree-ssa-ter.o tree-ssa-threadedge.o
tree-ssa-threadupdate.o tree-ssa-uncprop.o tree-ssa.o tree-ssanames.o
tree-stdarg.o tree-tailcall.o tree-vect-analyze.o tree-vect-generic.o
tree-vect-patterns.o tree-vect-transform.o tree-vectorizer.o tree-vrp.o tree.o
value-prof.o var-tracking.o varasm.o varray.o vec.o version.o vmsdbgout.o web.o
xcoffout.o rs6000.o host-linux.o cgraph.o cgraphbuild.o cgraphunit.o
cppdefault.o incpath.o ipa-cp.o ipa-inline.o ipa-prop.o ipa-pure-const.o
ipa-reference.o ipa-struct-reorg.o ipa-type-escape.o ipa-utils.o ipa.o
matrix-reorg.o prefix.o tree-inline.o tree-nomudflap.o varpool.o
ranlib libbackend.a
/mnt/clfs/sources/gcc-build/./prev-gcc/xgcc
-B/mnt/clfs/sources/gcc-build/./prev-gcc/
-B/cross-tools/powerpc-unknown-linux-gnu/bin/ -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -DHAVE_CONFIG_H -Wl,--relax -o cc1-dummy c-lang.o
stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o
c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o
c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o
rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o
dummy-checksum.o \
main.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a -L/lib -lcloog -L/lib -lppl_c -lppl -lgmpxx
-L/cross-tools/lib -L/cross-tools/lib -lmpfr -lgmp
/cross-tools/bin/powerpc-unknown-linux-gnu-ld: skipping incompatible
/cross-tools/lib/libcloog.so when searching for -lcloog
/cross-tools/bin/powerpc-unknown-linux-gnu-ld: skipping incompatible
/cross-tools/lib/libcloog.a when searching for -lcloog
/cross-tools/bin/powerpc-unknown-linux-gnu-ld: skipping incompatible
/cross-tools/lib/libcloog.so when searching for -lcloog
/cross-tools/bin/powerpc-unknown-linux-gnu-ld: skipping incompatible
/cross-tools/lib/libcloog.a when searching for -lcloog
/cross-tools/bin/powerpc-unknown-linux-gnu-ld: cannot find -lcloog
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/mnt/clfs/sources/gcc-build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
make: *** [all] Error 2
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
I just did a commit that should fix this error for you.
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org