From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 21:36:07 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 31799299; Fri, 22 Feb 2013 21:36:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id D0394D30; Fri, 22 Feb 2013 21:36:06 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 097575C43; Fri, 22 Feb 2013 22:35:59 +0100 (CET) Message-ID: <5127E4C0.6060209@FreeBSD.org> Date: Fri, 22 Feb 2013 22:36:00 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20130117 Thunderbird/19.0 MIME-Version: 1.0 To: Daniel Eischen , freebsd-current@freebsd.org Subject: Re: WITHOUT_CLANG_IS_CC: There and back again References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 22 Feb 2013 21:36:07 -0000 On 2013-02-22 22:30, Daniel Eischen wrote: > In trying to debug an unrelated problem, I switched CC from Clang > back to GCC. I had a -current kernel and world r247050 built and > installed with Clang as the system compiler I have nothing special > in /etc/make.conf: > > BATCH=yes > WITH_NEW_XORG=true > WITH_KMS=true > WITH_PKGNG=yes > PERL_VERSION=5.14.2 > > I added WITHOUT_CLANG_IS_CC=yes to this, then rebuilt kernel and > world. I installed the kernel rebooted, everthing worked, so I > then installed world. Installword stopped here: > > ===> 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 > install -o root -g wheel -m 444 rtld.1.gz /usr/share/man/man1 > *** [_maninstall] Signal 11 > > Stop in /opt/FreeBSD/current/src/libexec/rtld-elf. > *** [realinstall] Error code 1 > > At that point my system was completely hosed. Every binary (/bin, > /sbin, etc) would sig 11. I had to build a world on another > system, then use /rescue to NFS mount the other system and > copy over /libexec, /lib, and /usr/lib. This let me recover > enough to svn up to r247164. remove WITHOUT_CLANG_IS_CC from > /etc/make.conf, and build/install a working world. > > Is switching from Clang to GCC suppose to work? This might have had nothing to do with either clang or gcc. Between r247012 and r247117, binutils was broken, and this apparently resulted in various nasty problems. Maybe you can try it again, since you are now at r247164?