Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2018 17:26:58 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-current@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: HEADSUP: Something has gone south with -current
Message-ID:  <20181208012658.GB24554@troutmask.apl.washington.edu>
In-Reply-To: <20181208010203.GA24554@troutmask.apl.washington.edu>
References:  <20181207230622.GA22163@troutmask.apl.washington.edu> <20181207233019.GA22981@troutmask.apl.washington.edu> <20181207235233.GA23410@troutmask.apl.washington.edu> <20181208000820.GM52540@kib.kiev.ua> <20181208002539.GC23410@troutmask.apl.washington.edu> <20181208004317.GN52540@kib.kiev.ua> <20181208010203.GA24554@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 07, 2018 at 05:02:03PM -0800, Steve Kargl wrote:
> On Sat, Dec 08, 2018 at 02:43:17AM +0200, Konstantin Belousov wrote:
> > On Fri, Dec 07, 2018 at 04:25:39PM -0800, Steve Kargl wrote:
> > > On Sat, Dec 08, 2018 at 02:08:20AM +0200, Konstantin Belousov wrote:
> > > > 
> > > > Most likely this is an issue fixed by r339350.
> > > 
> > > My tree is at r341703.  The last paragraph of the commit 
> > > message for r339350 is
> > Which tree ?  The strip that is used by install should be past this
> > revision.
> > 
> This is the /usr/src that has led to the broken static binaries.
> 
> Looking at timestamps, I have
> 
> % ls -l  /usr/bin/strip
> -r-xr-xr-x  2 root  wheel  - 131144 Oct 10 17:10 /usr/bin/strip*
> 
> which is the strip from my Oct 10 build.  This strip did not get
> updated because 'make installworld' died.  Does install during
> an installworld use the old strip instead of freshly built strip?
> 

Looks like /usr/src/UPDATING could use an entry about r339350.

I was updating an r339290 world to r341703.  This jumps across
r339350.  /usr/bin/strip from r339290 apparently is used during
installworld, which renders a system rather broken.   

20181013: 
   At r339350, /usr/bin/strip was updated to deal with the introduction
   of ifuncs into FreeBSD.  In particular, a /usr/bin/strip from an earlier
   revision can lead to a broken system.  To avoid mayhem, it is suggested
   that one does

   cd /usr/src/usr.bin/objcopy
   make install

   prior to 'make installworld'

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181208012658.GB24554>