Re: Segmentation fault whew cross-compiling with included dll-s

2011-01-22 Thread Alan Modra
On Fri, Jan 21, 2011 at 05:56:09PM +0100, Mojca Miklavec wrote: > I have put the files and make-osx.sh/make-win.bat to a temporary location > http://ol.ijs.si/~mojca/osciloskop/linker.zip You would probably be better off asking these questions on a mingw support list. I suspect not many peopl

[Bug ld/12248] Linker plugin failed to preserve linking order

2011-01-22 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248 --- Comment #11 from H.J. Lu 2011-01-23 03:19:03 UTC --- (In reply to comment #10) > (In reply to comment #9) > > When there are "IR-object non-IR-archive IR-object" on command line, > > LTO makes it equivalent to "IR-object IR-object non-IR-a

[Bug ld/12248] Linker plugin failed to preserve linking order

2011-01-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248 --- Comment #10 from Dmitry Gorbachev 2011-01-23 01:10:35 UTC --- (In reply to comment #9) > When there are "IR-object non-IR-archive IR-object" on command line, > LTO makes it equivalent to "IR-object IR-object non-IR-archive". It seems this

[Bug ld/12248] Linker plugin failed to preserve linking order

2011-01-22 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248 --- Comment #9 from H.J. Lu 2011-01-23 00:11:13 UTC --- (In reply to comment #8) > (In reply to comment #6) > > This testcase shows that 2-stage BFD linker changes the order of linking. > > ld.hjl takes a definition of __udivdi3 (which is re

[Bug ld/12248] Linker plugin failed to preserve linking order

2011-01-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248 --- Comment #8 from Dmitry Gorbachev 2011-01-22 23:37:57 UTC --- (In reply to comment #6) This testcase shows that 2-stage BFD linker changes the order of linking. ld.hjl takes a definition of __udivdi3 (which is referred to by bar in x.o) f

[Bug ld/12430] IR and non-IR objects, partial linking, and undefined reference errors

2011-01-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12430 --- Comment #4 from Dmitry Gorbachev 2011-01-22 20:43:56 UTC --- GOLD also fails with "undefined reference to 'main'" when I use ld.bfd (or ld.hjl) for partial linking. There are no linker errors when I use GOLD for both steps. (However, `ld.g

[Bug ld/12248] Linker plugin failed to preserve linking order

2011-01-22 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248 H.J. Lu changed: What|Removed |Added Summary|Linker plugin failed to |Linker plugin failed to |r

[Bug ld/12430] IR and non-IR objects, partial linking, and undefined reference errors

2011-01-22 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12430 --- Comment #3 from H.J. Lu 2011-01-22 13:27:26 UTC --- It is fixed by commit 31ef643b40d1fe0953d2acf465d06d9175b56b79 on hjl/lto-mixed branch. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are rece

[Bug ld/12430] IR and non-IR objects, partial linking, and undefined reference errors

2011-01-22 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12430 --- Comment #2 from H.J. Lu 2011-01-22 13:09:47 UTC --- I think it is a real linker bug. I will fix it. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are