This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstool-ng: cross compiler for -mach=arm4vt (Cirrus Logic EP93xx target)


Hi Hartley,

Not sure if it's any help but ltib (http://www.ltib.org) works with
multilib toolchains (including CodeSourcery's), and there is a BSP for
the EP93xx.

As far as I know this particular BSP only has a generic arm uClibc
toolchain available for selection, but if you use the custom toolchain
facility you may be able to get the BSP to build using the CodeSourcery
toolchain,

Best regards,

Steve

On Tue, 2009-09-08 at 16:42 -0400, H Hartley Sweeten wrote:
> Hello all,
> 
> I have been trying to get CodeSourcery's arm-none-linux-gnueabi (Sourcery
> G++ Lite 2009q1-203) 4.3.3 toolchain to work with Buildroot and an EP93xx
> based target.  Unfortunately Buildroot is not setup to handle the multilib
> feature of that toolchain (default libraries are for ARMv5T).  I have
> tried a number of ways in Buildroot to get that that toolchain to work but
> my resulting filesystem always dies due to an unrecognized instruction.
> 
> Today I downloaded crosstool-ng to try and build a sysroot toolchain
> specifically for the armv4t.  I think I have everything setup correctly
> but the build always dies at:
> 
> bigguiness@etch:~/toolchain$ ct-ng build
> [INFO ]  Performing some trivial sanity checks
> [INFO ]  Build started 20090908.131159
> [INFO ]  Building environment variables
> [WARN ]  You did not specify the build system. That's OK, I can guess...
> [INFO ]  =================================================================
> [INFO ]  Retrieving needed toolchain components' tarballs
> [ERROR]    Build failed in step 'Retrieving needed toolchain components' tarballs'
> [ERROR]    Error happened in '/home/bigguiness/lib/ct-ng-hg_default@1523_6c2a6c04187e/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
> [ERROR]          called from '/home/bigguiness/lib/ct-ng-hg_default@1523_6c2a6c04187e/scripts/functions' at line # 502 in function 'CT_GetCVS'
> [ERROR]          called from '/home/bigguiness/lib/ct-ng-hg_default@1523_6c2a6c04187e/scripts/build/libc/glibc.sh' at line # 44 in function 'do_libc_get'
> [ERROR]          called from '/home/bigguiness/lib/ct-ng-hg_default@1523_6c2a6c04187e/scripts/crosstool-NG.sh' at line # 496 in function 'main'
> [ERROR]    Look at '/home/bigguiness/x-tools/arm-unknown-linux-gnueabi/build.log' for more info on this error.
> [ERROR]  (elapsed: 9:41.97)
> [09:42] / make: *** [build] Error 1
> bigguiness@etch:~/toolchain$ 
> 
> I followed the Download and usage instructions on the website:
> 
> bigguiness@etch:~/src$ hg clone http://ymorin.is-a-geek.org/hg/crosstool-ng
> bigguiness@etch:~/src$ cd crosstool-ng
> bigguiness@etch:~/src/crosstool-ng$ ./configure --prefix=/home/bigguiness
> bigguiness@etch:~/src/crosstool-ng$ make
> bigguiness@etch:~/src/crosstool-ng$ export PATH="${PATH}:/home/bigguiness/bin"
> bigguiness@etch:~/src/crosstool-ng$ cd /home/bigguiness/toolchain
> bigguiness@etch:~/toolchain$ ct-ng help
> bigguiness@etch:~/toolchain$ ct-ng menuconfig
> bigguiness@etch:~/toolchain$ ct-ng build
> 
> I think I have everything setup and configured correctly but I can't figure
> out why the build is failing.  From the build.log it appears that linuxthreads
> is getting checked out but when the build tries to mv it the files do not exist:
> 
> [ALL  ]    cvs checkout: Updating linuxthreads/linuxthreads_db
> [DEBUG]    ==> Executing: 'mv linuxthreads glibc-linuxthreads-cvs-2.7'
> [ALL  ]    mv: cannot stat `linuxthreads': No such file or directory
> [ERROR]    Build failed in step 'Retrieving needed toolchain components' tarballs'
> 
> Do I have something configured incorrectly or am I doing something wrong?
> Is there a "magic" combination of the Binutils/C compiler/C-library version
> that must be used?
> 
> Thanks for any reply,
> Hartley Sweeten
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
> 


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]