Date: Sun, 2 Jul 2017 16:57:18 -0700 From: Mark Millard <markmi@dsl-only.net> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Signal 11 on RPI2 running 12.0-CURRENT #6 r320526 Message-ID: <76AA57AF-8D5E-461E-A756-F71A9F84B1EE@dsl-only.net> In-Reply-To: <20170702234351.GB17014@www.zefox.net> References: <20170702015517.GA14839@www.zefox.net> <FB279B4E-8804-498D-AB36-6D0143C35E45@dsl-only.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>
index | next in thread | previous in thread | raw e-mail
On 2017-Jul-2, at 4:43 PM, bob prohaska <fbsd@www.zefox.net> wrote:
> 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?
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.
===
Mark Millard
markmi at dsl-only.net
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76AA57AF-8D5E-461E-A756-F71A9F84B1EE>
