This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
failure building crosssparc64-gcc. problems with `sed' ?
- From: Paweł Sikora <pluto at pld-linux dot org>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 12 Jul 2004 17:15:44 +0200
- Subject: failure building crosssparc64-gcc. problems with `sed' ?
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`
? ? ? ? ? ? ? ? ? ? ? =A