[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message

2016-11-24 Thread d.g.gorbachev at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=12562 Dmitry Gorbachev changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ld/13557] Undef. ref. err. when linking with slim LTO obj. in static lib. (mingw32 target)

2014-08-04 Thread d.g.gorbachev at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13557 --- Comment #16 from Dmitry Gorbachev --- Unfortunately, I can't test the patch on a native mingw system. I tried to cross-build (i686-pc-linux-gnu/i686-w64-mingw32) a large project and everything worked well. Thanks! -- You are receiving th

[Bug ld/15143] Linker crash with LTO + thin archive (mingw32 target)

2014-08-04 Thread d.g.gorbachev at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15143 Dmitry Gorbachev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/13557] Undef. ref. err. when linking with slim LTO obj. in static lib. (mingw32 target)

2014-08-04 Thread d.g.gorbachev at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13557 --- Comment #15 from Dmitry Gorbachev --- *** Bug 15143 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils

[Bug binutils/17227] New: The use of `mktemp' is dangerous, better use `mkstemp' (mingw32)

2014-08-03 Thread d.g.gorbachev at gmail dot com
ity: minor Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: d.g.gorbachev at gmail dot com When building dlltool, dllwrap, windres: choose-temp.o (symbol from plugin): warning: the use of `mktemp' is dangerous, bett

[Bug binutils/16567] Compilation warnings in DllTool

2014-03-11 Thread d.g.gorbachev at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16567 Dmitry Gorbachev changed: What|Removed |Added Target||*-*-mingw32 CC|

[Bug admin/16692] New: Source snapshots are out-of-sync with the Git repository

2014-03-11 Thread d.g.gorbachev at gmail dot com
Priority: P2 Component: admin Assignee: unassigned at sourceware dot org Reporter: d.g.gorbachev at gmail dot com I downloaded the binutils sources <ftp://sourceware.org/pub/binutils/snapshots/binutils.tar.bz2>, as described in the "Obtaining binutils"

[Bug admin/16692] Source snapshots are out-of-sync with the Git repository

2014-03-11 Thread d.g.gorbachev at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16692 Dmitry Gorbachev changed: What|Removed |Added CC||tromey at redhat dot com,

[Bug gold/16691] New: Unexpected UNDEFs in resolution files

2014-03-11 Thread d.g.gorbachev at gmail dot com
Assignee: ian at airs dot com Reporter: d.g.gorbachev at gmail dot com CC: ccoutant at google dot com Host: i686-pc-linux-gnu Created attachment 7464 --> https://sourceware.org/bugzilla/attachment.cgi?id=7464&action=edit Testcase Go

[Bug binutils/16567] New: Compilation warnings in DllTool

2014-02-12 Thread d.g.gorbachev at gmail dot com
: binutils Assignee: unassigned at sourceware dot org Reporter: d.g.gorbachev at gmail dot com There are GCC warnings when building Binutils with some compiler options. deflex.c:1429:17: warning: 'yyunput' defined but not used [-Wunused-function] deflex.c:1470:16: warni

[Bug ld/15143] New: Linker crash with LTO + thin archive (mingw32 target)

2013-02-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15143 Bug #: 15143 Summary: Linker crash with LTO + thin archive (mingw32 target) Product: binutils Version: 2.24 (HEAD) Status: NEW Severity: normal Priority: P2 C

[Bug ld/15141] New: Linker (ld.bfd) option "--trace-symbol" does not work with LTO

2013-02-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15141 Bug #: 15141 Summary: Linker (ld.bfd) option "--trace-symbol" does not work with LTO Product: binutils Version: 2.24 (HEAD) Status: NEW Severity: normal

[Bug binutils/15140] AR produces invalid thin archive which cause binutils to crash

2013-02-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15140 --- Comment #4 from Dmitry Gorbachev 2013-02-13 12:15:53 UTC --- Additional comment about the 2nd testcase: $ strip libbarfoo.a causes the archive to be empty. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --

[Bug binutils/15140] AR produces invalid thin archive which cause binutils to crash

2013-02-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15140 --- Comment #3 from Dmitry Gorbachev 2013-02-13 12:12:21 UTC --- Created attachment 6868 --> http://sourceware.org/bugzilla/attachment.cgi?id=6868 Backtrace from readelf -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?ta

[Bug binutils/15140] AR produces invalid thin archive which cause binutils to crash

2013-02-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15140 --- Comment #2 from Dmitry Gorbachev 2013-02-13 12:11:03 UTC --- Created attachment 6867 --> http://sourceware.org/bugzilla/attachment.cgi?id=6867 Another testcase A slightly modified testcase causes SIGSEGV in readelf. -- Configure bugma

[Bug binutils/15140] AR produces invalid thin archive which cause binutils to crash

2013-02-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15140 --- Comment #1 from Dmitry Gorbachev 2013-02-13 12:09:06 UTC --- Created attachment 6866 --> http://sourceware.org/bugzilla/attachment.cgi?id=6866 Backtrace -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email -

[Bug binutils/15140] New: AR produces invalid thin archive which cause binutils to crash

2013-02-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15140 Bug #: 15140 Summary: AR produces invalid thin archive which cause binutils to crash Product: binutils Version: 2.24 (HEAD) Status: NEW Severity: normal

[Bug gold/12431] `gold -r' strips LTO sections

