@mike

you are correct but new toolchain is no option at this time (see pm i send)
i can build without user root
but if there is a clean workaround i dont mind
(wil try to update my toolchain and report back to the list if i ever get
this working)

@vda

  LINK    busybox_unstripped
Running arm-uclinux-elf-gcc -Wl,--sort-section -Wl,alignment -shared -o
/dev/null -xc /dev/null...
crwxrwxrwx 1 root root 1, 3 feb 12 01:16 /dev/null
...failure: 1
ls: /dev/null: Bestand of map bestaat niet
xargs: /dev/null: Bestand of map bestaat niet
xargs: /dev/null: Bestand of map bestaat niet
xargs: /dev/null: Bestand of map bestaat niet
Trying libraries: crypt m
(cut)

gcc -v
Ingebouwde specs worden gebruikt.
Target: i386-redhat-linux
Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
 --enable-shared --enable-threads=posix --enable-checking=release --with-sys
tem-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgc
j-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-
java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/ja
va-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc versie 4.1.2 20070626 (Red Hat 4.1.2-13)


ld -v
GNU ld version 2.17.50.0.6-5.fc6 20061020

output on toolchain dir:

[EMAIL PROTECTED] newtoolchain]# ls -l
drwxr-xr-x 10 root   root       4096 feb 11 22:09 arm-uclinux-elf-binutils
drwxr-xr-x  2 root   root       4096 feb 11 22:09 arm-uclinux-elf-elf2flt
drwxr-xr-x  6 root   root       4096 feb 11 22:32 arm-uclinux-elf-gcc
drwxr-xr-x 10 root   root       4096 feb 11 23:04 arm-uclinux-elf-gdb
-rwxr-xr-x  1 root   root    8850108 jan  4 22:56
arm-uclinux-elf-tools-base-gcc3.4.3-20080104.sh
-rwxr-xr-x  1 root   root    2757358 jan  4 22:56
arm-uclinux-elf-tools-c++-gcc3.4.3-20080104.sh
-rwxr-xr-x  1 root   root        668 jan  4 22:56
arm-uclinux-elf-tools-gdb-20080104.sh
drwxr-xr-x 18 martin martin     4096 nov 22  2004 binutils-2.15.94.0.1
-rw-r--r--  1   1011    513     2188 sep  2  2005
binutils-2.15.94.0.1-arm-reloc.patch
-rwxr--r--  1 root   root   11265381 jan 11  2006
binutils-2.15.94.0.1.tar.bz2
-rw-r--r--  1   1011    513     2100 sep  2  2005
binutils-arm-objdump-reloc.patch
-rwxr-xr-x  1 root   root      41649 feb 11 22:59 build-uclinux-tools.sh
drwxr-xr-x  2 root   root       4096 jan 16  2005 elf2flt-20041205
-rwxr--r--  1 root   root      86288 jan 11  2006 elf2flt-20041205.tar.bz2
-rw-r--r--  1   1011    513     3383 sep  2  2005 elf2flt-cygwin.patch
-rw-r--r--  1   1011    513     1047 sep  3  2005 file-list.txt
-rw-r--r--  1   1011    513     1467 sep  2  2005
gcc-3.4.0-m68k_save_reg-id_shared_library.patch
-rw-r--r--  1   1011    513     7912 sep  2  2005
gcc-3.4.1-addsi3_5200.patch
drwxrwxrwx 11    515    515     4096 feb 11 22:06 gcc-3.4.3
-rw-r--r--  1   1011    513      473 sep  2  2005 gcc-3.4.3-arm-asm.patch
-rw-r--r--  1   1011    513      737 sep  2  2005 gcc-3.4.3-arm-config.patch
-rw-r--r--  1   1011    513      875 sep  2  2005
gcc-3.4.3-arm-mlib-le.patch
-rw-r--r--  1   1011    513     1966 sep  2  2005
gcc-3.4.3-arm-t-uclinux-elf.patch
-rw-r--r--  1   1011    513     3204 sep  2  2005
gcc-3.4.3-arm-uclinux-elf.patch
-rw-r--r--  1 root   root   13040222 jan 19  2006 gcc-core-3.4.3.tar.bz2
-rw-r--r--  1 root   root    2475405 nov  5  2004 gcc-g++-3.4.3.tar.bz2
-rw-r--r--  1 root   root   17376146 jan 14  2006 gdb-6.3.tar.gz
drwxr-xr-x 13 root   root       4096 feb  5 19:37 gdb-6.7.1
-rw-r--r--  1 root   root   15080950 feb  5 01:45 gdb-6.7.1.tar.bz2
drwxr-xr-x  2 root   root       4096 feb 11 22:38 genromfs-0.5.1
-rw-r--r--  1   1011    513      927 sep  2  2005
genromfs-0.5.1-cygwin-020605.patch
-rwxr--r--  1 root   root      20543 jan 11  2006 genromfs-0.5.1.tar.gz
drwxr-xr-x  2 root   root       4096 jan  4 21:33 nogeenseentestdir
-rw-r--r--  1 root   root          0 feb 11 22:06 STAGE1
-rw-r--r--  1 root   root          0 feb 11 22:09 STAGE2
-rw-r--r--  1 root   root          0 feb 11 22:09 STAGE3
-rw-r--r--  1 root   root          0 feb 11 22:09 STAGE4
-rw-r--r--  1 root   root          0 feb 11 22:17 STAGE5
-rw-r--r--  1 root   root          0 feb 11 22:21 STAGE6
-rw-r--r--  1 root   root          0 feb 11 22:38 STAGE7
-rw-r--r--  1 root   root          0 feb 11 22:38 STAGE8
-rw-r--r--  1 root   root          0 feb 11 22:38 STAGE9
-rw-r--r--  1 root   root          0 feb 11 22:38 STAGEA
-rw-r--r--  1 root   root          0 feb 11 23:09 STAGEB
-rw-r--r--  1 root   root          0 feb 11 23:09 STAGEC
drwxr-xr-x 18   1000   1000     4096 feb 11 22:21 uClibc-0.9.26
-rw-r--r--  1   1011    513     4081 sep  2  2005 uClibc-0.9.26-arm.config
-rw-r--r--  1   1011    513      646 sep  2  2005
uClibc-0.9.26-arm-endian-rules.patch
-rw-r--r--  1   1011    513     1310 sep  2  2005
uClibc-0.9.26-arm-ioperm.patch
-rw-r--r--  1   1011    513      387 sep  2  2005
uClibc-0.9.26-exec_alloc.patch
-rw-r--r--  1   1011    513      749 sep  2  2005 uClibc-0.9.26-isabus.patch
-rw-r--r--  1   1011    513      501 sep  2  2005
uClibc-0.9.26-ptrace-lvalue.patch
-rw-r--r--  1   1011    513      803 sep  2  2005
uClibc-0.9.26-syscalls-inline.patch
-rwxr--r--  1 root   root    1604543 jan 11  2006 uClibc-0.9.26.tar.bz2
-rw-r--r--  1   1011    513      555 sep  2  2005 uClibc-arm.patch
-rw-r--r--  1   1011    513      749 sep  2  2005 uClibc-isabus.patch
drwxr-xr-x  3 root   root       4096 jan 10  2006 uclinux



> -----Oorspronkelijk bericht-----
> Van: Denys Vlasenko [mailto:[EMAIL PROTECTED]
> Verzonden: dinsdag 12 februari 2008 7:20
> Aan: Martinb_ARM_NOMMU_KISSDVD
> CC: [email protected]
> Onderwerp: Re: Busybox make, modify my /dev/null on host
>
>
> 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