Re: buildworld falure: truncated or malformed archive

From: Warner Losh <imp_at_bsdimp.com>
Date: Thu, 27 Dec 2018 15:15:09 -0700
On Thu, Dec 27, 2018, 2:36 PM Ryan Stone <rysto32_at_gmail.com wrote:

> I'm trying to update an old (~May 2018) -head system to the latest,
> but I'm getting a persistent error during buildworld:
>
> ld: error: /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a:
> could not get the member for symbol
>
> _ZN5clang17MultiplexConsumerC1ENSt3__16vectorINS1_10unique_ptrINS_11ASTConsumerENS1_14default_deleteIS4_EEEENS1_9allocatorIS7_EEEE:
> truncated or malformed archive (terminator characters in archive
> member "dC" not the correct "`\n" values for the archive member header
> for tOutputExprEj
>
> I seem to recall something about libarchive or ar having a bug
> creating archives > 4GB, but I tried doing a "make install" from
> lib/libarchive and usr.bin/ar and doing a rebuild, and that doesn't
> seem to have resolved the issue.  I also made sure to try a build with
> a clean /usr/obj with no success.  Any ideas how I can get past this?
>

Remove any DEBUG_FLAGS. .a files can't be larger than 4GB. Clang / llvm now
explodes the limit.

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 - 21:15:22 UTC

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