Re: buildworld falure: truncated or malformed archive

From: Warner Losh <imp_at_bsdimp.com>
Date: Thu, 27 Dec 2018 17:15:47 -0700
On Thu, Dec 27, 2018, 5:29 PM Ed Maste <emaste_at_freebsd.org wrote:

> On Thu, 27 Dec 2018 at 14:35, Ryan Stone <rysto32_at_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_at_ 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_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Thu Dec 27 2018 - 23:16:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC