[Bug ld/25374] linking to msvc import library results in invalid IDT entry

2021-05-07 Thread draymond at foxvalley dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=25374 --- Comment #3 from Dan Raymond --- Created attachment 13425 --> https://sourceware.org/bugzilla/attachment.cgi?id=13425&action=edit script to convert import library from MSVC-style to MinGW-style Until this bug is fixed one way to work aro

[Bug ld/25541] linking twice to the same msvc import library produces an invalid IAT

2020-02-12 Thread draymond at foxvalley dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=25541 Dan Raymond changed: What|Removed |Added CC||martin at martin dot st -- You are rec

[Bug ld/25541] New: linking twice to the same msvc import library produces an invalid IAT

2020-02-12 Thread draymond at foxvalley dot net
: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: draymond at foxvalley dot net Target Milestone: --- It is sometimes necessary to link to the same library twice. For example: gcc prog.o -lfoo -lbar -lfoo -o prog.exe In

[Bug ld/25540] using the same filename for MAP and DLL fails silently with file corruption

2020-02-12 Thread draymond at foxvalley dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=25540 Dan Raymond changed: What|Removed |Added CC||martin at martin dot st -- You are rec

[Bug ld/25540] New: using the same filename for MAP and DLL fails silently with file corruption

2020-02-12 Thread draymond at foxvalley dot net
Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: draymond at foxvalley dot net Target Milestone: --- I discovered this due to an error in my Makefile. I was using "-Wl,-Map=$(@:.dll=.map) -o $@" on the co

[Bug ld/25374] New: linking to msvc import library results in invalid IDT entry

2020-01-12 Thread draymond at foxvalley dot net
: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: draymond at foxvalley dot net Target Milestone: --- I have a DLL that I built and linked with i686-w64-mingw32-gcc. It imports functions from two other images (an MSVC-built