every command segmentation faults after installworld
Ronald Klop
ronald-lists at klop.ws
Sat Dec 31 12:19:22 UTC 2016
On Sat, 31 Dec 2016 13:11:50 +0100, Ronald Klop <ronald-lists at klop.ws>
wrote:
> Hi,
>
> I just rebuild kernel+world (with NO_CLEAN=yes). Installworld failed:
> ===> libexec/rtld-elf (install)
> chflags -h noschg /usr/libexec/ld-elf.so.1
> install -s -o root -g wheel -m 555 -C -b -fschg -S ld-elf.so.1
> /libexec/ld-elf
> .so.1
> install -o root -g wheel -m 444 ld-elf.so.1.debug
> /usr/lib/debug/libexec/ld-el
> f.so.1.debug
> install -o root -g wheel -m 444 rtld.1.gz /usr/share/man/man1/
> rm -f /usr/share/man/man1/ld-elf.so.1.1
> /usr/share/man/man1/ld-elf.so.1.1.gz; i
> nstall -l h /usr/share/man/man1/rtld.1.gz
> /usr/share/man/man1/ld-elf.so.1.1.gz
> *** Signal 11
>
> Stop.
> make[5]: stopped in /usr/src/libexec/rtld-elf
> *** Error code 1
>
>
> No every command I run segmentation faults.
> Can I recover this?
>
> I run 12-CURRENT/amd64 and just svn upped an hour ago. I'll try to use
> /rescue to copy ld-elf.so.1 from a snapshot.
>
> Regards,
> Ronald.
This worked. Pffff. :-)
# /rescue/cp /libexec/ld-elf.so.1 /var/tmp/
# /rescue/cp
/.zfs/snapshot/auto-2016-12-30_20.00.hourly/libexec/ld-elf.so.1 /libexec/
cp: /libexec/ld-elf.so.1: Operation not permitted
# /rescue/chflags -h noschg /libexec/ld-elf.so.1
# /rescue/cp
/.zfs/snapshot/auto-2016-12-30_20.00.hourly/libexec/ld-elf.so.1 /libexec/
I will try a clean build now. This will take hours and hours on my laptop
compiling clang, so I'll see in the new year if others experience the same
ld-elf problem before I installworld again.
Regards and happy new year,
Ronald.
More information about the freebsd-current
mailing list