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

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 27, 2018, 2:36 PM Ryan Stone <rysto32@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@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?CANCZdfrV48z4a0rgvGtMsde1JYqACr-Wh97x=tk43r9gWpTz4g>