2013-02-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12431 Dmitry Gorbachev changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Bug gas/14891] Section name and symbol name clash

2012-11-28 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14891 --- Comment #1 from Dmitry Gorbachev 2012-11-29 05:49:39 UTC --- Created attachment 6763 --> http://sourceware.org/bugzilla/attachment.cgi?id=6763 Testcases (PE-COFF) No error/disappearance for PE-COFF targeted AS: $ as 2.s -o 2.o $ nm -a

[Bug gas/14891] Section name and symbol name clash

2012-11-28 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14891 Dmitry Gorbachev changed: What|Removed |Added Attachment #6762|application/octet-stream|text/plain mime type|

[Bug gas/14891] New: Section name and symbol name clash

2012-11-28 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14891 Bug #: 14891 Summary: Section name and symbol name clash Product: binutils Version: 2.24 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas

[Bug ld/14885] Options --warn-unresolved-symbols/--unresolved-symbols=ignore-all do not affect hidden/internal/protected symbols

2012-11-27 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14885 --- Comment #1 from Dmitry Gorbachev 2012-11-28 00:26:00 UTC --- Gold also gives an error with --unresolved-symbols=ignore-all: $ gcc -Wl,--unresolved-symbols=ignore-all 1.c /usr/local/bin/ld: error: hidden symbol 'foo' is not defined locally

[Bug ld/14885] New: Options --warn-unresolved-symbols/--unresolved-symbols=ignore-all do not affect hidden/internal/protected symbols

2012-11-27 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14885 Bug #: 14885 Summary: Options --warn-unresolved-symbols/--unresolved-symbols=ignore- all do not affect hidden/internal/protected symbols Product: binutils Vers

[Bug ld/13557] Undef. ref. err. when linking with slim LTO obj. in static lib. (mingw32 target)

2012-11-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13557 --- Comment #2 from Dmitry Gorbachev 2012-11-13 18:42:31 UTC --- Created attachment 6731 --> http://sourceware.org/bugzilla/attachment.cgi?id=6731 Another testcase /tmp/cc8ikw6t.ltrans0.ltrans.o:cc8ikw6t.ltrans0.o:(.text+0xc): undefined ref

[Bug gold/14271] exception handling broken in combination with gcc static libs

2012-10-19 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14271 --- Comment #3 from Dmitry Gorbachev 2012-10-19 17:52:56 UTC --- Created attachment 6692 --> http://sourceware.org/bugzilla/attachment.cgi?id=6692 A script to reproduce the bug Another problem, I can't get correct backtraces in GDB: ==

[Bug ld/14688] New: Linker error: "bad reloc address" (PE-COFF target)

2012-10-09 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14688 Bug #: 14688 Summary: Linker error: "bad reloc address" (PE-COFF target) Product: binutils Version: 2.24 (HEAD) Status: NEW Severity: normal Priority: P2

[Bug ld/13494] LTO removes needed functions (mingw32 target)

2012-02-27 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13494 --- Comment #4 from Dmitry Gorbachev 2012-02-27 20:17:54 UTC --- Created attachment 6253 --> http://sourceware.org/bugzilla/attachment.cgi?id=6253 Testcase #3 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ---

[Bug binutils/13493] Ranlib does not support plugins

