From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [81.228.9.186] (helo=av9-2-sn3.vrr.skanova.net) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1KKhvj-0003op-B6 for openembedded-devel@lists.openembedded.org; Mon, 21 Jul 2008 01:03:03 +0200 Received: by av9-2-sn3.vrr.skanova.net (Postfix, from userid 502) id E972937F21; Mon, 21 Jul 2008 01:02:01 +0200 (CEST) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av9-2-sn3.vrr.skanova.net (Postfix) with ESMTP id AD7AE37E84 for ; Mon, 21 Jul 2008 01:02:01 +0200 (CEST) Received: from [10.175.196.221] (213-67-42-101-no158.tbcn.telia.com [213.67.42.101]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 9685A37E46 for ; Mon, 21 Jul 2008 01:02:01 +0200 (CEST) Message-ID: <4883C2EC.90405@atmel.com> Date: Mon, 21 Jul 2008 00:57:48 +0200 From: Ulf Samuelsson User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <4883BCB1.7020102@atmel.com> In-Reply-To: <4883BCB1.7020102@atmel.com> X-Enigmail-Version: 0.95.6 Subject: Re: binutils fails for AVR32 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.10 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2008 23:03:03 -0000 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ulf Samuelsson skrev: | | I managed to complete the AT91SAM9263 build, but | now I am caught in the configure hell when trying the AVR32. | | | I first got stuck in the binutils build since CC is defined as | "'CC=ccache" in the binutils Makefile, and this should be | "'CC=ccache gcc'" | | (/build-avr32/tmp/work/avr32-angstrom-linux-uclibc/ \ | binutils-cross-2.17-r6/binutils-2.17/ \ | build.i686-linux.avr32-angstrom-linux-uclibc/Makefile) | | The failure means that the initial quote character is dangling free. | | I tried to check binutils "configure" where this is defined | but came to the conclusion that this was part of "$ac_arg" | and have not managed to dig any further. | | | Managed to fix that by patching binutils-avr32.inc | Added: | | (cd ${B} && sed -i -e "s,'CC=ccache,'CC=ccache gcc'," Makefile) | | to "do_avr32_configure_bfd" but then when making "intl", there | is a complaint that both the build and host is i686-linux. | | | Configuring in ./intl | | configure: warning: build_alias=i686-linux: invalid host type | | configure: warning: host_alias=i686-linux: invalid host type | | configure: error: can only configure for one host and one target at a | time | | make[1]: *** [configure-intl] Error 1 | | make[1]: Leaving directory | `/mnt/home/ulf/OpenEmbedded/build-avr32/tmp/work/avr32-angstrom-linux-uclibc/binutils-cross-2.17-r6/binutils-2.17/build.i686-linux.avr32-angstrom-linux-uclibc' | | | make: *** [all] Error 2 | | FATAL: oe_runmake failed | | These problems seems to be caused by build_alias, host_alias and | target_alias beeing passed to "configure", but these are only | supported by binutils-2.18 and not 2.17 which is used by the AVR32. | Actually this refers to "./intl/configure". BR Ulf | I am adding | ~ (cd ${B} && sed -i -e "s,'host_alias=i686-linux',," Makefile) | ~ (cd ${B} && sed -i -e "s,'build_alias=i686-linux',," Makefile) | ~ (cd ${B} && sed -i -e "s,'target_alias=avr32-angstrom-linux-uclibc',," | Makefile) | | to the do_avr32_configure_bfd | | host_alias etc. should not be generated in the first place for | binutils-2.17... | | Anyone got the AVR32 toolchain to build properly using a recent version? | | BR | Ulf Samuelsson | _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFIg8LsAyRRH5cXxqwRAp84AJ9vlNOBezsHBIskXGF61ox9ECCqIQCfdfbU Jfb36wi+w8ZGRfojXZUvzCY= =q39W -----END PGP SIGNATURE-----