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

See crosstool-NG 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]

ctng1.18 on Cygwin .init_array/.fini_array ld error


 Hi All, 
I am trying to build an arm-cortex-a9-linux-gnueabihf. Last week I had successfully built an arm unknown-linux-gnueabi using the same environment
My setup is Cygwin 1.7.17-1, Crosstools-ng 1.18, gcc 4.7.2 , eglibc2_17, Binutils 2.23.1 GMP 5.02, MPFR 3.1.0, PPL 0.11.2, CLoog/ppl version 0.25,22, MPC version 0.9.
In the Installing C library headers & start files section:

[CFG  ]    checking for autoconf... autoconf
[CFG  ]    checking whether autoconf works... no
[CFG  ]    configure: WARNING:
[CFG  ]    *** These auxiliary programs are missing or incompatible versions: autoconf


A version check  yields  -> 
$ autoconf --version
autoconf (GNU Autoconf) 2.69


[CFG  ]    checking for ld --version-script... no
[CFG  ]    *** WARNING: You should not compile GNU libc without versioning. Not using
[CFG  ]    *** versioning will introduce incompatibilities so that old binaries
[CFG  ]    *** will not run anymore.
[CFG  ]    *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer).

A version check yields ->which
$ ld --version script
GNU ld (GNU Binutils) 2.23.52.20130309


[CFG  ]    checking for .previous assembler directive... yes
[CFG  ]    checking for .protected and .hidden assembler directive... yes
[CFG  ]    checking whether __attribute__((visibility())) is supported... yes
[CFG  ]    checking for broken __attribute__((visibility()))... no
[CFG  ]    checking for broken __attribute__((alias()))... no
[CFG  ]    checking whether to put _rtld_local into .sdata section... no
[CFG  ]    checking for .preinit_array/.init_array/.fini_array support... no
[ERROR]    configure: error: Need linker with .init_array/.fini_array support.


I have included config.
I read something about  hashing issue, so I have tried both the gnu and default hash link

Thanks  

Tammy Carter
Principal  Systems Application Engineer 
Email:  tcarter@mrcy.com

Attachment: arm-cortex-a9-linux-gnueabihf.config.txt
Description: arm-cortex-a9-linux-gnueabihf.config.txt

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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