From owner-freebsd-current@freebsd.org Sat Dec 31 12:19:22 2016 Return-Path: Delivered-To: freebsd-current@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 9EA2CC98620 for ; Sat, 31 Dec 2016 12:19:22 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65ABB11B0 for ; Sat, 31 Dec 2016 12:19:22 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1cNId5-0006NM-2k for freebsd-current@freebsd.org; Sat, 31 Dec 2016 13:19:19 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-current@freebsd.org Subject: Re: every command segmentation faults after installworld References: Date: Sat, 31 Dec 2016 13:19:18 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 74bd734068bee68206891dc8710ce62a X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2016 12:19:22 -0000 On Sat, 31 Dec 2016 13:11:50 +0100, Ronald Klop 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.