Hi again,

It seems that the problem has nothing to do with building toolchains.
For some reason host-gcc command in my scratchbox doesn't work...

 Tomi Valkeinen


>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] 
>Sent: 11 January, 2006 10:51
>To: [email protected]
>Subject: [Scratchbox-users] Problems compiling new toolchain 
>for scratchbox
>
>Hi,
>
>I'm trying to compile new arm-toolchain for scratchbox 1.02. I 
>downloaded the sb-toolchains-1.0.2.tar.gz package, and used 
>one of the configurations defined there. However, I ran into problems:
>
>[sbox-HOST: ~/sb-toolchains-1.0.2] > make 
>CONFIG=meta/toolchain/arm-gcc3.4.cs-glibc.conf
>
>...
>
>[===== NOW BUILDING:    gcc-2004-q3d    =====]
>        [fetch] complete for gcc.
>        [checksum] complete for gcc.
>        [extract] complete for gcc.
>        [patch] complete for gcc.
> ==> Running configure in work/build-gcc-2 loading cache 
>./config.cache checking host system type... i686-pc-linux-gnu 
>checking target system type... arm-unknown-linux-gnu checking 
>build system type... i686-pc-linux-gnu checking for a BSD 
>compatible install... /scratchbox/tools/bin/install -c
>*** This configuration is not supported in the following 
>subdirectories:
>     target-libf2c target-libffi target-boehm-gc target-zlib 
>target-libjava zlib fastjar target-libobjc
>    (Any other directories should still work fine.)
>/scratchbox/compilers/bin/host-gcc: Too many open files
>/scratchbox/compilers/bin/host-gcc: Too many open files
>*** The command 'host-gcc -o conftest -O2   conftest.c' failed.
>*** You must set the environment variable CC to a working compiler.
>make[2]: *** [configure-work/build-gcc-2/configure] Error 1
>make[2]: Leaving directory
>`/home/valkeine/sb-toolchains-1.0.2/cc/gcc-3.4-pass2'
>make[1]: *** [dep-../../cc/gcc-3.4-pass2] Error 2
>make[1]: Leaving directory
>`/home/valkeine/sb-toolchains-1.0.2/meta/toolchain'
>make: *** [build] Error 2
>
>
>Just before the "To many open files" error I got this output from ps:
>valkeine  7941 98.0  0.0   1796   684 pts/1    R+   10:37   0:24
>/scratchbox/com
>pilers/host-gcc/bin/host-gcc
>-specs=/scratchbox/compilers/host-gcc/host-gcc.spec
>s -specs=/scratchbox/compilers/host-gcc/host-gcc.specs
>-specs=/scratchbox/compil
>ers/host-gcc/host-gcc.specs
>-specs=/scratchbox/compilers/host-gcc/host-gcc.specs
> -specs=/scratchbox/compilers/host-gcc/host-gcc.specs
>-specs=/scratchbox/compile
>rs/host-gcc/host-gcc.specs
>-specs=/scratchbox/compilers/host-gcc/host-gcc.specs
>-specs=/scratchbox/compilers/host-gcc/host-gcc.specs
>-specs=/scratchbox/compiler
>s/host-gcc/host-gcc.specs
>-specs=/scratchbox/compilers/host-gcc/host-gcc.specs - 
>specs=/scratchbox/compilers/host-gcc/host-gcc.specs
>-specs=/scratchbox/compilers
>/host-gcc/host-gcc.specs
>-specs=/scratchbox/compilers/host-gcc/host-gcc.specs -s 
>pecs=/scratchbox/compilers/host-gcc/host-gcc.specs
>-specs=/scratchbox/compilers/
>(and the same list goes on and on...)
>
>Anyone else got the same problem? Any ideas how to fix this?
>
> Tomi Valkeinen
>
>
>_______________________________________________
>Scratchbox-users mailing list
>[email protected]
>http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
>
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to