This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New Problem


Hi Ganesh and Dan,

I restarted the whole process again to build cross
copiler for powerpc-linux. Now I am using latest glibc
that is glibc-2.3.6.tar.gz.

I have been follwing the procedure given
"GCC_crosscompiler_buildprocess.txt" to build cross
compiler for power pc.
I am using
gcc-3.3.6.tar.gz,glibc-2.3.6.tar.gz,glibc-linuxthreads-2.3.tar.gz,binutils-2.16.tar.gz.
Build binutils, build minimal gcc were successful
after adding the patch, but while building the glibc 
I am getting the following erros.
This the configure (Help me about this --target and
--host......what give and all)
=====================
 ../glibc-2.3.6/configure
--prefix=/opt/crossgcc/powerpc-linux
--target=powerpc-linux --host=powerpc-linux
--enable-add-ons=linuxthreads
--with-headers=/usr/src/linux-2.4.20-8/include/
--with-binutils=/opt/crossgcc/powerpc-linux/powerpc-linux/bin
configure: WARNING: If you wanted to set the --build
type, don't use --host.
    If a cross compiler is detected then cross compile
mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
running configure fragment for add-on linuxthreads
checking sysdep dirs... sysdeps/powerpc/powerpc32/elf
sysdeps/powerpc/elf
linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32
linuxthreads/sysdeps/unix/sysv/linux/powerpc
linuxthreads/sysdeps/unix/sysv/linux
linuxthreads/sysdeps/pthread sysdeps/pthread
linuxthreads/sysdeps/unix/sysv
linuxthreads/sysdeps/unix
linuxthreads/sysdeps/powerpc/powerpc32
linuxthreads/sysdeps/powerpc
sysdeps/unix/sysv/linux/powerpc/powerpc32
sysdeps/unix/sysv/linux/powerpc
sysdeps/unix/sysv/linux sysdeps/gnu
sysdeps/unix/common sysdeps/unix/mman
sysdeps/unix/inet sysdeps/unix/sysv
sysdeps/unix/powerpc sysdeps/unix sysdeps/posix
sysdeps/powerpc/powerpc32/fpu
sysdeps/powerpc/powerpc32 sysdeps/wordsize-32
sysdeps/powerpc/soft-fp sysdeps/powerpc/fpu
sysdeps/powerpc sysdeps/ieee754/flt-32
sysdeps/ieee754/dbl-64 sysdeps/ieee754
sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether ln -s works... yes
checking for powerpc-linux-gcc... powerpc-linux-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether powerpc-linux-gcc accepts -g... yes
checking for powerpc-linux-gcc option to accept ANSI
C... none needed
checking for gcc... gcc
checking how to run the C preprocessor...
powerpc-linux-gcc -E
checking for powerpc-linux-g++... no
checking for powerpc-linux-c++... no
checking for powerpc-linux-gpp... no
checking for powerpc-linux-aCC... no
checking for powerpc-linux-CC... no
checking for powerpc-linux-cxx... no
checking for powerpc-linux-cc++... no
checking for powerpc-linux-cl... no
checking for powerpc-linux-FCC... no
checking for powerpc-linux-KCC... no
checking for powerpc-linux-RCC... no
checking for powerpc-linux-xlC_r... no
checking for powerpc-linux-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler...
yes
checking whether g++ accepts -g... yes
checking whether
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/as is
GNU as... yes
checking whether
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/ld is
GNU ld... yes
checking for
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/as...
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/as
checking version of
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/as...
2.16, ok
checking for
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/ld...
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/ld
checking version of
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/ld...
2.16, ok
checking for pwd... /bin/pwd
checking for powerpc-linux-gcc... (cached)
powerpc-linux-gcc
checking version of powerpc-linux-gcc... 3.3.6, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.79.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.11.4, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.3, ok
checking for sed... sed
checking version of sed... 4.0.5, ok
checking for autoconf... autoconf
checking whether autoconf works... yes
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc...
-static-libgcc
checking for bash... /bin/sh
checking for gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /sbin/install-info
checking for bison... /usr/bin/bison
checking for signed size_t type... no
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S
files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive...
.globl
checking for .set assembler directive... yes
checking for assembler .type directive prefix... @
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler
directive... yes
checking whether __attribute__((visibility())) is
supported... yes
checking for broken __attribute__((visibility()))...
no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata
section... yes
checking for .preinit_array/.init_array/.fini_array
support... yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... yes
checking for -Bgroup option... yes
checking for libgcc_s suffix...
checking for --as-needed option... no
checking whether --noexecstack is desirable for .S
files... yes
checking for -z combreloc... yes
checking for -z execstack... yes
checking for -fpie... no
checking for -fno-unit-at-a-time... no
checking whether cc puts quotes around section
names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking if -g produces usable source locations for
assembler-with-cpp... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking whether clobbering cr0 causes problems... no
checking for DWARF2 unwind info support...
no_registry_needed
checking for __builtin_expect... yes
checking for __builtin_memset... no
checking for redirection of built-in functions... no
checking for local label subtraction... yes
checking for __thread... no
checking for libgd... no
checking for is_selinux_enabled in -lselinux... no
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for long double... no
checking size of long double... 0
running configure fragment for
sysdeps/powerpc/powerpc32/elf
checking for powerpc32 TLS support... yes
running configure fragment for sysdeps/pthread
running configure fragment for sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10
or later
running configure fragment for sysdeps/unix/common
running configure fragment for sysdeps/unix
running configure fragment for sysdeps/powerpc
checking for .machine support... yes
running configure fragment for sysdeps/generic
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
===========================================================================
and after 
make all install