2012-02-02 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13493 --- Comment #3 from Dmitry Gorbachev 2012-02-02 14:48:57 UTC --- Thanks. Binutils' and GCC's makefiles run a separate ranlib process for some reason. It was more difficult to build them with slim LTO without --plugin support in ranlib. -- C

[Bug ld/13557] Undef. ref. err. when linking with slim LTO obj. in static lib. (mingw32 target)

2012-01-12 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13557 Dmitry Gorbachev changed: What|Removed |Added Summary|Slim LTO does not work for |Undef. ref. err. when

[Bug ld/13557] New: Slim LTO does not work for mingw32 target

2012-01-03 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13557 Bug #: 13557 Summary: Slim LTO does not work for mingw32 target Product: binutils Version: 2.23 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld

[Bug ld/13494] LTO removes needed functions (mingw32 target)

2011-12-27 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13494 --- Comment #3 from Dmitry Gorbachev 2011-12-27 22:07:44 UTC --- Created attachment 6134 --> http://sourceware.org/bugzilla/attachment.cgi?id=6134 Testcase #2 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ---

[Bug ld/13494] LTO removes needed functions (mingw32 target)

2011-12-27 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13494 Dmitry Gorbachev changed: What|Removed |Added Summary|LTO removes needed |LTO removes needed

[Bug binutils/6914] global symbol alignment is not covered at all

2011-12-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6914 Dmitry Gorbachev changed: What|Removed |Added Status|SUSPENDED |RESOLVED Resolution|

[Bug ld/13494] LTO removes needed functions with `--export-all-symbols' (mingw32 target)

2011-12-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13494 Dmitry Gorbachev changed: What|Removed |Added Target||mingw32 --- Comment #1 from Dmitry

[Bug ld/13495] "Fuzzy linking" with a static/import library fails

2011-12-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13495 Dmitry Gorbachev changed: What|Removed |Added Target|i686-pc-mingw32 |mingw32 -- Configure bugmail: http

[Bug ld/13497] LTO keeps unneeded functions (mingw32 target)

2011-12-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13497 Dmitry Gorbachev changed: What|Removed |Added Target||mingw32 --- Comment #2 from Dmitry

[Bug ld/13497] LTO keeps unneeded functions (mingw32 target)

2011-12-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13497 --- Comment #1 from Dmitry Gorbachev 2011-12-14 15:32:22 UTC --- Created attachment 6109 --> http://sourceware.org/bugzilla/attachment.cgi?id=6109 Two resolution files -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=

[Bug ld/13497] New: LTO keeps unneeded functions (mingw32 target)

2011-12-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13497 Bug #: 13497 Summary: LTO keeps unneeded functions (mingw32 target) Product: binutils Version: 2.23 (HEAD) Status: NEW Severity: normal Priority: P2 Component

[Bug ld/13495] New: "Fuzzy linking" with a static/import library fails

2011-12-12 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13495 Bug #: 13495 Summary: "Fuzzy linking" with a static/import library fails Product: binutils Version: 2.23 (HEAD) Status: NEW Severity: normal Priority: P2 Comp

[Bug ld/13494] New: LTO removes needed functions with `--export-all-symbols' (mingw32 target)

2011-12-12 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13494 Bug #: 13494 Summary: LTO removes needed functions with `--export-all-symbols' (mingw32 target) Product: binutils Version: 2.23 (HEAD) Status: NEW Severity:

[Bug binutils/13493] New: Ranlib does not support plugins

2011-12-12 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13493 Bug #: 13493 Summary: Ranlib does not support plugins Product: binutils Version: 2.23 (HEAD) Status: NEW Severity: enhancement Priority: P2 Component: binutil

[Bug binutils/13348] New: Array subscript is above array bounds in libopcodes

2011-10-26 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13348 Bug #: 13348 Summary: Array subscript is above array bounds in libopcodes Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Com

[Bug binutils/13257] New: NM + plugin does not list correctly symbols in thin archives

2011-10-04 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13257 Bug #: 13257 Summary: NM + plugin does not list correctly symbols in thin archives Product: binutils Version: 2.23 (HEAD) Status: NEW Severity: normal

[Bug binutils/13256] New: AR + plugin fails with "no operation specified" error

