From owner-freebsd-current@FreeBSD.ORG Fri Aug 29 11:14:25 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 662DB16A4BF; Fri, 29 Aug 2003 11:14:25 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B8FF43FCB; Fri, 29 Aug 2003 11:14:24 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 01A673D28; Fri, 29 Aug 2003 14:14:23 -0400 (EDT) From: "Dan Langille" To: Tim Kientzle Date: Fri, 29 Aug 2003 14:15:30 -0400 MIME-Version: 1.0 Message-ID: <3F4F6002.11008.2A428E7D@localhost> Priority: normal In-reply-to: <3F4F966E.6030104@acm.org> References: <1062170238.1271.15.camel@blaze.homeip.net> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: freebsd-current@freebsd.org 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 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:14:25 -0000 On 29 Aug 2003 at 11:07, Tim Kientzle wrote: > >>>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 $ ./conftest Segmentation fault (core dumped) -- Dan Langille : http://www.langille.org/