[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/3463] New: ld crashes on missing exports
From: |
giva at bgnett dot no |
Subject: |
[Bug binutils/3463] New: ld crashes on missing exports |
Date: |
6 Nov 2006 20:15:50 -0000 |
A mininal example to illustrate this ld bug.
Below makefile causes it to crash(reading from 0000002c).
>ld --version
GNU ld version 2.17.50 20060824
Copyright 2005 Free Software Foundation, Inc.
------------8<---8<----------------
CC = gcc
all: foo.dll
foo.def: Makefile
@echo 'LIBRARY foo.dll' > $@
@echo 'EXPORTS' >> $@
@echo ' foo @1' >> $@
@echo ' missing @2' >> $@
foo.c: Makefile
@echo 'int foo (void) { return 1; }' > $@
foo.dll foo.dll.a: foo.def foo.o
gcc -shared -o foo.dll -Wl,--out-implib,foo.dll.a $^
------------8<---8<----------------
--gv
address@hidden
--
Summary: ld crashes on missing exports
Product: binutils
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: giva at bgnett dot no
CC: bug-binutils at gnu dot org
GCC host triplet: mingw-win32
http://sourceware.org/bugzilla/show_bug.cgi?id=3463
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/3463] New: ld crashes on missing exports,
giva at bgnett dot no <=