2011-10-04 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13256 Bug #: 13256 Summary: AR + plugin fails with "no operation specified" error Product: binutils Version: 2.23 (HEAD) Status: NEW Severity: normal Priority: P2 C

[Bug binutils/12337] Demangle modified function names

2011-09-27 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12337 Dmitry Gorbachev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug binutils/12337] Demangle modified function names

2011-09-24 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12337 --- Comment #3 from Dmitry Gorbachev 2011-09-24 10:36:33 UTC --- Cary Coutant fixed it in GCC. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the C

[Bug ld/12975] --gc-sections doesn't remove symbols hidden with version scripts

2011-09-15 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12975 --- Comment #6 from Dmitry Gorbachev 2011-09-16 02:33:10 UTC --- I can't reproduce the original issue with recent GOLD (ver. 1.11/2.21.53.20110913) on i686-pc-linux-gnu. It still fails with BFD LD on i686-pc-mingw32 (with --gc-sections, but n

[Bug ld/12975] --gc-sections doesn't remove symbols hidden with version scripts

2011-09-15 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12975 Dmitry Gorbachev changed: What|Removed |Added CC||d.g.gorbachev at gmail dot

[Bug ld/13183] BFD linker does not work correctly with thin archives and LTO

2011-09-15 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13183 Dmitry Gorbachev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug ld/12975] --gc-sections doesn't remove symbols hidden with version scripts

2011-09-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12975 --- Comment #2 from Dmitry Gorbachev 2011-09-14 22:22:16 UTC --- (In reply to comment #1) It would be even better if BFD LD could remove `bar' without --gc-sections but with lto. GOLD does it. -- Configure bugmail: http://sourceware.org/bug

[Bug ld/13183] BFD linker does not work correctly with thin archives and LTO

2011-09-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13183 --- Comment #2 from Dmitry Gorbachev 2011-09-14 20:35:59 UTC --- Patch: . -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this ma

[Bug ld/13183] BFD linker does not work correctly with thin archives and LTO

2011-09-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13183 --- Comment #1 from Dmitry Gorbachev 2011-09-13 07:28:57 UTC --- Created attachment 5931 --> http://sourceware.org/bugzilla/attachment.cgi?id=5931 Proposed patch -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email

[Bug ld/13183] New: BFD linker does not work correctly with thin archives and LTO

2011-09-12 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13183 Bug #: 13183 Summary: BFD linker does not work correctly with thin archives and LTO Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal

[Bug ld/13059] New: MinGW linker can't send output to /dev/null

2011-08-05 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13059 Summary: MinGW linker can't send output to /dev/null Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: una

[Bug gold/12431] `gold -r' strips LTO sections

2011-07-15 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12431 --- Comment #4 from Dmitry Gorbachev 2011-07-15 12:34:43 UTC --- Created attachment 5851 --> http://sourceware.org/bugzilla/attachment.cgi?id=5851 Object file with .gnu.lto_.* sections -- Configure bugmail: http://sourceware.org/bugzilla/u

[Bug gold/12370] Symbols present in LTO symbol table resolved as PREVAILING_DEF_IRONLY and optimized out appears in final symbol table.

2011-07-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12370 --- Comment #5 from Dmitry Gorbachev 2011-07-14 23:07:37 UTC --- > Are you using gold from binutils-2.21 or top of trunk? Recent trunk; i686-pc-linux-gnu. > Gold does still leave two of those symbols in the a.out: When linking with libstdc+

[Bug gold/12431] `gold -r' strips LTO sections

2011-07-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12431 Dmitry Gorbachev changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFO

[Bug gold/12370] Symbols present in LTO symbol table resolved as PREVAILING_DEF_IRONLY and optimized out appears in final symbol table.

2011-07-14 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12370 --- Comment #3 from Dmitry Gorbachev 2011-07-14 19:11:47 UTC --- Created attachment 5850 --> http://sourceware.org/bugzilla/attachment.cgi?id=5850 List of symbols > Can you identify exactly which symbols are appearing > in the final output,

[Bug gold/12559] GOLD cannot find entry symbol in a static library

2011-05-25 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12559 Dmitry Gorbachev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug binutils/12558] AR "move in an archive" operation fails

2011-05-25 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12558 Dmitry Gorbachev changed: What|Removed |Added CC||nickc at redhat dot com -- Configu

[Bug ld/12277] Linker error: "final link failed: Nonrepresentable section on output"

