From owner-freebsd-current@FreeBSD.ORG Fri Aug 29 11:07:14 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0101516A4BF; Fri, 29 Aug 2003 11:07:14 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 656AB4400E; Fri, 29 Aug 2003 11:07:12 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h7TI6ssE069015; Fri, 29 Aug 2003 11:06:58 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3F4F966E.6030104@acm.org> Date: Fri, 29 Aug 2003 11:07:42 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Blazejowski References: <3F4F2D0C.4072.297B7F46@localhost> <3F4F31EC.25776.298E873E@localhost> <1062170238.1271.15.camel@blaze.homeip.net> In-Reply-To: <1062170238.1271.15.camel@blaze.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: Dan Langille cc: dirk@freebsd.org Subject: Re: databases/mysql323-client fails to build X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2003 18:07:14 -0000 >>>On Fri, 2003-08-29 at 10:38, Dan Langille wrote: >>>>On a 5.1-release box, I tried to install databases/mysql323-client >>>>and was told: >>>> >>>>configure: error: Your compiler cannot convert a longlong value to a >>>>float! >>>>If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer >>>>and try again. >>>> >>>>The output of databases/mysql323-client/work/mysql-3.23.57/config.log >>>>is at I just took a quick look, and the error message is probably completely wrong. I don't think this has anything to do with numeric conversions. Here's the relevant portion of config.log: configure: program exited with status 139 configure: failed program was: #line 16878 "configure" #include "confdefs.h" #include typedef long long longlong; main() { longlong ll=1; float f; FILE *file=fopen("conftestval", "w"); f = (float) ll; fprintf(file,"%g\n",f); close(file); exit (0); } If I understand correctly, status 139 is a signal 11 (SEGV) with the core dump flag set. Sounds like you've tripped over a library bug. It doesn't happen on my 5.1-RELEASE system, though. Do you have the core dump file available? (I think it's in /tmp, but could be wrong.) Could you send it to me? I suspect that updating your libc might correct this, but would like to verify that. I presume you built from source; do you happen to know the date? If the file "conftestval" exists somewhere, send me that, too. If you don't have a core file, copy and paste the above program (you may also need to create confdefs.h, which is included at the end of config.log), compile it with the following command, and try running it. Let us know what happens on your system: cc -o conftest -DDBUG_OFF -O -pipe -mcpu=pentiumpro conftest.c -lz -lcrypt -lm -pthread Tim Kientzle