error build glibc cross

View: New views
1 Messages — Rating Filter:   Alert me  

error build glibc cross

by Gerardo Di iorio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have this error on build glibc in cross compile

regards
Gerardo Di Iorio

--
http://www.gerardodiiorio.com

a - csu/aeabi_sighandlers.oS
a - csu/aeabi_math.oS
a - stdlib/atexit.oS
a - stdlib/at_quick_exit.oS
a - io/stat.oS
a - io/fstat.oS
a - io/lstat.oS
a - io/stat64.oS
a - io/fstat64.oS
a - io/lstat64.oS
a - io/fstatat.oS
a - io/fstatat64.oS
a - io/mknod.oS
a - io/mknodat.oS
a - debug/warning-nop.oS
a - debug/stack_chk_fail_local.oS
arm-t2-linux-gnueabi-ranlib /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/libc_nonshared.a
arm-t2-linux-gnueabi-gcc   -nostdlib -nostartfiles -r -o /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/libc_pic.os \
         -Wl,-d -Wl,--whole-archive /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/libc_pic.a
arm-t2-linux-gnueabi-gcc   -shared -Wl,-O1 \
                  -nostdlib -nostartfiles \
                   -Wl,-dynamic-linker=/lib/ld-linux.so.3 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both \
                  -Wl,--verbose 2>&1 | \
          sed > /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/shlib.ldsT \
              -e '/^=========/,/^=========/!d;/^=========/d' \
               -e 's/^.*\.gnu\.hash[ ]*:.*$/  .note.ABI-tag : { *(.note.ABI-tag) } &/' -e '/^[ ]*\.hash[ ]*:.*$/{h;d;}' -e '/DATA_SEGMENT_ALIGN/{H;g}'  \
              -e 's/^.*\*(\.dynbss).*$/& \
                 PROVIDE(__start___libc_freeres_ptrs = .); \
                 *(__libc_freeres_ptrs) \
                 PROVIDE(__stop___libc_freeres_ptrs = .);/'\
              -e 's@^.*\*(\.jcr).*$@& \
                 PROVIDE(__start___libc_subfreeres = .);\
                 __libc_subfreeres : { *(__libc_subfreeres) }\
                 PROVIDE(__stop___libc_subfreeres = .);\
                 PROVIDE(__start___libc_atexit = .);\
                 __libc_atexit : { *(__libc_atexit) }\
                 PROVIDE(__stop___libc_atexit = .);\
                 PROVIDE(__start___libc_thread_subfreeres = .);\
                 __libc_thread_subfreeres : { *(__libc_thread_subfreeres) }\
                 PROVIDE(__stop___libc_thread_subfreeres = .);\
                 /DISCARD/ : { *(.gnu.glibc-stub.*) }@'
mv -f /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/shlib.ldsT /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/shlib.lds
arm-t2-linux-gnueabi-gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld-linux.so.3  -B/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/csu/  -Wl,--version-script=/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -nostdlib -nostartfiles -e __libc_main -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/math -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/elf -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/dlfcn -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/nss -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/nis -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/rt -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/resolv -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/crypt -L/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/nptl -Wl,-rpath-link=/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir:/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/math:/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/elf:/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/dlfcn:/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/nss:/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/nis:/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/rt:/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/resolv:/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/crypt:/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/nptl -o /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/libc.so -T /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/shlib.lds /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/csu/abi-note.o /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/elf/soinit.os /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/libc_pic.os /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/elf/sofini.os /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/elf/interp.os /home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/elf/ld.so -lgcc
/home/tmp/t2/build/beagleboard-8.0-trunk-generic-arm-gnueabi-cortex-a8-cross-linux/TOOLCHAIN/tools.cross/crosscc/../lib/gcc/arm-t2-linux-gnueabi/4.3.4/../../../../arm-t2-linux-gnueabi/bin/ld: attempted static link of dynamic object `/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/elf/ld.so'
collect2: ld returned 1 exit status
make[1]: *** [/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1/objdir/libc.so] Error 1
make[1]: Leaving directory `/home/tmp/t2/src.glibc.beagleboard.20090903.165620.18243.lxmail1/glibc-2.10.1'
make: *** [all] Error 2
Due to previous errors, no 1-glibc.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
scripts/functions.in: line 129: install_init: command not found
Creating file list and doing final adaptions ...
Searching for orphaned files ...
Found 6 files for this package.
Found 1 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@... with a subject of: unsubscribe t2