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]

Problems building x86 toochaing with Crosstool, Crosstool-NG.


Hi all, 
	
I am trying to build a toolchain using Crosstool-NG for my target ,which is
an Intel Atom 330. I used "i686-nptl-linux-gnu" as a starting point and did
some modifications on it. I've selected glibc 2.9, gcc 4.3.4, binutils
2.19.1 and Linux kernel version 2.6.31.1. I also selected "none" on
"Threading implementation to use" option.
	
Unfortunately, during the build  I received some errors:
	
[ERROR]    Build failed in step 'Installing kernel headers'
[ERROR]    Error happened in
'/home/limp/Desktop/Intel_Atom_330/Crosstool-NG/limp_crosstool_ng/lib/ct-ng-1.5.3/scripts/functions'
in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/home/limp/Desktop/Intel_Atom_330/Crosstool-NG/limp_crosstool_ng/lib/ct-ng-1.5.3/scripts/build/kernel/linux.sh'
at line # 100 in function 'do_kernel_custom'
[ERROR]          called from
'/home/limp/Desktop/Intel_Atom_330/Crosstool-NG/limp_crosstool_ng/lib/ct-ng-1.5.3/scripts/build/kernel/linux.sh'
at line # 36 in function 'do_kernel_headers'
[ERROR]          called from
'/home/limp/Desktop/Intel_Atom_330/Crosstool-NG/limp_crosstool_ng/lib/ct-ng-1.5.3/scripts/crosstool-NG.sh'
at line # 547 in function 'main'
[ERROR]    Look at
'/home/limp/Desktop/Intel_Atom_330/Crosstool-NG/limp_atom_toolchain/build.log'
for more info on this error.
[ERROR]  (elapsed: 6:31.53)
[06:32] / make[1]: *** [build] Error 1
make: *** [build.2] Error 2
	
When looking into my "build.log", I see that:
	
[ALL  ]    checking for as... as
[ALL  ]    checking version of as... 2.20, bad
[ALL  ]    checking for ld... ld
[ALL  ]    checking version of ld... 2.20, bad
	
So, it is obvious that there are problems with the installed versions of
"as" and "ld" of my host system (i.e. Ubuntu 9.10). I tried to build a
toolchain with "Crosstool-0.4.3" as well and I got:
	
checking for as... as
checking version of as... 2.20, bad
checking for ld... ld
checking version of ld... 2.20, bad
	
*** These critical programs are missing or too old: as ld
*** Check the INSTALL file for required versions.
	
Is there a way to overcome this problem other than trying to use a different
host OS (with previous versions of "as" and "ld")? I also included my
"build.log" if that helps.
	
Any help is really appreciated. Thanks in advance.

P.S. Please cc me.

Kind Regards,

Ioannis
-- 
View this message in context: http://old.nabble.com/Problems-building-x86-toochaing-with-Crosstool%2C-Crosstool-NG.-tp27131957p27131957.html
Sent from the Sourceware - crossgcc list mailing list archive at Nabble.com.


--
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]