From tromey@cygnus.com Wed Sep 24 11:55:00 1997 From: tromey@cygnus.com (Tom Tromey) Date: Wed, 24 Sep 1997 11:55:00 -0000 Subject: libtool autoconf weirdness (Re: Different versions of libbfd.a) References: <199709241640.JAA08785@smtp2.teleport.com> <199709241643.MAA05534.cygnus.bfd@subrogation.cygnus.com> Message-ID: Ian> I want the default to be no. If I don't set enable-shared, then Ian> the default (from the libtool macros in aclocal.m4) will be to Ian> build shared libraries. We could either modify the macro from libtool, or have the top-level configure pass --enable-shared=no unless it is explicitly enabled. I tend to prefer the latter. Tom -- tromey@cygnus.com Member, League for Programming Freedom From rth@cygnus.com Mon Oct 20 16:51:00 1997 From: rth@cygnus.com (Richard Henderson) Date: Mon, 20 Oct 1997 16:51:00 -0000 Subject: Further 97r2 cygwin32 problems References: <199710202057.NAA23750@cirdan.cygnus.com> <199710202144.RAA02007.cygnus.bfd@subrogation.cygnus.com> Message-ID: <62gqdn$c8t$1@dot.cygnus.com> In article <199710202144.RAA02007.cygnus.bfd@subrogation.cygnus.com>, Ian Lance Taylor wrote: >Good catch. Since this data is presumably read only, it might be >better to put it in .rdata, instead, as below. The current state of .eh_frame is that is does contain -- at least for elf shared libraries -- runtime relocations. I don't know for sure if this affects dll's but it seems like it would. r~ From tromey@cygnus.com Thu Oct 30 13:48:00 1997 From: tromey@cygnus.com (Tom Tromey) Date: Thu, 30 Oct 1997 13:48:00 -0000 Subject: objdump segv Message-ID: Is this the right place to send this? I don't see a binutils group. My i386-cygwin32-objdump (hosted on Linux) segvs when run on mapi32.dll: creche. i386-cygwin32-objdump -p mapi32.dll mapi32.dll: file format pei-i386 [ lots of output ] Segmentation fault (core dumped) Here's a stack trace: (gdb) bt #0 bfd_getl16 (addr=0x880041a8
) at ../../x-cyg-devo/bfd/libbfd.c:851 #1 0x807ba5d in pe_print_idata (abfd=0x80970c8, vfile=0x8096a00) at ../../x-cyg-devo/bfd/peicode.h:1372 #2 0x807c67e in pe_print_private_bfd_data (abfd=0x80970c8, vfile=0x8096a00) at ../../x-cyg-devo/bfd/peicode.h:1871 #3 0x804ba97 in dump_bfd_private_header (abfd=0x80970c8) at ../../x-cyg-devo/binutils/objdump.c:1913 #4 0x804bb61 in display_bfd (abfd=0x80970c8) at ../../x-cyg-devo/binutils/objdump.c:1954 #5 0x804bdd6 in display_file (filename=0xbffff9a7 "mapi32.dll", target=0x0) at ../../x-cyg-devo/binutils/objdump.c:2048 #6 0x804d223 in main (argc=3, argv=0xbffff8a0) at ../../x-cyg-devo/binutils/objdump.c:2734 #7 0x80492bb in ___crt_dummy__ () I'll happily send along any info you might want. Tom -- tromey@cygnus.com Member, League for Programming Freedom