Re: ar: warning: can't open file: ccopy.pieo: No such file or directory

From: Ed Maste <emaste_at_freebsd.org>
Date: Wed, 11 Aug 2021 19:03:54 UTC
On Wed, 11 Aug 2021 at 05:41, FreeBSD User <freebsd@walstatt-de.de> wrote:
>
> Hallo,
>
> latest upgrade of CURRENT sources renders buildworld into failure, box is running
> FreeBSD 14.0-CURRENT #1 main-n248614-67f508db84b: Wed Aug 11 07:29:11 CEST 2021 amd64:

Assuming this was with BEARSSL enabled, it should be fixed with:

commit 879675e9a0d84880cad9834e2ef98e8724c5532c
Author: Warner Losh <imp@FreeBSD.org>
Date:   Wed Aug 11 10:59:28 2021 -0600

    stand: Add MK_PIE=no to defs.mk

    There's no need to build both pie and non-pie .o's for stand. There's
    some other build thing with MK_BEAR_SSL=yes and/or MK_LOADER_VERIEXEC=yes
    that causes the pie build to fail that the 'ar' stage now. Since we don't
    need the PIE stuff and the non-PIE stuff, disable PIE for the boot loader.

    Reviewed by:    emaste
    Sponsored by:   Netflix