[Buildroot] Busybox build fails with external toolchain

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Oct 23 13:30:45 UTC 2008


On Thu, Oct 23, 2008 at 11:50:31AM +0200, Peter Korsgaard wrote:
>>>>>> "Michel" == Michel Benoit <michel.benoit at sepab.se> writes:
>
> Michel> Hi,
> Michel> I'm trying to use buildroot to build a rootfs with an external
> Michel> toolchain based on uclibc.
> Michel> I'm using buildroot svn revision 23768
> Michel> The toolchain is based on gcc 4.1.2.
>
>The external toolchain stuff is known to be kinda flaky - But maybe
>your problem is the ~ - Could you try with an absolute path to the
>external toolchain?

'~' != $HOME unless
Index: scripts/trylink
===================================================================
--- scripts/trylink	(revision 23755)
+++ scripts/trylink	(working copy)
@@ -41,9 +41,8 @@ try() {
     printf "%s\n" "$*" >>$EXE.out
     printf "%s\n" "==========" >>$EXE.out
     $debug && echo "Trying: $*"
-    "$@" >>$EXE.out 2>&1
-    exitcode=$?
-    return $exitcode
+    $@ >>$EXE.out 2>&1
+    return $?
 }
 
 check_cc() {



More information about the buildroot mailing list