On Tuesday 12 February 2008 00:29, Martinb_ARM_NOMMU_KISSDVD wrote:
> 
> Its hard to believe its only my toolchain
> 
> After compiling some older versions I found out the problem start with 1.8.2
> It does not happen with 1.8.1
> 
> So after some diffs I'm sure its the trylink script
> If I make a diff between 1.8.1 and 1.8.2 and I reverse this on 1.9.0 my
> problem is gone
> 
> I did include the diff
> its somewhere in the SORT_SECTION (check_cc)
> if someone can tell me how to provide more info please let me know because I
> still think its not only toolchain related

Can you add these lines and run a build which deletes /dev/null?
What do you see?

check_cc() {
+   echo "Running $CC $1 -shared -o /dev/null -xc /dev/null..." >&2
+   ls -l /dev/null >&2
    if $CC $1 -shared -o /dev/null -xc /dev/null >/dev/null 2>&1; then
+       echo "...success" >&2
+       ls -l /dev/null >&2
        echo "$1";
    else
+       echo "...failure: $?" >&2
+       ls -l /dev/null >&2
        echo "$2";
    fi
}

What version of gcc and ld is in use (gcc -v, ld -v)?
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to