I am getting the follwing output. These last few lines
of the "make all install". I think yesterday the ln -s
asm-ppc asm was not set properly. Now this problem I
am not able to understand. 
========================================
: /root/workingppc/build-glibc/libc_pic.a
powerpc-linux-gcc   -nostdlib -nostartfiles -r -o
/root/workingppc/build-glibc/elf/librtld.map.o
'-Wl,-('
/root/workingppc/build-glibc/elf/dl-allobjs.os
/root/workingppc/build-glibc/libc_pic.a -lgcc '-Wl,-)'
-Wl,-Map,/root/workingppc/build-glibc/elf/librtld.mapT
rm -f /root/workingppc/build-glibc/elf/librtld.map.o
mv -f /root/workingppc/build-glibc/elf/librtld.mapT
/root/workingppc/build-glibc/elf/librtld.map
LC_ALL=C \
sed -n
's@^/root/workingppc/build-glibc/\([^(]*\)(\([^)]*\.os\))
*.*$@\1 \2@p' \
    /root/workingppc/build-glibc/elf/librtld.map | \
while read lib file; do \
  case $lib in \
  libc_pic.a) \
    LC_ALL=C fgrep -l /$file \
          /root/workingppc/build-glibc/stamp.os
/root/workingppc/build-glibc/*/stamp.os | \
    LC_ALL=C \
    sed
's@^/root/workingppc/build-glibc/\([^/]*\)/stamp\.os$@rtld-\1'"
+=$file@"\
    ;; \
  */*.a) \
    echo rtld-${lib%%/*} += $file ;; \
  *) echo "Wasn't expecting $lib($file)" >&2; exit 1
;; \
  esac; \
done > /root/workingppc/build-glibc/elf/librtld.mkT
echo rtld-subdirs = `LC_ALL=C sed 's/^rtld-\([^
]*\).*$/\1/'
/root/workingppc/build-glibc/elf/librtld.mkT \
                     | LC_ALL=C sort -u` >>
/root/workingppc/build-glibc/elf/librtld.mkT
mv -f /root/workingppc/build-glibc/elf/librtld.mkT
/root/workingppc/build-glibc/elf/librtld.mk
make -f /root/workingppc/build-glibc/elf/librtld.mk -f
rtld-Rules
make[3]: Entering directory
`/root/workingppc/glibc-2.3.6/elf'
make -C ../csu objdir=/root/workingppc/build-glibc -f
Makefile -f ../elf/rtld-Rules rtld-all
rtld-modules='rtld-sysdep.os rtld-check_fds.os
rtld-errno-loc.os rtld-divdi3.os rtld-errno.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/csu'
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/csu'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/csu'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/csu'
make -C ../dirent objdir=/root/workingppc/build-glibc
-f Makefile -f ../elf/rtld-Rules
rtld-all rtld-modules='rtld-opendir.os
rtld-closedir.os rtld-readdir.os rtld-getdents.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/dirent'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/dirent'
make -C ../gmon objdir=/root/workingppc/build-glibc -f
Makefile -f ../elf/rtld-Rules rtld-all
rtld-modules='rtld-profil.os rtld-prof-freq.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/gmon'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/gmon'
make -C ../io objdir=/root/workingppc/build-glibc -f
Makefile -f ../elf/rtld-Rules rtld-all
rtld-modules='rtld-xstat64.os rtld-fxstat64.os
rtld-open.os rtld-close.os rtld-read.os rtld-write.os
rtld-lseek.os rtld-access.os rtld-fcntl.os
rtld-getcwd.os rtld-readlink.os rtld-xstatconv.os
rtld-lxstat.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/io'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/io'
make -C ../linuxthreads
objdir=/root/workingppc/build-glibc -f Makefile -f
../elf/rtld-Rules rtld-all
rtld-modules='rtld-libc-cancellation.os
rtld-forward.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/linuxthreads'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/linuxthreads'
make -C ../misc objdir=/root/workingppc/build-glibc -f
Makefile -f ../elf/rtld-Rules rtld-all
rtld-modules='rtld-getpagesize.os rtld-mmap.os
rtld-munmap.os rtld-mprotect.os rtld-llseek.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/misc'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/misc'
make -C ../posix objdir=/root/workingppc/build-glibc
-f Makefile -f ../elf/rtld-Rules rtld-all
rtld-modules='rtld-_exit.os rtld-getpid.os
rtld-getuid.os rtld-geteuid.os rtld-getgid.os
rtld-getegid.os rtld-environ.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/posix'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/posix'
make -C ../setjmp objdir=/root/workingppc/build-glibc
-f Makefile -f ../elf/rtld-Rules
rtld-all rtld-modules='rtld-bsd-_setjmp.os
rtld-__longjmp.os rtld-setjmp.os rtld-sigjmp.os
rtld-novmx-sigjmp.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/setjmp'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/setjmp'
make -C ../signal objdir=/root/workingppc/build-glibc
-f Makefile -f ../elf/rtld-Rules
rtld-all rtld-modules='rtld-sigaction.os
rtld-sigprocmask.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/signal'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/signal'
make -C ../stdlib objdir=/root/workingppc/build-glibc
-f Makefile -f ../elf/rtld-Rules
rtld-all rtld-modules='rtld-exit.os
rtld-cxa_atexit.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/stdlib'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/stdlib'
make -C ../string objdir=/root/workingppc/build-glibc
-f Makefile -f ../elf/rtld-Rules
rtld-all rtld-modules='rtld-strchr.os rtld-strcmp.os
rtld-strlen.os rtld-strnlen.os rtld-memchr.os
rtld-memcmp.os rtld-memmove.os rtld-memset.os
rtld-mempcpy.os rtld-stpcpy.os rtld-memcpy.os
rtld-wordcopy.os rtld-strcpy.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/string'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/string'
make -C ../time objdir=/root/workingppc/build-glibc -f
Makefile -f ../elf/rtld-Rules rtld-all
rtld-modules='rtld-setitimer.os'
make[4]: Entering directory
`/root/workingppc/glibc-2.3.6/time'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory
`/root/workingppc/glibc-2.3.6/time'
make[3]: Leaving directory
`/root/workingppc/glibc-2.3.6/elf'
powerpc-linux-gcc interp.c -c -std=gnu99 -O2 -Wall
-Winline -Wstrict-prototypes -Wwrite-strings -g
-mnew-mnemonics   -fpic
-D'RUNTIME_LINKER="/opt/crossgcc/powerpc-linux/lib/ld.so.1"'
-DNOT_IN_libc=1   -I../include -I.
-I/root/workingppc/build-glibc/elf -I.. -I../libio 
-I/root/workingppc/build-glibc
-I../sysdeps/powerpc/powerpc32/elf
-I../sysdeps/powerpc/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/powerpc/powerpc32
-I../linuxthreads/sysdeps/powerpc
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../sysdeps/unix/sysv/linux/powerpc
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/powerpc -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/powerpc/powerpc32/fpu
-I../sysdeps/powerpc/powerpc32
-I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp
-I../sysdeps/powerpc/fpu -I../sysdeps/powerpc
-I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem
/opt/crossgcc/powerpc-linux/lib/gcc-lib/powerpc-linux/3.3.6/include
-isystem /usr/src/linux-2.4.20-8/include/
-D_LIBC_REENTRANT -include ../include/libc-symbols.h 
-DPIC
-DSHARED      -o
/root/workingppc/build-glibc/elf/interp.os -MD -MP -MF
/root/workingppc/build-glibc/elf/interp.os.dt -MT
/root/workingppc/build-glibc/elf/interp.os
make[2]: Leaving directory
`/root/workingppc/glibc-2.3.6/elf'
cd /root/workingppc/build-glibc &&
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/ar cruv
libc.a `cat csu/stamp.o iconv/stamp.o
iconvdata/stamp.o locale/stamp.o localedata/stamp.o
assert/stamp.o ctype/stamp.o intl/stamp.o
catgets/stamp.o math/stamp.o setjmp/stamp.o
signal/stamp.o stdlib/stamp.o stdio-common/stamp.o
libio/stamp.o dlfcn/stamp.o malloc/stamp.o
string/stamp.o wcsmbs/stamp.o timezone/stamp.o
time/stamp.o dirent/stamp.o grp/stamp.o pwd/stamp.o
posix/stamp.o io/stamp.o termios/stamp.o
resource/stamp.o misc/stamp.o socket/stamp.o
sysvipc/stamp.o gmon/stamp.o gnulib/stamp.o
wctype/stamp.o manual/stamp.o shadow/stamp.o
po/stamp.o argp/stamp.o crypt/stamp.o
linuxthreads/stamp.o resolv/stamp.o nss/stamp.o
rt/stamp.o conform/stamp.o debug/stamp.o
linuxthreads_db/stamp.o inet/stamp.o hesiod/stamp.o
sunrpc/stamp.o nis/stamp.o nscd/stamp.o
streams/stamp.o login/stamp.o soft-fp/stamp.o
elf/stamp.o stamp.o`
r - csu/version.o
: /root/workingppc/build-glibc/libc.a
cd /root/workingppc/build-glibc &&
/opt/crossgcc/powerpc-linux/powerpc-linux/bin/ar cruv
libc_p.a `cat csu/stamp.op iconv/stamp.op
iconvdata/stamp.op locale/stamp.op localedata/stamp.op
assert/stamp.op ctype/stamp.op intl/stamp.op
catgets/stamp.op math/stamp.op setjmp/stamp.op
signal/stamp.op stdlib/stamp.op stdio-common/stamp.op
libio/stamp.op dlfcn/stamp.op malloc/stamp.op
string/stamp.op wcsmbs/stamp.op timezone/stamp.op
time/stamp.op dirent/stamp.op grp/stamp.op
pwd/stamp.op posix/stamp.op io/stamp.op
termios/stamp.op resource/stamp.op misc/stamp.op
socket/stamp.op sysvipc/stamp.op gmon/stamp.op
gnulib/stamp.op wctype/stamp.op manual/stamp.op
shadow/stamp.op po/stamp.op argp/stamp.op
crypt/stamp.op linuxthreads/stamp.op resolv/stamp.op
nss/stamp.op rt/stamp.op conform/stamp.op
debug/stamp.op linuxthreads_db/stamp.op inet/stamp.op
hesiod/stamp.op sunrpc/stamp.op nis/stamp.op
nscd/stamp.op streams/stamp.op login/stamp.op
soft-fp/stamp.op elf/stamp.op stamp.op`
r - csu/version.op
: /root/workingppc/build-glibc/libc_p.a
powerpc-linux-gcc   -nostdlib -nostartfiles -r -o
/root/workingppc/build-glibc/libc_pic.os \
 -Wl,-d -Wl,--whole-archive
/root/workingppc/build-glibc/libc_pic.a
powerpc-linux-gcc   -shared -Wl,-O1 \
  -nostdlib -nostartfiles \
  
-Wl,-dynamic-linker=/opt/crossgcc/powerpc-linux/lib/ld.so.1
-Wl,-z,combreloc -Wl,-z,relro \
  -Wl,--verbose 2>&1 | \
  sed > /root/workingppc/build-glibc/shlib.ldsT \
      -e '/^=========/,/^=========/!d;/^=========/d' \
      -e 's/^.*\.hash[  ]*:.*$/  .note.ABI-tag : {
*(.note.ABI-tag) } &/' \
      -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 =
.);/'
mv -f /root/workingppc/build-glibc/shlib.ldsT
/root/workingppc/build-glibc/shlib.lds
powerpc-linux-gcc   -shared -static-libgcc -Wl,-O1 
-Wl,-z,defs
-Wl,-dynamic-linker=/opt/crossgcc/powerpc-linux/lib/ld.so.1
 -B/root/workingppc/build-glibc/csu/ 
-Wl,--version-script=/root/workingppc/build-glibc/libc.map
-Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro
-nostdlib -nostartfiles -e __libc_main
-L/root/workingppc/build-glibc
-L/root/workingppc/build-glibc/math
-L/root/workingppc/build-glibc/elf
-L/root/workingppc/build-glibc/dlfcn
-L/root/workingppc/build-glibc/nss
-L/root/workingppc/build-glibc/nis
-L/root/workingppc/build-glibc/rt
-L/root/workingppc/build-glibc/resolv
-L/root/workingppc/build-glibc/crypt
-L/root/workingppc/build-glibc/linuxthreads
-Wl,-rpath-link=/root/workingppc/build-glibc:/root/workingppc/build-glibc/math:/root/workingppc/build-glibc/elf:/root/workingppc/build-glibc/dlfcn:/root/workingppc/build-glibc/nss:/root/workingppc/build-glibc/nis:/root/workingppc/build-glibc/rt:/root/workingppc/build-glibc/resolv:/root/workingppc/build-glibc/crypt:/root/workingppc/build-glibc/linuxthreads
-o /root/workingppc/build-glibc/libc.so -T
/root/workingppc/build-glibc/shlib.lds
/root/workingppc/build-glibc/csu/abi-note.o
/root/workingppc/build-glibc/elf/soinit.os
/root/workingppc/build-glibc/libc_pic.os
/root/workingppc/build-glibc/elf/sofini.os
/root/workingppc/build-glibc/elf/interp.os
/root/workingppc/build-glibc/elf/ld.so -lgcc
(echo '#!/bin/sh'; \
 echo
"GCONV_PATH='/root/workingppc/build-glibc/iconvdata'
\\"; \
 echo 'exec  /root/workingppc/build-glibc/elf/ld.so.1
--library-path
/root/workingppc/build-glibc:/root/workingppc/build-glibc/math:/root/workingppc/build-glibc/elf:/root/workingppc/build-glibc/dlfcn:/root/workingppc/build-glibc/nss:/root/workingppc/build-glibc/nis:/root/workingppc/build-glibc/rt:/root/workingppc/build-glibc/resolv:/root/workingppc/build-glibc/crypt:/root/workingppc/build-glibc/linuxthreads
${1+"$@"}'; \
) > /root/workingppc/build-glibc/testrun.shT
chmod a+x /root/workingppc/build-glibc/testrun.shT
mv -f /root/workingppc/build-glibc/testrun.shT
/root/workingppc/build-glibc/testrun.sh
make  -C csu others
make[2]: Entering directory
`/root/workingppc/glibc-2.3.6/csu'
make[2]: Nothing to be done for `others'.
make[2]: Leaving directory
`/root/workingppc/glibc-2.3.6/csu'
make  -C iconv others
make[2]: Entering directory
`/root/workingppc/glibc-2.3.6/iconv'
powerpc-linux-gcc -nostdlib -nostartfiles -o
/root/workingppc/build-glibc/iconv/iconvconfig 
-Wl,-dynamic-linker=/opt/crossgcc/powerpc-linux/lib/ld.so.1
  -Wl,-z,combreloc -Wl,-z,relro
/root/workingppc/build-glibc/csu/crt1.o
/root/workingppc/build-glibc/csu/crti.o
`powerpc-linux-gcc --print-file-name=crtbegin.o`
/root/workingppc/build-glibc/iconv/iconvconfig.o
/root/workingppc/build-glibc/iconv/strtab.o
/root/workingppc/build-glibc/iconv/xmalloc.o
/root/workingppc/build-glibc/iconv/hash-string.o 
-Wl,-rpath-link=/root/workingppc/build-glibc:/root/workingppc/build-glibc/math:/root/workingppc/build-glibc/elf:/root/workingppc/build-glibc/dlfcn:/root/workingppc/build-glibc/nss:/root/workingppc/build-glibc/nis:/root/workingppc/build-glibc/rt:/root/workingppc/build-glibc/resolv:/root/workingppc/build-glibc/crypt:/root/workingppc/build-glibc/linuxthreads
/root/workingppc/build-glibc/libc.so.6
/root/workingppc/build-glibc/libc_nonshared.a -lgcc
-lgcc_eh  `powerpc-linux-gcc
--print-file-name=crtend.o`
/root/workingppc/build-glibc/csu/crtn.o
/opt/crossgcc/powerpc-linux/lib/gcc-lib/powerpc-linux/3.3.6/../../../../powerpc-linux/bin/ld:
cannot find -lgcc_eh
collect2: ld returned 1 exit status
make[2]: ***
[/root/workingppc/build-glibc/iconv/iconvconfig] Error
1
make[2]: Leaving directory
`/root/workingppc/glibc-2.3.6/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory
`/root/workingppc/glibc-2.3.6'
make: *** [all] Error 2
=========================================
I think now it is invoking the gcc compiler rather
than system compiler.

Please help me what to do? How to proceed further.


Sanjeeva Rao R
Member Research Staff
Central Research Laboratory
Bharat Electronics Limited
GHAZIABAD-201010
DELHI

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]