Fwd: problem building cross compiler gcc-3.4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am facing gcc 3.4.4 build problem for mips platform with
--enable-thread options.

../gcc-3.4.4/configure --target=$TARGET --prefix=$PREFIX
--enable-language=c
--with-headers=/opt/crosstool/mipsel-unknown-linux-gnu/sys-include/
--with-gnu-ld --with-gnu-as --disable-shared --enable-threads

Error message are listed as below:
*************************************************************************************************
In file included from ./tm.h:13,
                from ../../gcc-3.4.4/gcc/libgcc2.c:43:
../../gcc-3.4.4/gcc/config/mips/linux.h:198: error: parse error before "stack_t"
../../gcc-3.4.4/gcc/config/mips/linux.h:198: warning: no semicolon at end of str
uct or union
../../gcc-3.4.4/gcc/config/mips/linux.h:201: error: parse error before '}' token
../../gcc-3.4.4/gcc/config/mips/linux.h:201: warning: type defaults to `int' in
declaration of `_sig_ucontext_t'
../../gcc-3.4.4/gcc/config/mips/linux.h:201: warning: data definition has no typ
e or storage class
In file included from ./tm.h:13,
                from ../../gcc-3.4.4/gcc/libgcc2.c:43:
../../gcc-3.4.4/gcc/config/mips/linux.h:198: error: parse error before "stack_t"
../../gcc-3.4.4/gcc/config/mips/linux.h:198: warning: no semicolon at end of str
uct or union
../../gcc-3.4.4/gcc/config/mips/linux.h:201: error: parse error before '}' token
../../gcc-3.4.4/gcc/config/mips/linux.h:201: warning: type defaults to `int' in
declaration of `_sig_ucontext_t'
../../gcc-3.4.4/gcc/config/mips/linux.h:201: warning: data definition has no typ
e or storage class
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libgcc/./_negdi2.o] Error 1
make[2]: Leaving directory `/tmp/mipsel-unknown-linux-gnu-toolchain/build-gcc-bo
otstrap/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/tmp/mipsel-unknown-linux-gnu-toolchain/build-gcc-bo
otstrap/gcc'
make: *** [all-gcc] Error 2

*************************************************************************************************
I am able to build the minimal version of compiler for kernel build
with config options as below:

../gcc-3.4.4/configure --target=$TARGET --prefix=$PREFIX
--enable-language=c --without-headers --with-gnu-ld --with-gnu-as
--disable-shared --disable-threads

Has anybody faced this issue earlier?
Will be grateful if someone could comment on this issue.

Thanks and Regards,
Shyamal


Thanks and Regards,
Shyamal


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux