[Bug ld/14926] "Not enough room for program headers" error, even though there is

2012-12-07 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14926

--- Comment #3 from cvs-commit at gcc dot gnu.org  2012-12-07 12:32:54 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2012-12-07 12:32:51

Modified files:
ld/testsuite   : ChangeLog 
Added files:
ld/testsuite/ld-elf: pr14926.d pr14926.s 

Log message:
Add a testase for PR ld/14926

PR ld/14926
* ld-elf/pr14926.d: New file.
* ld-elf/pr14926.s: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1634&r2=1.1635
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr14926.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr14926.s.diff?cvsroot=src&r1=NONE&r2=1.1

-- 
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/14124] Linking fails with 'address of section '.tbss' moves backward from 0xc008 to 0xc000'

2012-12-07 Thread swt at techie dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=14124

Scott Talbert  changed:

   What|Removed |Added

 CC||swt at techie dot net

--- Comment #2 from Scott Talbert  2012-12-07 14:59:43 
UTC ---
Did you ever find a solution or workaround to this?  I'm running into a similar
problem.

-- 
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/14124] Linking fails with 'address of section '.tbss' moves backward from 0xc008 to 0xc000'

2012-12-07 Thread swt at techie dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=14124

--- Comment #3 from Scott Talbert  2012-12-07 18:29:36 
UTC ---
In my case, I removed uses of __thread (Thread Local Storage) and this enabled
the code to link.

-- 
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/12248] Linker plugin failed to preserve linking order

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #20 from H.J. Lu  2012-12-07 20:01:56 
UTC ---
2.23 works correctly.

-- 
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/12245] BFD linker plugin generates bad executables

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12245

Bug 12245 depends on bug 12248, which changed state.

Bug 12248 Summary: Linker plugin failed to preserve linking order
http://sourceware.org/bugzilla/show_bug.cgi?id=12248

   What|Old Value   |New Value

 Status|NEW |RESOLVED
 Resolution||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 ld/12248] Linker plugin failed to preserve linking order

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12248

--- Comment #21 from H.J. Lu  2012-12-07 20:04:27 
UTC ---
It is tracked by "LTO 1" test in ld-plugin.

-- 
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/12277] Linker error: "final link failed: Nonrepresentable section on output"

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12277

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #10 from H.J. Lu  2012-12-07 20:05:51 
UTC ---
Works in 2.23.  Tracked by "LTO 8" test in ld-plugin.

-- 
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/12314] No LTO, LD silently links to non-IR code

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12314

--- Comment #4 from H.J. Lu  2012-12-07 20:07:16 
UTC ---
Works in 2.23 and tracked by "LTO 12a"/"LTO 12b" tests in ld-plugin.

-- 
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/12319] Undefined reference error with LTO and `--whole-archive'

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12319

--- Comment #2 from H.J. Lu  2012-12-07 20:08:32 
UTC ---
Works in 2.23 and tracked by "LTO 14" test.

-- 
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/12364] Segmentation fault in get_symbols

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12364

--- Comment #4 from H.J. Lu  2012-12-07 20:09:19 
UTC ---
Tracked by "LTO 6" test.

-- 
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/12369] Symbols present in LTO symbol table resolved as PREVAILING_DEF_IRONLY and optimized out appears in final symbol table.

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12369

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #2 from H.J. Lu  2012-12-07 20:10:39 
UTC ---
Works in 2.23 and tracked by "LTO 9 symbol" test.

-- 
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/12439] Undefined reference error with ld.hjl

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12439

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #6 from H.J. Lu  2012-12-07 20:11:29 
UTC ---
Works in 2.23 and tracked by "LTO 13" test.

-- 
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/12496] Linker fails with "could not read symbols: Bad value" message

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12496

--- Comment #15 from H.J. Lu  2012-12-07 20:12:28 
UTC ---
Works in 2.23 and tracked by "LTO 15" test.

-- 
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/12507] Can't build a program with -flto -nostdlib

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12507

--- Comment #8 from H.J. Lu  2012-12-07 20:13:19 
UTC ---
Works in 2.23 and tracked by "LTO 16a symbol"/"LTO 16b symbol" tests.

-- 
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/12942] Plugin not handling correctly resolution of COMDATs.

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12942

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #5 from H.J. Lu  2012-12-07 20:16:38 
UTC ---
Works in 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 gold/14124] Linking fails with 'address of section '.tbss' moves backward from 0xc008 to 0xc000'

2012-12-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14124

H.J. Lu  changed:

   What|Removed |Added

 CC||ccoutant at google dot com
  Component|ld  |gold

-- 
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/14124] Linking fails with 'address of section '.tbss' moves backward from 0xc008 to 0xc000'

2012-12-07 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14124

Alan Modra  changed:

   What|Removed |Added

 Target||arm-linux-eabi

--- Comment #4 from Alan Modra  2012-12-07 22:10:33 
UTC ---
Please try with mainline gold

-- 
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 binutils/14933] New: ar & ranlib generate truncated files on 32bit platform.

2012-12-07 Thread alanh at fairlite dot co.uk
http://sourceware.org/bugzilla/show_bug.cgi?id=14933

 Bug #: 14933
   Summary: ar & ranlib generate truncated files on 32bit
platform.
   Product: binutils
   Version: 2.23
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassig...@sourceware.org
ReportedBy: al...@fairlite.co.uk
Classification: Unclassified


Hi,

Just moved from binutils 2.22 to 2.23 and ar & ranlib generated bad archives
with the message "file truncated".

Looking into the problem reveals that in archive.c we have at around line
2414

file_ptr firstreal;

file_ptr max_first_real;

max_first_real <<= 31;

then later we do

  /* The archive file format only has 4 bytes to store the offset
 of the member.  Check to make sure that firstreal has not grown
 too big.  */
  if (firstreal >= max_first_real)
{
  bfd_set_error (bfd_error_file_truncated);
  return FALSE;
}

I added a check that did this in the errored function.

printf("CHECK %d %d (%d)\n",firstreal,max_first_real,sizeof(file_ptr));

It came back with

CHECK 104 -2147483648 (4)

So, shouldn't firstreal/max_first_real be ufile_ptr's ?

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