On Sun, Jul 22, 2007 at 03:39:08PM +0200, sacarde wrote: > hi, Hi, I've dropped the reply to - here, we normally just reply to the list. > I am building clfs-Version SVN-20070720-PowerPC > > in my apple-mini-ppc 32bit running archlinux-ppc > > I have error building: > Don't say that, I've just ordered a refurbished mini. > http://cross-lfs.org/view/svn/ppc/cross-tools/gcc-final.html > > error is http://pastebin.cross-lfs.org/913 > > > what do you suggest me to do ? > The error is # /mnt/clfs/sources/gcc-build/./gcc/xgcc -B/mnt/clfs/sources/gcc-build/./gcc/ -B/cross-tools/powerpc-unknown-linux-gnu/bin/ -B/cross-tools/powerpc-unknown-linux-gnu/lib/ -isystem /cross-tools/powerpc-unknown-linux-gnu/include -isystem /cross-tools/powerpc-unknown-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc-4.2.0/gcc -I../../gcc-4.2.0/gcc/. -I../../gcc-4.2.0/gcc/../include -I../../gcc-4.2.0/gcc/../libcpp/include -I../../gcc-4.2.0/gcc/../libdecnumber -I../libdecnumber -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc -msdata=none \ # -c ../../gcc-4.2.0/gcc/crtstuff.c -DCRT_BEGIN \ # -o crtbegin.o # /mnt/clfs/sources/gcc-build/./gcc/as: line 2: exec: -m: invalid option # exec: usage: exec [-cl] [-a name] file [redirection ...] # make[2]: *** [crtbegin.o] Error 1 # make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/gcc' # make[1]: *** [all-gcc] Error 2 # make[1]: Leaving directory `/mnt/clfs/sources/gcc-build' # make: *** [all] Error 2
I have to assume it's the "-msdata=none" that is causing this, but I don't know why. I'm just putting together the BLFS|CBLFS part of a 32-bit system on my G5, from an earlier ppc build (not exactly as the book, newer versions of some things, the kernel's own headers, 64-bit cross-compiler for kgcc (gcc-4.1.2) plus my notorious UTF-8 changes). From that I can see that -msdata=none is a standard feature here, so something is causing it to be misinterpreted. Did you delete the gcc-build directory after you built the static gcc ? What do you have for $CLFS_HOST ? BTW - I didn't manage to finish ppc-from-ppc, it craps out for me when building bash in the temp system. I worked around that by really cross-compiling on x86, but I'd be interested to know if you have the same problem when you get that far. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
