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

From: Warner Losh <imp_at_bsdimp.com>
Date: Wed, 11 Aug 2021 16:00:29 -0600
On Wed, Aug 11, 2021, 3:52 PM FreeBSD User <freebsd_at_walstatt-de.de> wrote:

> Am Wed, 11 Aug 2021 15:03:54 -0400
> Ed Maste <emaste_at_freebsd.org> schrieb:
>
> > On Wed, 11 Aug 2021 at 05:41, FreeBSD User <freebsd_at_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_at_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
> >
>
> Yes, it has.
>
> Thanks a lot.
>

It does point out a problem with PIE integration wrt BEARSSL. I'll have to
dig deeper if we ever need to make pie images for the loader...

Warner

oh
>
> --
> O. Hartmann
>
>
Received on Wed Aug 11 2021 - 22:00:29 UTC

Original text of this message