This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

re: Fail to compile demo-ppc604


I have tried again. 
After I re-download glibc package from internet, the sysd-syscalls error go
away.
But this time I get a segmentation fault error.

When I using another machine to build crosstool and making it automatically
download everything it needs (in previous run, I download the files
manually), this time it fails at configuring gettext
the error message is:
-----------------------
target: gettext.prepare
-----------------------

cd
/home/whjiang/cross-ppc/crosstool-0.28-rc25/build/powerpc-604-linux-gnu/gcc-
3.3.4-20040530-glibc-2.3.2/ptxdist-testing-20031113/build/gettext-0.12.1 &&
\
 
PATH="/home/whjiang/cross-ppc/result/powerpc-604-linux-gnu/gcc-3.3.4-2004053
0-glibc-2.3.2"/bin:$PATH AR="powerpc-linux"-ar AS="powerpc-linux"-as
CXX="powerpc-linux"-g++ CC="powerpc-linux"-gcc LD="powerpc-linux"-ld
NM="powerpc-linux"-nm OBJCOPY="powerpc-linux"-objcopy
OBJDUMP="powerpc-linux"-objdump RANLIB="powerpc-linux"-ranlib
STRIP="powerpc-linux"-strip CFLAGS='-O -mcpu=604'
ac_cv_func_getpgrp_void=yes ac_cv_func_setpgrp_void=yes
ac_cv_sizeof_long_long=8 ac_cv_func_memcmp_clean=yes
ac_cv_func_setvbuf_reversed=no ac_cv_func_getrlimit=yes \
        ./configure --prefix=/usr --build=i686-host-linux-gnu
--host="powerpc-linux" --disable-nls
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc-linux-strip... powerpc-linux-strip
checking build system type... i686-host-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in autoconf-lib-link
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr'
'--build=i686-host-linux-gnu' '--host=powerpc-linux' '--disable-nls'
'CC=powerpc-linux-gcc' 'CFLAGS=-O -mcpu=604' 'CXX=powerpc-linux-g++'
'build_alias=i686-host-linux-gnu' 'host_alias=powerpc-linux'
--cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc-linux-strip... powerpc-linux-strip
checking for powerpc-linux-gcc... powerpc-linux-gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link
make: ***
[/home/whjiang/cross-ppc/crosstool-0.28-rc25/build/powerpc-604-linux-gnu/gcc
-3.3.4-20040530-glibc-2.3.2/ptxdist-testing-20031113/state/gettext.prepare]
Error 1



And the related config.log is given as attachment. Can anyone tell how to
solve it?


Attachment: config.log
Description: Binary data

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]