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


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

glibc configure: error: Need linker with .init_array/.fini_array support


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


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