[Bug binutils/14933] ar & ranlib generate truncated files on 32bit platform.

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

--- Comment #8 from Alan Hourihane  2012-12-09 
09:00:23 UTC ---
Created attachment 6776
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6776
test case

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

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

--- Comment #9 from Alan Hourihane  2012-12-09 
09:01:23 UTC ---
With the binary file you can do...

ar rcv libxxx.a main.o
a - main.o
ar: libxxx.a: File truncated

-- 
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] ar & ranlib generate truncated files on 32bit filesystem

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

H.J. Lu  changed:

   What|Removed |Added

Summary|ar & ranlib generate|ar & ranlib generate
   |truncated files on 32bit|truncated files on 32bit
   |platform.   |filesystem

-- 
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] ar & ranlib generate truncated files on 32bit filesystem

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

H.J. Lu  changed:

   What|Removed |Added

 Status|WAITING |NEW
URL||http://sourceware.org/ml/bi
   ||nutils/2012-12/msg00112.htm
   ||l

--- Comment #10 from H.J. Lu  2012-12-09 17:35:11 
UTC ---
A patch is posted at

http://sourceware.org/ml/binutils/2012-12/msg00112.html

-- 
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] ar & ranlib generate truncated files on 32bit filesystem

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

--- Comment #11 from cvs-commit at gcc dot gnu.org  2012-12-09 18:01:44 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2012-12-09 18:01:39

Modified files:
bfd: ChangeLog archive.c 

Log message:
Properly check indicies bigger than 4Gb

PR binutils/14933
* archive.c (bsd_write_armap): Properly check indicies bigger
than 4Gb.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5877&r2=1.5878
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/archive.c.diff?cvsroot=src&r1=1.92&r2=1.93

-- 
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] ar & ranlib generate truncated files on 32bit filesystem

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

--- Comment #12 from cvs-commit at gcc dot gnu.org  2012-12-09 18:06:48 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_23-branch
Changes by:h...@sourceware.org2012-12-09 18:06:44

Modified files:
bfd: ChangeLog archive.c 

Log message:
Properly check indicies bigger than 4Gb

PR binutils/14933
* archive.c (bsd_write_armap): Properly check indicies bigger than
4Gb.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.5758.2.31&r2=1.5758.2.32
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/archive.c.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.87&r2=1.87.4.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 binutils/14933] ar & ranlib generate truncated files on 32bit filesystem

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

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #13 from H.J. Lu  2012-12-09 18:07:17 
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