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 <http://www.freebsddiary.org/tmp/config.log> > > 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 <stdio.h> > 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/Received on Fri Aug 29 2003 - 09:14:25 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC