Loading ...
Sorry, an error occurred while loading the content.

libiconv native compiling on nslu2 hang on iconv.c

Expand Messages
  • tj_yang2001
    I tried two versions 1.6.1 and 1.9.1. They are both hang when trying to compile lib/iconv.c. I alls try gcc -S iconv.c and tail -f iconv.s to see the size
    Message 1 of 1 , Jan 30, 2005
    • 0 Attachment
      I tried two versions 1.6.1 and 1.9.1. They
      are both hang when trying to compile lib/iconv.c.
      I alls try "gcc -S iconv.c" and "tail -f iconv.s"
      to see the size keep going upto 3M in size.

      libiconv is an important software that others
      build upon.

      Can someone try to compile and may be resove the issue ?

      Thanks for your time

      tj

      0. the 406 lines code won't finish compiling.
      -bash-2.05b$ wc iconv.c
      406 1289 10446 iconv.c
      -bash-2.05b$

      1. compiler used.
      -bash-2.05b$ gcc -v
      Reading specs from
      /opt/armeb/lib/gcc-lib/armv5b-softfloat-linux/3.3.5/specs
      Configured with:
      /export/home/tjyang/slug/unslung/builds/crosstool-native/build/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/gcc-3.3.5/configure
      --build=i686-build_pc-linux-gnu --target=armv5b-softfloat-linux
      --host=armv5b-host_softfloat-linux --prefix=/opt/armeb
      --with-float=soft --with-cpu=xscale --enable-cxx-flags=-mcpu=xscale
      --with-headers=/opt/armeb/armv5b-softfloat-linux/include
      --with-local-prefix=/opt/armeb/armv5b-softfloat-linux --disable-nls
      --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
      --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
      Thread model: posix
      gcc version 3.3.5
      -bash-2.05b$
      2. hang error message from libiconv-1.9.1 with "configure --prefix=/tmp".

      <snip>
      /bin/sh ../libtool --mode=link gcc -I. -I. -I../include
      -I./../include -g -O2 -DLIBDIR=\"/tmp/lib\" -DENABLE_RELOCATABLE=1
      -DIN_LIBRARY -DINSTALLDIR=\"/tmp/lib\" -DNO_XMALLOC
      -Dset_relocation_prefix=libiconv_set_relocation_prefix
      -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -fPIC -DPIC
      -DLIBICONV_PLUG ./iconv.c ./../libcharset/lib/localcharset.c
      ./relocatable.c -shared -o libiconv_plug_linux.so; \
      else \
      /bin/sh ../libtool --mode=link gcc -I. -I. -I../include
      -I./../include -g -O2 -DLIBDIR=\"/tmp/lib\" -DENABLE_RELOCATABLE=1
      -DIN_LIBRARY -DINSTALLDIR=\"/tmp/lib\" -DNO_XMALLOC
      -Dset_relocation_prefix=libiconv_set_relocation_prefix
      -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -KPIC -DPIC
      -DLIBICONV_PLUG ./iconv.c ./../libcharset/lib/localcharset.c
      ./relocatable.c -shared -o libiconv_plug_linux.so; \
      fi
      mkdir .libs
      chmod 777 .libs
      gcc -I. -I. -I../include -I./../include -g -O2 -DLIBDIR=\"/tmp/lib\"
      -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/tmp/lib\"
      -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix
      -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -fPIC -DPIC
      -DLIBICONV_PLUG ./iconv.c ./../libcharset/lib/localcharset.c
      ./relocatable.c -shared -o libiconv_plug_linux.so
    Your message has been successfully submitted and would be delivered to recipients shortly.