Hi, I'm trying to build a crosscompiler(lang:c,ada) for sparc64 but something is wrong with `sed'... # configure,build... rm -rf obj-sparc64-pld-linux install -d obj-sparc64-pld-linux cd obj-sparc64-pld-linux CFLAGS="%{rpmcflags}" \ CXXFLAGS="%{rpmcflags}" \ TEXCONFIG=false ../configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --libexecdir=%{_libexecdir} \ --infodir=%{_infodir} \ --mandir=%{_mandir} \ --disable-shared \ --enable-threads=posix \ --enable-__cxa_atexit \ --enable-languages="c,ada" \ --enable-c99 \ --enable-long-long \ --enable-multilib \ --disable-nls \ --with-gnu-as \ --with-gnu-ld \ --with-system-zlib \ --without-x \ --target=sparc64-pld-linux PATH=$PATH:/sbin:%{_sbindir} cd .. %{__make} -C obj-sparc64-pld-linux -j4 \ profiledbootstrap \ BOOT_CFLAGS="%{rpmcflags}" \ STAGE1_CFLAGS="%{rpmcflags}" \ LDFLAGS_FOR_TARGET="%{rpmldflags}" \ mandir=%{_mandir} \ infodir=%{_infodir} for tgt in gnatlib-shared gnattools gnatlib; do %{__make} -C obj-sparc64-pld-linux/gcc $tgt -j4 \ BOOT_CFLAGS="%{rpmcflags}" \ LDFLAGS_FOR_TARGET="%{rpmldflags}" \ mandir=%{_mandir} \ infodir=%{_infodir} done # buildlog # http://149.156.124.14/%7Epluto/tmp/crosssparc64-gcc.log.bz2 (...) ./xgcc -B./ -B/usr/sparc64-pld-linux/bin/ -isystem /usr/sparc64-pld-linux/include -isystem /usr/sparc64-pld-linux/sys-include -L/home/users/pluto/rpm/BUILD/gcc-3.4-20040709/obj-sparc64-pld-linux/gcc/../ld -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -DL__gcc_bcmp -c ../../gcc/libgcc2.c -o libgcc/./__gcc_bcmp.o rm -rf ./libgcc.a ` if [ -f /home/users/pluto/rpm/BUILD/gcc-3.4-20040709/obj-sparc64-pld-linux/gcc/../binutils/ar ] ; then echo /home/users/pluto/rpm/BUILD/gcc-3.4-20040709/obj-sparc64-pld-linux/gcc/../binutils/ar ; else if [ "sparc64-unknown-linux-gnu" = "sparc64-pld-linux-gnu" ] ; then echo ar; else t='s,^,sparc64-pld-linux-,;'; echo ar | sed -e ; fi; fi` ^ ** [1] ** rc ./libgcc.a libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o ^^ ** [2] ** libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde-glibc.o libgcc/./unwind-sjlj.o libgcc/./gthr-gnat.o libgcc/./unwind-c.o libgcc/./_eprintf.o libgcc/./__gcc_bcmp.o sed: option requires an argument -- e Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]... ** [1] ** (...) E-mail bug reports to: bonzini@xxxxxxx . Be sure to include the word ``sed'' somewhere in the ``Subject:'' field. /bin/sh: rc: not found ** [2] ** # packages installed in chroot FHS-2.3-4 acl-2.2.22-2 attr-2.4.15-1 autoconf-2.59-3 automake-1.8.5-1 basesystem-1.99-2 bash-2.05b-14 beecrypt-3.1.0-3 binutils-2.15.91.0.1-1 bison-1.875-7 bzip2-1.0.2-7 chrpath-0.10-4 coreutils-5.2.1-1 cpp-3.3.4-3 cracklib-2.7-18 cracklib-dicts-2.7-18 crosssparc64-binutils-2.15.91.0.1-1 cvs-1.11.17-2 cyrus-sasl-2.1.18-2 db-4.2.52-3 dev-2.9.0-8 diffutils-2.8.4-3 ed-0.2-34 elfutils-libelf-0.89-5 file-4.09-1 findutils-4.1.20-5 fix-info-dir-0.13-5 flex-2.5.31-7 gcc-3.3.4-3 gcc-ada-3.3.4-3 gettext-0.14.1-2 gettext-devel-0.14.1-2 glibc-2.3.4-0.20040707.1 glibc-devel-2.3.4-0.20040707.1 glibc-misc-2.3.4-0.20040707.1 gmp-4.1.2-3 grep-2.5.1-11 gzip-1.3.5-5 heimdal-libs-0.6.2-1 help2man-1.33.1-3 iconv-2.3.4-0.20040707.1 info-4.7-1 libcom_err-1.35-1 libgcc-3.3.4-3 libgcj-3.3.4-3 libgnat-3.3.4-3 libltdl-1.5.6-3 libmagic-4.09-1 libselinux-1.6-1 linux-libc-headers-2.6.7.0-4 m4-1.4p-0.pre2.9 make-3.80-5 mawk-1.3.3-30 mktemp-1.5-15 ncurses-5.3-7 openldap-libs-2.2.11-2 openslp-1.0.11-4 openssl-0.9.7d-5 pam-0.77.4-1 patch-2.5.9-3 pcre-4.5-2 pdksh-5.2.14-37 perl-base-5.8.4-9 perl-devel-5.8.4-9 perl-modules-5.8.4-9 perl-tools-pod-5.8.4-9 poldek-0.18.6-7 popt-1.9-0.20030515.5 pwdutils-2.6.4-1 readline-4.3-11 rpm-4.3-0.20040107.24 rpm-build-4.3-0.20040107.24 rpm-lib-4.3-0.20040107.24 rpm-utils-4.3-0.20040107.24 sed-4.1-1 setup-2.4.6-4 sparc32-1.1-7 tar-1.14-1 texinfo-4.7-1 util-linux-2.12-11 wget-1.9.1-4 zlib-1.2.1-2 zlib-devel-1.2.1-2 -- /* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */ #define say(x) lie(x)