[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
compiler):
# 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 \
--target=frv-elf
# 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
messages:
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
/usr/local/frv-elf-uclibc/lib/gcc/frv-elf/3.4.2/pic/libgcc.a;
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:
http://www.jp.redhat.com/embedded/FUJITSU/download/index.php.
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
ld-uClibc-0.9.23.so
frv/resolve.o ldso.o
/usr/local/frv-elf-uclibc/lib/gcc/frv-elf/3.4.2/pic/libgcc.a
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 --
target=frv-elf
GCC host triplet: i686 RH9-Linux
GCC target triplet: frv-elf
http://sources.redhat.com/bugzilla/show_bug.cgi?id=692
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/692] New: frv-elf-ld doesn't support the '-shared' option,
zhanrk at 163 dot com <=