2011-03-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12277 --- Comment #9 from Dmitry Gorbachev 2011-03-13 17:43:21 UTC --- (In reply to comment #7) Recent ld.dk seems to work. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because:

[Bug ld/12578] Alignment of a common symbol overridden by a definition

2011-03-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12578 --- Comment #1 from Dmitry Gorbachev 2011-03-13 17:38:56 UTC --- Created attachment 5303 --> http://sourceware.org/bugzilla/attachment.cgi?id=5303 Testcase Compile it with GCC 4.5 or later and `-O3 -march=pentium3' options. -- Configure b

[Bug ld/12578] New: Alignment of a common symbol overridden by a definition

2011-03-13 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12578 Summary: Alignment of a common symbol overridden by a definition Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Compo

[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message

2011-03-12 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12562 --- Comment #10 from Dmitry Gorbachev 2011-03-12 17:38:40 UTC --- Both ld.gold and ld.hjl print warnings "cannot find entry symbol 'foo'". Still better then obscure "libfoobar.a: could not read symbols: Bad value" error. -- Configure bugmail

[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message

2011-03-12 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12562 --- Comment #8 from Dmitry Gorbachev 2011-03-12 16:00:17 UTC --- Created attachment 5302 --> http://sourceware.org/bugzilla/attachment.cgi?id=5302 Testcase #2 (Is it ok to post here, or should I file another bug report for it?) -- Configu

[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message

2011-03-11 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12562 --- Comment #3 from Dmitry Gorbachev 2011-03-11 12:23:30 UTC --- > Also, are you testing CVS HEAD from before or after > the five patches I committed a couple of hours ago? After, with and without 005ld-link-stage2.diff. -- Configure bugmai

[Bug ld/12562] New: Ld.dk fails with "could not read symbols: Bad value" message

2011-03-10 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12562 Summary: Ld.dk fails with "could not read symbols: Bad value" message Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2

[Bug gold/12559] New: GOLD cannot find entry symbol in a static library

2011-03-09 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12559 Summary: GOLD cannot find entry symbol in a static library Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assigne

[Bug binutils/12558] New: AR "move in an archive" operation fails

2011-03-09 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12558 Summary: AR "move in an archive" operation fails Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: u

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message

2011-02-24 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 Dmitry Gorbachev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message

2011-02-24 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #12 from Dmitry Gorbachev 2011-02-24 21:03:13 UTC --- > I think it is the correct behavior since the LTO version of > the function isn't used anyway. Do you mean it's a linker "feature" rather then a bug? That is, if GCC generates

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message

2011-02-24 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #10 from Dmitry Gorbachev 2011-02-24 16:27:53 UTC --- Yes, ld.gold and ld.dk silently use non-LTO part of div.o; it's a bug. However, I don't think that an undefined reference error is not a bug. 1. The testcase compiles well with

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message

2011-02-23 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #7 from Dmitry Gorbachev 2011-02-24 07:23:14 UTC --- Created attachment 5260 --> http://sourceware.org/bugzilla/attachment.cgi?id=5260 Testcase #2 Fails with ld.hjl and ld.bfd (undefined reference to `__udivdi3'). Works with ld.

[Bug ld/12507] Can't build a program with -flto -nostdlib

2011-02-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12507 --- Comment #1 from Dmitry Gorbachev 2011-02-23 07:02:20 UTC --- The same problem with symbol given in --entry=... option. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail becau

[Bug ld/12507] New: Can't build a program with -flto -nostdlib

2011-02-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12507 Summary: Can't build a program with -flto -nostdlib Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unas

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message

2011-02-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #4 from Dmitry Gorbachev 2011-02-23 06:43:06 UTC --- I can reproduce it with recent lto-mixed LD (and GCC 4.5/4.6; for 4.5, add -fuse-linker-plugin to CFLAGS). I see elf_link_add_archive_symbols() is called twice for libdiv.a: #0

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" message

2011-02-22 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 --- Comment #2 from Dmitry Gorbachev 2011-02-22 18:06:57 UTC --- It happens with BFD linker from lto-mixed branch. I CC'ed you, but forgot to mention it in PR — sorry! -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=em

[Bug ld/12496] New: Linker fails with "could not read symbols: Bad value" message

2011-02-16 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496 Summary: Linker fails with "could not read symbols: Bad value" message Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2

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

2011-02-01 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248 --- Comment #18 from Dmitry Gorbachev 2011-02-01 21:53:45 UTC --- If ld.hjl behavior is correct, then it should be documented, and other linkers (ld.bfd/ld.dk, ld.gold) should be changed to conform to it; or there can be bugs in programs due t

[Bug ld/12457] New: Fun with ld.dk

2011-02-01 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12457 Summary: Fun with ld.dk Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sources.redhat.com

[Bug ld/12455] New: Undefined reference error with ld.dk

2011-02-01 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12455 Summary: Undefined reference error with ld.dk Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...

[Bug ld/12277] Linker error: "final link failed: Nonrepresentable section on output"

2011-02-01 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12277 Dmitry Gorbachev changed: What|Removed |Added CC||dave.korn.cygwin at gmail

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

2011-02-01 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12430 Dmitry Gorbachev changed: What|Removed |Added CC||dave.korn.cygwin at gmail

[Bug ld/12439] Undefined reference error with ld.hjl

2011-02-01 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12439 --- Comment #3 from Dmitry Gorbachev 2011-02-01 12:39:34 UTC --- ld.hjl --cref gives "symbol `...' missing from main hash table" errors and prints garbage to stdout. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=emai

[Bug ld/12439] Undefined reference error with ld.hjl

2011-02-01 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12439 Dmitry Gorbachev changed: What|Removed |Added CC||dave.korn.cygwin at gmail

[Bug ld/12439] New: Undefined reference error with ld.hjl

2011-01-25 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12439 Summary: Undefined reference error with ld.hjl Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig..

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

2011-01-23 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248 Dmitry Gorbachev changed: What|Removed |Added CC||d.g.gorbachev at gmail dot

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

2011-01-23 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248 --- Comment #14 from Dmitry Gorbachev 2011-01-23 23:14:20 UTC --- Now `gcc -B./ -o foo -O2 -fwhole-program -flto=jobserver -fuse-linker-plugin x.o libdiv.a y.o' uses __udivdi3 from libgcc. Plain non-LTO link takes it from libdiv.a. Inconsisten

[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 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 gold/12431] New: `gold -r' strips LTO sections

2011-01-21 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12431 Summary: `gold -r' strips LTO sections Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: i...@airs.com

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

2011-01-21 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12430 Summary: IR and non-IR objects, partial linking, and undefined reference errors Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2

[Bug ld/12291] "ld -r" doesn't work with mixed IR/non-IR objects

2011-01-21 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12291 --- Comment #5 from Dmitry Gorbachev 2011-01-22 00:43:24 UTC --- > Does prog.o contain both IR and non-IR sections? No. I think a new bug report should be opened for gold. When I use ld.bfd (or ld.hjl) for partial link step and ld.ian for fi

[Bug gold/12370] Symbols present in LTO symbol table resolved as PREVAILING_DEF_IRONLY and optimized out appears in final symbol table.

2011-01-21 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12370 --- Comment #1 from Dmitry Gorbachev 2011-01-21 21:58:26 UTC --- Patch does not fix this bug. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You

[Bug ld/12291] "ld -r" doesn't work with mixed IR/non-IR objects

2011-01-21 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12291 Dmitry Gorbachev changed: What|Removed |Added CC||ian at airs dot com --- Comment #3

[Bug ld/12380] New: Assertion in linker script failed twice

2011-01-09 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12380 Summary: Assertion in linker script failed twice Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: minor Priority: P2 Component: ld AssignedTo: unassig.

[Bug binutils/12337] Demangle modified function names

2011-01-04 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12337 --- Comment #2 from Dmitry Gorbachev 2011-01-05 01:07:07 UTC --- It's already reported: . -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: -

[Bug ld/12364] Segmentation fault in get_symbols

2011-01-04 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12364 Dmitry Gorbachev changed: What|Removed |Added Attachment #5179|text/x-csrc |text/plain mime type|

[Bug ld/12364] Segmentation fault in get_symbols

2011-01-04 Thread d.g.gorbachev at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12364 --- Comment #1 from Dmitry Gorbachev 2011-01-05 00:35:38 UTC --- Created attachment 5180 --> http://sourceware.org/bugzilla/attachment.cgi?id=5180 backtrace -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email -

  1   2   >