Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 17:15:47 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        Ryan Stone <rysto32@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: buildworld falure: truncated or malformed archive
Message-ID:  <CANCZdfr1DmYvDFHhfmK4MZ2ZtVOewVa3-KHrXEhnvPANNhHkog@mail.gmail.com>
In-Reply-To: <CAPyFy2DWh94JM5gErJPsZRxPQ6ZL8Ba5Vz9kMFdYDYeTdhR7Hg@mail.gmail.com>
References:  <CAFMmRNyPq5O5Wj1T4PDxW6U8R=oV-wGy_vH_2QdMTg621V0R6A@mail.gmail.com> <CAPyFy2DWh94JM5gErJPsZRxPQ6ZL8Ba5Vz9kMFdYDYeTdhR7Hg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 27, 2018, 5:29 PM Ed Maste <emaste@freebsd.org wrote:

> On Thu, 27 Dec 2018 at 14:35, Ryan Stone <rysto32@gmail.com> wrote:
> >
> > I seem to recall something about libarchive or ar having a bug
> > creating archives > 4GB,
>
> Indeed, FreeBSD's bespoke ar does not support the /SYM64/ format
> needed for offsets >4GB. imp@ also ran into this; I'm not sure what's
> causing libclang.a to be >4GB. Is there one object file that's
> unreasonably large?
>

For me it was a DEBUG_FLAGS=-g I had in make.conf that I'd forgotten about.

Ar should fail to create a .a that's >4GB.

Warner

> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr1DmYvDFHhfmK4MZ2ZtVOewVa3-KHrXEhnvPANNhHkog>