This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
gcc build error for PowerPC platform for ecos 2.0
- From: "Ram Sudhir Tadavarthi" <ram dot tadavarthi at netco dot de>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 08 Mar 2006 17:54:45 +0100
- Subject: [ECOS] gcc build error for PowerPC platform for ecos 2.0
Hello,
I am getting an error while compiling the gcc sources for ecos 2.0.
Complete make.out log file attached.
Host Environment
OS : windows 2000 service pack 4 (with cygwin environment)
Processor : AMD Athlon 1500+
RAM : 256 MB RAM
target architecture : powerpc-eabi
sources downloaded/compiling:
binutils-2.13.1.tar.bz2
gcc-core-3.2.1.tar.gz
gcc-g++-3.2.1.tar.gz
newlib-1.11.0.tar.gz
commands given :
$ /src/gcc-3.2.1/configure --target=powerpc-eabi --prefix=/gnutools --enable-la
nguages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=
/gnutools/powerpc-eabi/include -v 2>&1 | tee configure.out
make -w all install 2>&1 | tee make.out
I have tried the same three times and I am able to reproduce the error.Can
anybody help me what might be wrong.
Thanking you,
ram
PS: error message
In file included from /src/gcc-3.2.1/include/xregex.h:26,
from /src/gcc-3.2.1/libiberty/regex.c:195:
/src/gcc-3.2.1/include/xregex2.h:551: warning: ISO C89 does not support
`static'
or type qualifiers in parameter array declarators
In file included from /src/gcc-3.2.1/libiberty/regex.c:649:
/src/gcc-3.2.1/libiberty/regex.c: In function `byte_regex_compile':
/src/gcc-3.2.1/libiberty/regex.c:2527: warning: implicit declaration of
function
`free'
/src/gcc-3.2.1/libiberty/regex.c:2588: warning: function `free' was previously
d
eclared within a block
/src/gcc-3.2.1/libiberty/regex.c:2621: warning: function `free' was previously
d
eclared within a block
/src/gcc-3.2.1/libiberty/regex.c:2728: warning: function `free' was previously
d
eclared within a block
/src/gcc-3.2.1/libiberty/regex.c:3731: warning: function `free' was previously
d
eclared within a block
/src/gcc-3.2.1/libiberty/regex.c:4238: warning: function `free' was previously
d
eclared within a block
/src/gcc-3.2.1/libiberty/regex.c: In function `byte_re_compile_fastmap':
/src/gcc-3.2.1/libiberty/regex.c:4952: warning: implicit declaration of
function
`abort'
/src/gcc-3.2.1/libiberty/regex.c: In function `byte_re_match_2_internal':
/src/gcc-3.2.1/libiberty/regex.c:7630: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [regex.o] Error 1
make[3]: Leaving directory `/tmp/build/gcc/powerpc-eabi/nof/libiberty'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory `/tmp/build/gcc/powerpc-eabi/libiberty'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/build/gcc/powerpc-eabi/libiberty'
make: *** [all-target-libiberty] Error 2
make: Leaving directory `/tmp/build/gcc'
--
--
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss