From owner-freebsd-arm@freebsd.org Sun Jul 2 23:43:50 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30BB39B1DC9 for ; Sun, 2 Jul 2017 23:43:50 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B8E47AA2F for ; Sun, 2 Jul 2017 23:43:49 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id v62Nhqq6018130 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 2 Jul 2017 16:43:53 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id v62Nhqsa018129; Sun, 2 Jul 2017 16:43:52 -0700 (PDT) (envelope-from fbsd) Date: Sun, 2 Jul 2017 16:43:51 -0700 From: bob prohaska To: Mark Millard Cc: freebsd-arm Subject: Re: Signal 11 on RPI2 running 12.0-CURRENT #6 r320526 Message-ID: <20170702234351.GB17014@www.zefox.net> References: <20170702015517.GA14839@www.zefox.net> <20170702203651.GA17014@www.zefox.net> <1AAA5539-C81F-407E-8310-8F446665E7FC@dsl-only.net> <38241DC9-8A8D-4B90-A678-5A4F7511029B@dsl-only.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <38241DC9-8A8D-4B90-A678-5A4F7511029B@dsl-only.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2017 23:43:50 -0000 On Sun, Jul 02, 2017 at 02:34:36PM -0700, Mark Millard wrote: > > > > Or patch has a -p option for stripping a prefix > > from the paths it uses (by a count of /'s removed > > by deleting the prefix): See man patch. > > Patch -p1 seemed to apply the diff successfully, but as you warned other parts of userland are too broken to function. Somewhat to my surprise, using single user mode it was possible to run make in /usr/src/lib/libc, but make install failed with install -C -o root -g wheel -m 444 libc.a /usr/lib/ install -C -o root -g wheel -m 444 libc_p.a /usr/lib/ install -s -o root -g wheel -m 444 -fschg -S libc.so.7 /lib/ pid 377 (strip), uid 0: exited on signal 11 (core dumped) install: strip command strip failed on /lib/INS@bbHX *** Error code 70 I believe strip is to some extent optional, is it possible (and would it help) to somehow turn off the strip function? Thank you very much! bob prohaska