glibc configure: error: Need linker with .init_array/.fini_array support
ganesh gopalasubramanian
gganeshgcc@gmail.com
Fri May 8 07:13:00 GMT 2009
I am building glibc for mips based architecture.
When I try to configure glibc for the target I am getting the following error
configure: error: Need linker with .init_array/.fini_array support.
I verified the config.log for details. It has the following details...
configure:6004: /home/gganesh/binutils/bin/
mipstx39-gcc -O2 -o conftest conftest.c
-static -nostartfiles -nostdlib 1>&5
conftest.c:4: error: section attributes are not supported for this target
I have built gcc and binutils for mipstx39. I have specified those
binaries as input to the configure script.
Here are the options I have used.
../glibc-2.8/configure --prefix=/home/gganesh/binutils
--with-binutils=/home/gganesh/binutils/bin/ --disable-shared
--disable-profile --build=mipstx39 --host=i386-redhat-linux
AR=/home/gganesh/binutils/bin/mipstx39-ar
RANLIB=/home/gganesh/binutils/bin/mipstx39-ranlib
AS=/home/gganesh/binutils/bin/mipstx39-as
CC=/home/gganesh/binutils/bin/mipstx39-gcc
BUILD_CC=/home/gganesh/binutils/bin/mipstx39-gcc
More information about the Binutils
mailing list