linux-mips
[Top] [All Lists]

Fwd: problem building cross compiler gcc-3.4.4

To: linux-mips@linux-mips.org
Subject: Fwd: problem building cross compiler gcc-3.4.4
From: "Shyamal Sadanshio" <shyamal.sadanshio@gmail.com>
Date: Tue, 16 May 2006 11:04:55 +0530
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AYEaF6m4dAbshB/KleP0n3fh50hfwx0BILgeJ45fEpwdGjykg4sOCK3xjFXBnH6INtuVQpmpXJnUw/74KSgj5Ff3aJdEIA/R42fRbcsY/i3KK++32q8PQ5g9rRa4QZF4dw8jOTxKqZvqBNE5Ns47vbZmAxWVgHyVT/1VBQ+azNU=
In-reply-to: <3857255c0605150658h51761270s6f647ffdeda1f7fd@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <3857255c0605142352i6f7ed9bdh6c99eed60a80a3c4@mail.gmail.com> <44686874.90101@mbnet.fi> <3857255c0605150658h51761270s6f647ffdeda1f7fd@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
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

<Prev in Thread] Current Thread [Next in Thread>