[SOLVED]failed build cross-toolchain for ubuntu-12.04-x86_64

Development on core packages and the distribution goes on in here.

Re: [SOLVED]failed build cross-toolchain for ubuntu-12.04-x8

Postby lulo » Fri Jun 29, 2012 10:42 am

If your PC = x86_64 :

1) use your x-tools or http://archlinuxarm.org/builder/xtools/x-tools.tar.xz / http://archlinuxarm.org/builder/xtools/x-tools7h.tar.xz ?
2) use this script http://archlinuxarm.org/developers/dist ... -compiling (runing ~/x-tools*/arm-unknown-linux-gnueabi/bin/link//a+x// ... some links not created = must manualy create ) ?
3) configure properly /etc/makepkg.conf, /etc/conf.d/distccd, /etc/host.allow, /etc/default/distcc, i.t.d. ?

I'am use littly diferrent config for use my x-tools to my cluster: iconnect=master + x86_64 precise=slave...loock like this:
http://openrouter.info/forum/viewtopic. ... 939#p17939

A) if /var/log/distccd.log "...failed to distribute, running locally instead" => Some objects not builds..never builds...this efect = minimalistic toolchains for x-tools (minimal core = minimal eq. build-devel for arch)...not some liblaries, different config gcc, i.t.d.

B) if /var/log/distccd.log "...reset for peer" => config properly to your network, lan, i.t.d. (maybe different if like to http://archlinuxarm.org/developers/dist ... -compiling )

C) archlinuxarm => /etc/distcc/commands.allow.sh = not modyfication this config...never ! ... only /etc/init.d/distcc to precise...or different file (files) to other x86_64 distro
:D
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: [SOLVED]failed build cross-toolchain for ubuntu-12.04-x8

Postby moonman » Sat Jul 14, 2012 9:07 am

Just wanted to let people know that I successfully compiled the toolchains on 32-bit Ubuntu Server 12.04 runnins in VirtualBox and following the latest, updated, instructions. Now my distcc setup works. Thanks kmihelich!
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [SOLVED]failed build cross-toolchain for ubuntu-12.04-x8

Postby lancej29 » Sat Dec 29, 2012 11:57 pm

I see this was solved, but I ran into again and solved it a slightly different way. I changed the crosstool-ng package from version 1.15 to the latest (1.17). Everything was the same as the original instructions and it worked fine.

I will point out that when I ran the configuration, it complained that I didn't have gawk installed. The 1.15 version didn't complain about this, but I suspect that it needed/used it anyway and that might have been the problem all along. I am too busy (lazy) right now to retry it with v1.15. I hope this is useful.
lancej29
 
Posts: 9
Joined: Sun Sep 16, 2012 10:28 pm

Re: [SOLVED]failed build cross-toolchain for ubuntu-12.04-x8

Postby lancej29 » Sun Dec 30, 2012 2:00 pm

I just tried running the original (1.15) versions of everything and it worked. So, it appears that the problem is that gawk is not installed by default in Xubuntu 12.04/32 and ct-ng does not check it as a dependency.

For completeness, I am running Xubuntu 12.04, 32 bit as a virtual machine under a Win7/64 host using VMWare Workstation 6.5.
lancej29
 
Posts: 9
Joined: Sun Sep 16, 2012 10:28 pm

Previous

Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 16 guests