Building binutils-2.15.97 --enable-targets=all

2006-01-29 Thread Muhammad Haggag
While building binutils (binutils-2.15.97.tar.bz2) on Cygwin, as follows: >configure --enable-targets=all --enable-shared --with-gnu-as --with-gnu-ld >make I got the following error: >obj-coff.o: In function `coff_frob_symbol': >/usr/src/binutils-2.15.97/gas/config/obj-coff.c:1145: undefined refer

ld error: internal error, aborting at ../../bfd/cache.c line 495 in bfd_cache_lookup_worker

2006-01-29 Thread John Pye
Hi, While compiling some code for the ASCEND project (*), I came across a bug that the output said I should report. So here I am. The message was this (towards the end of this lot): > make -C solver > make[1]: Entering directory > `/home/john/src/ascend/trunk/base/autotools/utilities' > make[1]:

[Bug binutils/785] Bug in direct linkink to DLLs with ordinals

2006-01-29 Thread t_ono at hkfreak dot net
--- Additional Comments From t_ono at hkfreak dot net 2006-01-29 02:52 --- Hmm, no comments so far. I will add a testcase. void func1() { printf("func1 called\n"); } int data1; void func2() { printf("func2 called\n"); } EXPORTS func1 func2 data1 @

Re: objcopy --add-section doubt

2006-01-29 Thread kartikeyan sadasivuni
Hello Nick, > > > Hmm, it should work with the newer version of binutils. > > Can you try using the latest binutils release (2.16) or, even better, > the current binutils sources in the CVS repository ? > > If the problem still exists, please could you post a small example of > how to reproduce th

[Bug binutils/785] Bug in direct linkink to DLLs with ordinals

2006-01-29 Thread t_ono at hkfreak dot net
--- Additional Comments From t_ono at hkfreak dot net 2006-01-29 03:00 --- The following patch remedies the problem --- ld/pe-dll.c.origSat Aug 27 17:31:02 2005 +++ ld/pe-dll.c Tue Jan 17 00:20:32 2006 @@ -2460,6 +2460,14 @@ } static unsigned int +pe_as16 (void *ptr) +{ + unsi