bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/168] New: ld testsuite failure on cygwin: FAIL: linking shared l


From: c dot christian dot joensson at comhem dot se
Subject: [Bug ld/168] New: ld testsuite failure on cygwin: FAIL: linking shared lib
Date: 17 May 2004 13:42:54 -0000

Windows XP Pro/SP1 cygwin P4 mobile system with these packages:

binutils             20040312-1     2.15.90 20040312
bison                20030307-1     1.875b
cygwin               1.5.9-1
dejagnu              20021217-2     1.4.2.x
expect               20030128-1     5.26
gcc                  3.3.1-3
tcltk                20030901-1     8.4

LAST_UPDATED: Mon May 17 07:14:24 UTC 2004

Native configuration is i686-pc-cygwin

Running /usr/local/src/trunk/src/ld/testsuite/ld-auto-import/auto-import.exp ...
gcc -L/usr/local/src/trunk/objdir-binutils/ld -g -O2 
-B/usr/local/src/trunk/objdir-binutils/ld/tmpdir/gas/
-I/usr/local/src/trunk/src/ld/testsuite/ld-auto-import -g -O2  -c
/usr/local/src/trunk/src/ld/testsuite/ld-auto-import/dll.c -o tmpdir/dll.o
/usr/local/src/trunk/objdir-binutils/ld/ld-new -shared
--out-implib=tmpdir/libstandard.dll.a  -o tmpdir/dll.dll tmpdir/dll.o -L/usr/lib
-lcygwin -L/usr/lib/w32api -lkernel32
child killed: segmentation violation
FAIL: linking shared lib

address@hidden /usr/local/src/trunk/objdir-binutils/ld
$ gcc -L/usr/local/src/trunk/objdir-binutils/ld -g -O2  -B/usr/local/src/trunk/o
bjdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/trunk/src/ld/testsuite/ld-auto-im
port -g -O2  -c /usr/local/src/trunk/src/ld/testsuite/ld-auto-import/dll.c -o tm
pdir/dll.o

address@hidden /usr/local/src/trunk/objdir-binutils/ld
$ gdb /usr/local/src/trunk/objdir-binutils/ld/ld-new.exe
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) set args -shared --out-implib=tmpdir/libstandard.dll.a  -o tmpdir/dll.dll 
tmpdir/dll.o -L/usr/lib -lcygwin -L/usr/lib/w32api -lkernel32
(gdb) r
Starting program: /usr/local/src/trunk/objdir-binutils/ld/ld-new.exe -shared --o
ut-implib=tmpdir/libstandard.dll.a  -o tmpdir/dll.dll tmpdir/dll.o -L/usr/lib -l
cygwin -L/usr/lib/w32api -lkernel32

Program received signal SIGSEGV, Segmentation fault.
0x0044a0f9 in bfd_bread (ptr=0x1005de68, size=0, abfd=0x100abb30)
    at /usr/local/src/trunk/src/bfd/bfdio.c:128
128       nread = abfd->iovec->bread (abfd, ptr, size);
(gdb) bt
#0  0x0044a0f9 in bfd_bread (ptr=0x1005de68, size=0, abfd=0x100abb30)
    at /usr/local/src/trunk/src/bfd/bfdio.c:128
#1  0x00466a69 in _bfd_coff_get_external_symbols (abfd=0x100abb30)
    at /usr/local/src/trunk/src/bfd/coffgen.c:1610
#2  0x00466d12 in coff_get_normalized_symtab (abfd=0x100abb30)
    at /usr/local/src/trunk/src/bfd/coffgen.c:1738
#3  0x004541eb in coff_slurp_symbol_table (abfd=0x100abb30)
    at /usr/local/src/trunk/src/bfd/coffcode.h:4527
#4  0x004651fe in coff_get_symtab_upper_bound (abfd=0x100abb30)
    at /usr/local/src/trunk/src/bfd/coffgen.c:359
#5  0x00433711 in generate_reloc (abfd=0x1004ab20, info=0x4a6030)
    at /usr/local/src/trunk/src/ld/pe-dll.c:1104
#6  0x00437325 in pe_dll_fill_sections (abfd=0x1004ab20, info=0x4a6030)
    at /usr/local/src/trunk/src/ld/pe-dll.c:2650
#7  0x0042a676 in gld_i386pe_finish () at ei386pe.c:1439
#8  0x00423748 in ldemul_finish () at /usr/local/src/trunk/src/ld/ldemul.c:90
#9  0x0041a648 in lang_process () at /usr/local/src/trunk/src/ld/ldlang.c:4332
#10 0x0041dea5 in main (argc=1, argv=0x0)
    at /usr/local/src/trunk/src/ld/ldmain.c:467
(gdb) 

Cheers,

/ChJ

-- 
           Summary: ld testsuite failure on cygwin: FAIL: linking shared lib
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: c dot christian dot joensson at comhem dot se
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://sources.redhat.com/bugzilla/show_bug.cgi?id=168

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]