[Bug ld/14464] problem with script file on ppc64 elf

2012-08-30 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14464

Alan Modra  changed:

   What|Removed |Added

 Target||powerpc64-linux
 Status|NEW |ASSIGNED
 CC||amodra at gmail dot com
 AssignedTo|unassigned at sourceware|amodra at gmail dot com
   |dot 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


[Bug ld/14464] problem with script file on ppc64 elf

2012-08-30 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14464

--- Comment #1 from cvs-commit at gcc dot gnu.org  2012-08-31 02:43:02 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2012-08-31 02:42:57

Modified files:
bfd: ChangeLog elf64-ppc.c 

Log message:
PR ld/14464
* elf64-ppc.c (ppc64_elf_relocate_section): Map symbols defined
by a linker script in .opd to corresponding input .opd section.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5791&r2=1.5792
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&r1=1.391&r2=1.392

-- 
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/14525] __executable_start isn't defined for PIE

2012-08-30 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14525

--- Comment #3 from cvs-commit at gcc dot gnu.org  2012-08-31 02:52:18 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2012-08-31 02:52:14

Modified files:
ld : ChangeLog 
ld/scripttempl : elf.sc 
ld/testsuite   : ChangeLog 
ld/testsuite/ld-elf: elf.exp 
Added files:
ld/testsuite/ld-elf: pr14525.c pr14525.out 

Log message:
Provide __executable_start for PIE

ld/

PR ld/14525
* scripttempl/elf.sc: Also provide __executable_start for PIE.

ld/testsuite/

PR ld/14525
* ld-elf/elf.exp: Run pr14525.

* ld-elf/pr14525.c: New.
* ld-elf/pr14525.out: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2484&r2=1.2485
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/scripttempl/elf.sc.diff?cvsroot=src&r1=1.114&r2=1.115
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1598&r2=1.1599
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr14525.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr14525.out.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/elf.exp.diff?cvsroot=src&r1=1.37&r2=1.38

-- 
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/14464] problem with script file on ppc64 elf

2012-08-30 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14464

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #2 from Alan Modra  2012-08-31 03:21:38 
UTC ---
Fixed

-- 
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/14533] New: large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-30 Thread bsergean at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533

 Bug #: 14533
   Summary: large (88M) ICC compiled .obj files inside .a archive
confuse / error the gold linker
   Product: binutils
   Version: 2.23 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: i...@airs.com
ReportedBy: bserg...@gmail.com
CC: ccout...@google.com
Classification: Unclassified


I'm trying to port some of my company code to work with the gold linker.
I got the gcc build working perfectly, but when building with icc-12 (intel
compiler), I get an error when linking something that links against a static
archive (.a) that contains one object (.o) file with some section that are
apparently larger than the spec. That .o is 88M large, and is built with
debugging symbols.

This might be an ICC bug, but the BFD linker happily link the resulting binary,
so I wonder if this is rather a gold bug / improvement.

How can I move forward with that ? I don't have the error log right now (will
post it tomorrow), but can I do some operations (with say objdump) on that .o
file so you guys can troubleshoot the problem ?

Best,
- Benjamin

-- 
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/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-30 Thread bsergean at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533

Benjamin Sergeant  changed:

   What|Removed |Added

 Target||x86_64-pc-linux-gnu

-- 
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/10955] Invalid LTOFF22X -> GPREL22 relaxation

2012-08-30 Thread bsergean at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10955

Benjamin Sergeant  changed:

   What|Removed |Added

 CC||bsergean 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 gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-30 Thread bsergean at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533

Benjamin Sergeant  changed:

   What|Removed |Added

 CC||bsergean 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 gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-30 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533

--- Comment #1 from Ian Lance Taylor  2012-08-31 04:39:48 
UTC ---
What do you mean "by larger than the spec"?

We will need to know the actual error.  Without that, it's pretty hard to know
what else we might need.

In general the best way to examine an ELF file is readelf, which is one of the
binutils.

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