From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 26 20:40:36 2009 Return-Path: Delivered-To: hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D25EB1065672 for ; Thu, 26 Feb 2009 20:40:36 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 94CE98FC1F for ; Thu, 26 Feb 2009 20:40:36 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id n1QKghx9096333; Thu, 26 Feb 2009 15:42:43 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id n1QKghM2096332; Thu, 26 Feb 2009 15:42:43 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Thu, 26 Feb 2009 15:42:43 -0500 From: David Schultz To: Ed Schouten Message-ID: <20090226204243.GA96251@zim.MIT.EDU> Mail-Followup-To: Ed Schouten , hackers@FreeBSD.ORG References: <20090226180756.GX19161@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090226180756.GX19161@hoeg.nl> Cc: hackers@FreeBSD.ORG Subject: Re: Renaming all symbols in libmp(3) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 20:40:37 -0000 On Thu, Feb 26, 2009, Ed Schouten wrote: > One of the reasons why we can't compile the base system yet, is because > some applications in the base system (keyserv, newkey, chkey, libtelnet) > won't compile, because a library they depend (libmp)on has a function > called pow(). By default, LLVM has a built-in prototype of pow(), > similar to GCC. Unlike GCC, LLVM raises a compiler error by default. The > manual page also mentions this issue. I think most apps that used to use libmp have transitioned to libgmp, so I don't have much of an opinion on this change... However, if the compiler as a builtin for the math.h-style pow() function, and the builtin causes it to choke even when math.h isn't #included, that's a bug in the compiler. The people who are proposing that we make the base system LLVM-compatible should be more forceful in insisting that LLVM be fixed. ;-) What do the LLVM folks propose to do about all the (perfectly legal) programs out there that have a variable called 'exp'?