From owner-freebsd-stable@FreeBSD.ORG Tue May 21 15:24:36 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 88FD03AD for ; Tue, 21 May 2013 15:24:36 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 347B59A6 for ; Tue, 21 May 2013 15:24:36 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4LFOYVg080289; Tue, 21 May 2013 09:24:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4LFOYNq080286; Tue, 21 May 2013 09:24:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 21 May 2013 09:24:34 -0600 (MDT) From: Warren Block To: Michael Gass Subject: Re: Command line not responding In-Reply-To: <20130518024920.GA32753@csbsju.edu> Message-ID: References: <20130517175653.GA15498@csbsju.edu> <20130517185513.GA88287@icarus.home.lan> <20130518024920.GA32753@csbsju.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 21 May 2013 09:24:34 -0600 (MDT) Cc: Jeremy Chadwick , freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 15:24:36 -0000 On Fri, 17 May 2013, Michael Gass wrote: > On Fri, May 17, 2013 at 11:55:13AM -0700, Jeremy Chadwick wrote: >> On Fri, May 17, 2013 at 12:56:53PM -0500, Michael Gass wrote: >>> Running 9.0-Stable on an i386. >>> >>> Whenever I type a command at the prompt I get >>> the output >>> >>> /usr/local/lib/libintl.so.9: Undefined symbol "_ThreadRuneLocale" >>> >>> and nothing else - the command will not run. Just the >>> above output. Commands like "ls" and "exit" work, but not much >>> else. This happends whether I am logged in a user or as root. >>> Cannot even halt the system from the command line. >>> >>> Started to happen after trying to update the freetype2 port. >>> Got an error msg while updating libXft-2.1.14. From that point >>> on I cannot use the command line. >>> >>> I have no idea what to try. Any suggestions. >> > > >> First provide the contents of /etc/make.conf and /etc/src.conf. >> > > Thanks for getting back to me. Here are the contents of the two > files. I rebuilt the kernel last fall and have updated ports > fairly regularly since. Things have worked fine until today when > I tried to update ports. > > # File: make.conf > # The ? in the below is for buildworld > CPUTYPE?=pentium2 > # Uncomment the below for general builds. > CFLAGS= -O -pipe > # Uncomment the below for kernel builds. > # COPTFLAGS= -O -pipe It is almost always a mistake to set CFLAGS in make.conf. Not only does it not improve performance, it frequently causes problems. It will sometimes decrease performance for ports that can safely use custom CFLAGS themselves, because it prevents them from using those custom flags. In other words, custom CFLAGS provide few or zero improvements, and have a significant risk of causing problems.