Launchpad has imported 2 comments from the remote bug at
http://sourceware.org/bugzilla/show_bug.cgi?id=14625.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-09-25T22:34:16+00:00 Matthias Klose wrote:

seen with a webkit-1.91 build on x86_64-linux-gnu, works with 2.22 from
the release branch, fails with the 2.23 branch and trunk.

ar: .libs/libWebCore.a: File truncated
make[1]: *** [libWebCore.la] Error 1

to reproduce with the tarball from
http://people.debian.org/~doko/tmp/build.tar.xz

mkdir -p .libs
rm -f .libs/libWebCore.a
sh ar.sh

Reply at:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1043507/comments/13

------------------------------------------------------------------------
On 2012-09-26T02:23:17+00:00 Alan Modra wrote:

You're running into archive.c:2661
          /* Catch an attempt to grow an archive past its 4Gb limit.  */
          if (archive_member_file_ptr != (file_ptr) offset)
            {
              bfd_set_error (bfd_error_file_truncated);
              return FALSE;
            }
          if (!bfd_write_bigendian_4byte_int (arch, offset))
            return FALSE;

Previous versions of binutils created invalid armaps.  We can't do much
about this problem without changing archive format for x86_64.  I
suppose that is a possibility.

If you just want an archive for packaging purposes as distinct from
using the archive as a linker input, then you can work around this
problem by disabling the armap with ar's S option.

I'm closing this bug report as invalid since the archive format simply
doesn't support such large archives.  Please take any discussion
(patches!) regarding changing archive format to the binutils list.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1043507/comments/14


** Changed in: binutils
       Status: Unknown => Invalid

** Changed in: binutils
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1043507

Title:
  webkit build fails on binutils limitation

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/1043507/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to