Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Fwd: problem building cross compiler gcc-3.4.4
       [not found]   ` <3857255c0605150658h51761270s6f647ffdeda1f7fd@mail.gmail.com>
@ 2006-05-16  5:34     ` Shyamal Sadanshio
  2006-05-16 16:29       ` Jim Gifford
  0 siblings, 1 reply; 3+ messages in thread
From: Shyamal Sadanshio @ 2006-05-16  5:34 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: problem building cross compiler gcc-3.4.4
  2006-05-16  5:34     ` Fwd: problem building cross compiler gcc-3.4.4 Shyamal Sadanshio
@ 2006-05-16 16:29       ` Jim Gifford
  2006-05-16 19:37         ` Shyamal Sadanshio
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Gifford @ 2006-05-16 16:29 UTC (permalink / raw)
  To: Shyamal Sadanshio; +Cc: linux-mips

We cover this in cross-lfs, http://www.cross-lfs.org. We are currently 
using GCC 4.1, but if you need the 3.4 instructions email me and I can 
get them to you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem building cross compiler gcc-3.4.4
  2006-05-16 16:29       ` Jim Gifford
@ 2006-05-16 19:37         ` Shyamal Sadanshio
  0 siblings, 0 replies; 3+ messages in thread
From: Shyamal Sadanshio @ 2006-05-16 19:37 UTC (permalink / raw)
  To: Jim Gifford; +Cc: linux-mips

Hi Jim,

Yes, I would very much appreciate if you could send me the
instructions steps for 3.4.

Thanks and Regards,
Shyamal





On 5/16/06, Jim Gifford <maillist@jg555.com> wrote:
> We cover this in cross-lfs, http://www.cross-lfs.org. We are currently
> using GCC 4.1, but if you need the 3.4 instructions email me and I can
> get them to you.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-16 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3857255c0605142352i6f7ed9bdh6c99eed60a80a3c4@mail.gmail.com>
     [not found] ` <44686874.90101@mbnet.fi>
     [not found]   ` <3857255c0605150658h51761270s6f647ffdeda1f7fd@mail.gmail.com>
2006-05-16  5:34     ` Fwd: problem building cross compiler gcc-3.4.4 Shyamal Sadanshio
2006-05-16 16:29       ` Jim Gifford
2006-05-16 19:37         ` Shyamal Sadanshio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox