[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/692] New: frv-elf-ld doesn't support the '-shared' option

From: zhanrk at 163 dot com
Subject: [Bug ld/692] New: frv-elf-ld doesn't support the '-shared' option
Date: 25 Jan 2005 07:13:47 -0000

I follow these steps to build a cross-toolchain for the frv-elf target( a pure C

# cd /root/build-frv-toolch
# tar zxvf binutils-2.15.tar.gz
# mkdir build-binutils
# cd build-binutils
# ../binutils-2.15/configure --prefix=/usr/local/frv-elf-toolch \
# make all install
# cd /root/build-frv-toolch
# tar zxvf gcc-core-3.4.2.tar.gz
# mkdir build-gcc
# cd build-gcc
# ../gcc-3.4.2/configure --prefix=/usr/local/frv-elf-toolch \
           --target=frv-elf --without-headers --with-newlib \
           --disable-threads --enable-languages=c

Then, i use this toolchain to compile uClibc, and I get the following error

make -C ldso;
make[2]: Entering directory `/usr/src/build-frv-toolch/uClibc/ldso/ldso'
frv-elf-ld  -shared -Bsymbolic --warn-common --export-dynamic --sort-common -z
combreloc --discard-locals --discard-all -s -e _dl_boot -soname=ld.so.1 \
-o ld-uClibc-0.9.23.so frv/resolve.o ldso.o
frv-elf-ld: -shared not supported
make[2]: *** [lib] Error 1
make[2]: Leaving directory `/usr/src/build-frv-toolch/uClibc/ldso/ldso'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/build-frv-toolch/uClibc/ldso'
make: *** [_dir_ldso] Error 2

By the way, I have the redhat released frv toolchain package in hand, which is
downloaded from the URL:

so, when i use the following command:

frv-uclinux-ld  -shared -Bsymbolic --warn-common --export-dynamic --sort-common
-z combreloc --discard-locals --discard-all -s -e _dl_boot -soname=ld.so.1 -o
frv/resolve.o ldso.o 

I am successful! Please help me.

           Summary: frv-elf-ld doesn't support the '-shared' option
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: zhanrk at 163 dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: configure --prefix=/usr/local/frv-elf-uclibc --
  GCC host triplet: i686 RH9-Linux
GCC target triplet: frv-elf


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]