https://sourceware.org/bugzilla/show_bug.cgi?id=22369
--- Comment #3 from martin.koegler at chello dot at ---
mingw build logs + RPM package source:
https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-cross-binutils
--
You are receiving this mail because:
You are on the CC list
https://sourceware.org/bugzilla/show_bug.cgi?id=22369
--- Comment #2 from martin.koegler at chello dot at ---
$ cat t.s
.file "t.c"
.text
.globl _main
.def_main; .scl2; .type 32; .endef
.seh_proc _main
_main:
Assignee: unassigned at sourceware dot org
Reporter: martin.koegler at chello dot at
Target Milestone: ---
I noticed, that a mingw x86_64 ld crashes, if no-keep-memory is used and it
gets passed an 64 bit ELF linux object.
$ cat t.c
=
#include
int _main(int argc
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #21 from martin.koegler at chello dot at ---
(In reply to Nick Clifton from comment #19)
> OK - this revised patch contains an attempt to fix this function as well.
> Please could you give it a try and let me know the r
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #20 from martin.koegler at chello dot at ---
(In reply to Nick Clifton from comment #19)
> > In my option, this change is not necessary, as it just would hides broken
> > symbols in the export library.
>
>
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #18 from martin.koegler at chello dot at ---
First, 41f46ed9fea1a066de95b6a85c56393beef0b8b8 (Fix possible failure in the
AVR linker tests) introduced (propably accidentically) did a change to
pe_dll_generate_implib not documented
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #15 from martin.koegler at chello dot at ---
The remaining i686-w64-mingw32 problem:
It uses a different symbol name different to the exported symbol name:
Eg. testval is exported, but the symbol in the .o file is called _testval
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #14 from martin.koegler at chello dot at ---
You can consider my xstrdup use as a bug [safest choice].
Binutils 2.26 + patch from Comment #13 works for a larger project for
x86_64-w32-mingw.
For i686-w64-mingw32, I have an issue
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #6 from martin.koegler at chello dot at ---
The last patch is incorrect. In my testcase, it still exports the removed
variable in the DLL export table:
[Ordinal/Name Pointer] Table
[ 0] testval
So directly linking
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #13 from martin.koegler at chello dot at ---
Created attachment 9108
--> https://sourceware.org/bugzilla/attachment.cgi?id=9108=edit
Cleaned patch
I'm currently testings this on a tree with
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #8 from martin.koegler at chello dot at ---
Created attachment 9106
--> https://sourceware.org/bugzilla/attachment.cgi?id=9106=edit
Patch V1
--
You are receiving this mail because:
You are on the CC list for the
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #10 from martin.koegler at chello dot at ---
(In reply to Nick Clifton from comment #7)
> True - but it looks to me like the data structures for generating the export
> table are set up far too early - ie before garbage coll
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #12 from martin.koegler at chello dot at ---
Looks OK, but I have troubles applying it.
Additionally, there is 41f46ed9fea1a066de95b6a85c56393beef0b8b8 on master,
which looks like an earlier version.
I'll try to test it.
--
You
https://sourceware.org/bugzilla/show_bug.cgi?id=19803
--- Comment #4 from martin.koegler at chello dot at ---
Fixes all my testcases.
--
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug
Assignee: unassigned at sourceware dot org
Reporter: martin.koegler at chello dot at
Target Milestone: ---
--gc-sections is still broken for variables:
d1.cpp:
extern const long testval[2] = {1, 2};
d2.cpp:
===
#include
extern const long testval[];
int main()
{
printf
http://sourceware.org/bugzilla/show_bug.cgi?id=15041
martin.koegler at chello dot at changed:
What|Removed |Added
Status|RESOLVED|REOPENED
http://sourceware.org/bugzilla/show_bug.cgi?id=15041
Bug #: 15041
Summary: ld -r bugs for pe format (mingw)
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ld
http://sourceware.org/bugzilla/show_bug.cgi?id=15041
--- Comment #1 from martin.koegler at chello dot at 2013-01-19 19:21:08 UTC ---
Created attachment 6828
-- http://sourceware.org/bugzilla/attachment.cgi?id=6828
GCC generated assembler code for easier reproduction
--
Configure bugmail: http
http://sourceware.org/bugzilla/show_bug.cgi?id=15041
martin.koegler at chello dot at changed:
What|Removed |Added
Attachment #6828|application/octet-stream|text/plain
19 matches
Mail list logo