From owner-freebsd-arm@freebsd.org Sun Jul 2 23:57:22 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 5CFEC9B2365 for ; Sun, 2 Jul 2017 23:57:22 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-15.reflexion.net [208.70.210.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11B227AE1E for ; Sun, 2 Jul 2017 23:57:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 17001 invoked from network); 2 Jul 2017 23:58:51 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 2 Jul 2017 23:58:51 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Sun, 02 Jul 2017 19:57:20 -0400 (EDT) Received: (qmail 10338 invoked from network); 2 Jul 2017 23:57:19 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 2 Jul 2017 23:57:19 -0000 Received: from [192.168.1.114] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 3C824EC8171; Sun, 2 Jul 2017 16:57:19 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Signal 11 on RPI2 running 12.0-CURRENT #6 r320526 From: Mark Millard In-Reply-To: <20170702234351.GB17014@www.zefox.net> Date: Sun, 2 Jul 2017 16:57:18 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <76AA57AF-8D5E-461E-A756-F71A9F84B1EE@dsl-only.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> <20170702234351.GB17014@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3273) 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:57:22 -0000 On 2017-Jul-2, at 4:43 PM, bob prohaska wrote: > On Sun, Jul 02, 2017 at 02:34:36PM -0700, Mark Millard wrote: >>>=20 >>> 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. >>>=20 >=20 > Patch -p1 seemed to apply the diff successfully, but as you > warned other parts of userland are too broken to function. >=20 > 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 >=20 > I believe strip is to some extent optional, is it possible > (and would it help) to somehow turn off the strip function? man install reports: -s install exec's the command strip(1) to strip binaries so = that install can be portable over a large number of systems and = binary types. See below for how install can be instructed to use another program to strip binaries. It also reports in the ENVIRONMENT section: If the DONTSTRIP environment variable is present, install will = ignore any specification of the -s option. This is mainly for use in = debugging the FreeBSD Ports Collection. =3D=3D=3D Mark Millard markmi at dsl-only.net