From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 21:30:50 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 52FB3FF3 for ; Fri, 22 Feb 2013 21:30:50 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1E1E3CF7 for ; Fri, 22 Feb 2013 21:30:49 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.6/8.14.6/NETPLEX) with ESMTP id r1MLUhwm011708 for ; Fri, 22 Feb 2013 16:30:43 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.1 (mail.netplex.net [204.213.176.10]); Fri, 22 Feb 2013 16:30:43 -0500 (EST) Date: Fri, 22 Feb 2013 16:30:43 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: freebsd-current@freebsd.org Subject: WITHOUT_CLANG_IS_CC: There and back again Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Daniel Eischen 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:30:50 -0000 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? -- DE