[Bug ld/15217] branch-to-arm-from-thumb for typeless symbol is missing a stub

2013-05-07 Thread hp at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=15217

Hans-Peter Nilsson  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||WONTFIX

--- Comment #3 from Hans-Peter Nilsson  2013-05-07 
21:13:59 UTC ---
The patch is at  and
the message upon closing this PR is at
.

-- 
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/15444] New: Use of -g for large project results in: relocation truncated to fit: R_X86_64_32 against `.debug_info'

2013-05-07 Thread peeter.joot at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15444

 Bug #: 15444
   Summary: Use of -g for large project results in: relocation
truncated to fit: R_X86_64_32 against `.debug_info'
   Product: binutils
   Version: 2.16
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassig...@sourceware.org
ReportedBy: peeter.j...@gmail.com
Classification: Unclassified


Attempting to link a large shared lib where too much code has been compiled
with -g results in:

/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/crtn.o:(.debug_aranges+0x6):
relocation truncated to fit: R_X86_64_32 against `.debug_info'

Adding -Wl,-verbose to the link flags, shows that all the .o's and .a's in the
link command line are processed without error, and that it's only (presumably)
near the end when this crtn.o is processed do things go badly:

attempt to open /usr/lib64/gcc/x86_64-suse-linux/4.1.2//libc.so failed
attempt to open /usr/lib64/gcc/x86_64-suse-linux/4.1.2//libc.a failed
attempt to open
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/libc.so succeeded
opened script file
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/libc.so
opened script file
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/libc.so
attempt to open /lib64/libc.so.6 succeeded
/lib64/libc.so.6
attempt to open /usr/lib64/libc_nonshared.a succeeded
attempt to open /lib64/ld-linux-x86-64.so.2 succeeded
/lib64/ld-linux-x86-64.so.2
attempt to open /usr/lib64/gcc/x86_64-suse-linux/4.1.2/crtendS.o succeeded
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/crtendS.o
attempt to open /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/crtn.o
succeeded
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/crtn.o
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/crtn.o:(.debug_aranges+0x6):
relocation truncated to fit: R_X86_64_32 against `.debug_info'

This error occurs with both the default sles10 linker (GNU ld version
2.16.91.0.5 20051219), and with the newest version: GNU ld (GNU Binutils)
2.23.2)

I'm unsure if this is a
1) an ld bug, or
2) a bug in the crtn.o file (this is from the sles10 version of gcc, version:
gcc (GCC) 4.1.2 20070115, which is old), or
3) a limitation (if so, is it one imposed by the c runtime crtn.o file or the
linker?)

-- 
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/15444] Use of -g for large project results in: relocation truncated to fit: R_X86_64_32 against `.debug_info'

2013-05-07 Thread peeter.joot at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15444

Peeter Joot  changed:

   What|Removed |Added

 Target||x86_64-suse-linux
Version|2.16|2.23

-- 
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/15444] Use of -g for large project results in: relocation truncated to fit: R_X86_64_32 against `.debug_info'

2013-05-07 Thread peeter.joot at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15444

--- Comment #1 from Peeter Joot  2013-05-07 
23:35:12 UTC ---
I've ruled out the gcc version, and see the same relocation truncated error
when the gcc 4.8 version of libgcc/crtbegin.o/crtend.o/... files.

However, the reason for this not making a difference appears to be this crtn.o
file isn't part of the compiler, but is part of the C runtime library:

$ rpm -qf /usr/lib64/crtn.o
glibc-devel-2.4-31.81.11

... so it doesn't make any difference whether I use the default system compiler
crt* files or the ones from gcc 4.8 (We are actually using the intel icpc
compiler to invoke the linker, but it uses the system libgcc and
crtbegin/end.o's by default).

-- 
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