[Bug ld/14339] MinGW ld omits stubs when linking delay import library and using __declspec(dllimport)

2012-10-22 Thread xunxun1982 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14339

xunxun xunxun1982 at gmail dot com changed:

   What|Removed |Added

 CC||xunxun1982 at gmail dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-22 Thread polacek at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747

--- Comment #2 from Marek Polacek polacek at redhat dot com 2012-10-22 
08:57:57 UTC ---
The version is:
gcc (GCC) 4.7.1 20120813 (Red Hat 4.7.1-7)

That patch doesn't apply.  I've tried also
2012-06-28  H.J. Lu  hongjiu...@intel.com

   PR ld/14272
   * elflink.c (_bfd_elf_fix_symbol_flags): Mark the plugin symbol
   undefined if it is referenced from a non-IR file.
, but this one is already in the trunk.

BTW, it seems to happen really on i?86.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/14426] add --ignore-unresolved-symbol from NetBSD

2012-10-22 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14426

--- Comment #1 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2012-10-22 13:33:53 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2012-10-22 13:33:49

Modified files:
include: ChangeLog bfdlink.h 
ld : ChangeLog ldmain.c ldmain.h lexsup.c ldlex.h 

Log message:
include/
PR ld/14426
* bfdlink.h (bfd_link_info): Add ignore_hash.
ld/
PR ld/14426
* ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL.
* lexsup.c (parse_args): Likewise.
(ld_options): Describe --ignore-unresolved-symbol.
* ldmain.h (add_ignoresym): Declare.
* ldmain.c (add_ignoresym): New function, extracted from..
(undefined_symbol): ..here.  Return if the symbol is in ignore_hash.
(constructor_callback): Don't use global link_info here.
(reloc_overflow): Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/ChangeLog.diff?cvsroot=srcr1=1.592r2=1.593
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/bfdlink.h.diff?cvsroot=srcr1=1.95r2=1.96
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=srcr1=1.2497r2=1.2498
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldmain.c.diff?cvsroot=srcr1=1.165r2=1.166
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldmain.h.diff?cvsroot=srcr1=1.18r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/lexsup.c.diff?cvsroot=srcr1=1.133r2=1.134
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlex.h.diff?cvsroot=srcr1=1.11r2=1.12

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/14754] New: referring to undefined symbol results in internal error instead of helpful error message

2012-10-22 Thread vapier at gentoo dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=14754

 Bug #: 14754
   Summary: referring to undefined symbol results in internal
error instead of helpful error message
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: i...@airs.com
ReportedBy: vap...@gentoo.org
CC: ccout...@google.com
Classification: Unclassified
Target: x86_64-linux-gnu


with binutils 2.23.51.0.3, this code:
$ cat test.s
.type foo,%gnu_indirect_function
.globl _start
_start:
call foo

will cause gold to hit an internal error:
$ gcc test.s -nostdlib
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
internal error in dynsym_index, at
/var/tmp/portage/sys-devel/binutils-2.23.51.0.3/work/binutils-2.23.51.0.3/gold/symtab.h:380
collect2: error: ld returned 1 exit status

the bfd linker issues a good error message:
$ gcc test.s -nostdlib
/tmp/ccNn3sd8.o: In function `_start':
(.text+0x1): undefined reference to `foo'
collect2: error: ld returned 1 exit status

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/596] non-dynamic global symbols in .dynstr and .hash sections

2012-10-22 Thread pinskia at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=596

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu.org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils