Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Mel
On Tuesday 17 February 2009 01:09:34 Ivan Voras wrote: > Gilles wrote: > > On Tue, 17 Feb 2009 09:53:09 +0100, Gilles > > > > wrote: > >> BTW, here are the CFLAGS-related lines MySQL Server's Makefile: > > > > Using "make BUILD_OPTIMIZED=no" doesn't solve the issue :-/ > > > > In file included fro

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Ivan Voras
Gilles wrote: > On Tue, 17 Feb 2009 09:53:09 +0100, Gilles > wrote: >> BTW, here are the CFLAGS-related lines MySQL Server's Makefile: > > Using "make BUILD_OPTIMIZED=no" doesn't solve the issue :-/ > > In file included from item.h:2199, > from mysql_priv.h:589, >

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Gilles
On Tue, 17 Feb 2009 09:53:09 +0100, Gilles wrote: >BTW, here are the CFLAGS-related lines MySQL Server's Makefile: Using "make BUILD_OPTIMIZED=no" doesn't solve the issue :-/ In file included from item.h:2199, from mysql_priv.h:589, from ha_berkeley.cc:53: item_

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Gilles
On Tue, 17 Feb 2009 09:45:40 +0100, Gilles wrote: >How should I tell gcc to compile for either a PIII processor, or just >plain i386? BTW, here are the CFLAGS-related lines MySQL Server's Makefile: .if defined(WITH_LINUXTHREADS) CFLAGS+=-D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE CFLAGS+=

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Gilles
On Mon, 16 Feb 2009 11:32:46 -0900, Mel wrote: >If you have none in /etc/make.conf that's a good start. >If it still fails, then make sure BUILD_OPTIMIZED is unset. >Also comment any CPUTYPE variables in /etc/make.conf. Thanks again. I'm not really a developper, and don't know quite how to solve

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Mel
On Monday 16 February 2009 05:46:01 Gilles wrote: > On Mon, 16 Feb 2009 15:12:59 +0100, Ivan Voras > > wrote: > >If you have any CFLAGS set (the most common are those for CPU > >optimizations), disable them and try again. > > Thanks for the tip. Do you know which value I should set for this > swit

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Gilles
On Mon, 16 Feb 2009 15:12:59 +0100, Ivan Voras wrote: >If you have any CFLAGS set (the most common are those for CPU >optimizations), disable them and try again. Thanks for the tip. Do you know which value I should set for this switch, if at all? # dmesg | grep -i CPU CPU: Intel Pentium III (994

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Ivan Voras
Gilles wrote: > Hello > > I updated the Ports collection on this 6.3 host, but it fails > compiling MySQL Server 5.1: > > === > In file included from item.h:2428, > from mysql_priv.h:749, > from sql_profile.cc:32: > item_cmpfunc.h:1301: internal compiler erro